| Access | Constructor and Description |
|---|---|
| public | JcaPGPKeyPair(int
the PGP algorithm the key is for. algorithm, KeyPair the public/private key pair to convert. keyPair, Date the creation date to associate with the key pair. date)
Deprecated
use versioned
JcaPGPKeyPair(int, int, KeyPair, Date) instead
Construct version 4 PGP key pair from a JCA/JCE key pair. |
| public | JcaPGPKeyPair(int
key version. version, int the PGP algorithm the key is for. algorithm, KeyPair the public/private key pair to convert. keyPair, Date the creation date to associate with the key pair. date)Construct PGP key pair from a JCA/JCE key pair. |
| public | JcaPGPKeyPair(int
the PGP algorithm the key is for. algorithm, PGPAlgorithmParameters additional parameters to be stored against the public key. parameters, KeyPair the public/private key pair to convert. keyPair, Date the creation date to associate with the key pair. date)
Deprecated
use versioned
JcaPGPKeyPair(int, int, PGPAlgorithmParameters, KeyPair, Date) instead
Construct version 4 PGP key pair from a JCA/JCE key pair. |
| public | JcaPGPKeyPair(int
key version. version, int the PGP algorithm the key is for. algorithm, PGPAlgorithmParameters additional parameters to be stored against the public key. parameters, KeyPair the public/private key pair to convert. keyPair, Date the creation date to associate with the key pair. date)Construct PGP key pair from a JCA/JCE key pair. |
| Modifier and Type | Method and Description |
|---|---|
| private static PGPPrivateKey | |
| private static PGPPublicKey | |
| private static PGPPublicKey | |
| private static PGPPublicKey | getPublicKey(int algorithm, PGPAlgorithmParameters algorithmParameters, PublicKey pubKey, Date date)
Deprecated
|
| private static PGPPublicKey | getPublicKey(int version, int algorithm, PGPAlgorithmParameters algorithmParameters, PublicKey pubKey, Date date)
|
| JcaPGPKeyPair | back to summary |
|---|---|
| public JcaPGPKeyPair(int algorithm, KeyPair keyPair, Date date) throws PGPException
Deprecated use versioned Construct version 4 PGP key pair from a JCA/JCE key pair.
| |
| JcaPGPKeyPair | back to summary |
|---|---|
| public JcaPGPKeyPair(int version, int algorithm, KeyPair keyPair, Date date) throws PGPException Construct PGP key pair from a JCA/JCE key pair.
| |
| JcaPGPKeyPair | back to summary |
|---|---|
| public JcaPGPKeyPair(int algorithm, PGPAlgorithmParameters parameters, KeyPair keyPair, Date date) throws PGPException
Deprecated use versioned Construct version 4 PGP key pair from a JCA/JCE key pair.
| |
| JcaPGPKeyPair | back to summary |
|---|---|
| public JcaPGPKeyPair(int version, int algorithm, PGPAlgorithmParameters parameters, KeyPair keyPair, Date date) throws PGPException Construct PGP key pair from a JCA/JCE key pair.
| |
| getPrivateKey | back to summary |
|---|---|
| private static PGPPrivateKey getPrivateKey(PGPPublicKey pub, PrivateKey privKey) throws PGPException | |
| getPublicKey | back to summary |
|---|---|
| private static PGPPublicKey getPublicKey(int algorithm, PublicKey pubKey, Date date) throws PGPException
Deprecated
| |
| getPublicKey | back to summary |
|---|---|
| private static PGPPublicKey getPublicKey(int version, int algorithm, PublicKey pubKey, Date date) throws PGPException | |
| getPublicKey | back to summary |
|---|---|
| private static PGPPublicKey getPublicKey(int algorithm, PGPAlgorithmParameters algorithmParameters, PublicKey pubKey, Date date) throws PGPException
Deprecated
| |
| getPublicKey | back to summary |
|---|---|
| private static PGPPublicKey getPublicKey(int version, int algorithm, PGPAlgorithmParameters algorithmParameters, PublicKey pubKey, Date date) throws PGPException | |