|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.openpgp.PGPKeyPair
org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyPair
A PGP key pair class that is constructed from JCA/JCE key pairs.
Field Summary |
Fields inherited from class org.bouncycastle.openpgp.PGPKeyPair |
priv, pub |
Constructor Summary | |
JcaPGPKeyPair(int version,
int algorithm,
java.security.KeyPair keyPair,
java.util.Date date)
Construct PGP key pair from a JCA/JCE key pair. |
|
JcaPGPKeyPair(int version,
int algorithm,
PGPAlgorithmParameters parameters,
java.security.KeyPair keyPair,
java.util.Date date)
Construct PGP key pair from a JCA/JCE key pair. |
|
JcaPGPKeyPair(int algorithm,
java.security.KeyPair keyPair,
java.util.Date date)
Deprecated. use versioned JcaPGPKeyPair(int, int, KeyPair, Date) instead |
|
JcaPGPKeyPair(int algorithm,
PGPAlgorithmParameters parameters,
java.security.KeyPair keyPair,
java.util.Date date)
Deprecated. use versioned JcaPGPKeyPair(int, int, PGPAlgorithmParameters, KeyPair, Date) instead |
Methods inherited from class org.bouncycastle.openpgp.PGPKeyPair |
asSubkey, getKeyID, getKeyIdentifier, getPrivateKey, getPublicKey |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JcaPGPKeyPair(int algorithm, java.security.KeyPair keyPair, java.util.Date date) throws PGPException
JcaPGPKeyPair(int, int, KeyPair, Date)
instead
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 version, int algorithm, java.security.KeyPair keyPair, java.util.Date date) throws PGPException
version
- key version.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
JcaPGPKeyPair(int, int, PGPAlgorithmParameters, KeyPair, Date)
instead
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.public JcaPGPKeyPair(int version, int algorithm, PGPAlgorithmParameters parameters, java.security.KeyPair keyPair, java.util.Date date) throws PGPException
version
- key version.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.
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |