public class JcaPGPKeyPair extends PGPKeyPair
priv, pub| Constructor | Description |
|---|---|
JcaPGPKeyPair(int algorithm,
java.security.KeyPair keyPair,
java.util.Date date) |
Construct PGP key pair from a JCA/JCE key pair.
|
JcaPGPKeyPair(int algorithm,
PGPAlgorithmParameters parameters,
java.security.KeyPair keyPair,
java.util.Date date) |
Construct PGP key pair from a JCA/JCE key pair.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKeyID, getPrivateKey, getPublicKeypublic JcaPGPKeyPair(int algorithm,
java.security.KeyPair keyPair,
java.util.Date date)
throws PGPException
algorithm - the PGP algorithm the key is for.keyPair - the public/private key pair to convert.date - the creation date to associate with the key pair.PGPException - if conversion fails.public JcaPGPKeyPair(int algorithm,
PGPAlgorithmParameters parameters,
java.security.KeyPair keyPair,
java.util.Date date)
throws PGPException
algorithm - the PGP algorithm the key is for.parameters - additional parameters to be stored against the public key.keyPair - the public/private key pair to convert.date - the creation date to associate with the key pair.PGPException - if conversion fails.