| 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)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)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 | getPublicKey(int algorithm, PGPAlgorithmParameters algorithmParameters, PublicKey pubKey, Date date)
|
| JcaPGPKeyPair | back to summary |
|---|---|
| public JcaPGPKeyPair(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 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 | |
| getPublicKey | back to summary |
|---|---|
| private static PGPPublicKey getPublicKey(int algorithm, PGPAlgorithmParameters algorithmParameters, PublicKey pubKey, Date date) throws PGPException | |