| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PGPPrivateKey | |
| public PGPPublicKey | getPGPPublicKey(int
asymmetric algorithm type representing the public key. algorithm, PGPAlgorithmParameters algorithmParameters, AsymmetricKeyParameter actual public key to associate. pubKey, Date date of creation. time)
Deprecated
use versioned
getPGPPublicKey(int, int, PGPAlgorithmParameters, AsymmetricKeyParameter, Date) instead
Create a version 4 PGPPublicKey from the passed in JCA one. |
| public PGPPublicKey | getPGPPublicKey(int
key version. version, int asymmetric algorithm type representing the public key. algorithm, PGPAlgorithmParameters algorithmParameters, AsymmetricKeyParameter actual public key to associate. pubKey, Date date of creation. time)Create a PGPPublicKey from the passed in JCA one. |
| private BCPGKey | |
| public AsymmetricKeyParameter | |
| private BCPGKey | getPublicBCPGKey(int algorithm, PGPAlgorithmParameters algorithmParameters, AsymmetricKeyParameter pubKey)
|
| public AsymmetricKeyParameter | |
| private ECNamedDomainParameters | |
| private AsymmetricKeyParameter | |
| private AsymmetricKeyParameter | |
| private AsymmetricKeyParameter | |
| private AsymmetricKeyParameter | |
| private AsymmetricKeyParameter |
| BcPGPKeyConverter | back to summary |
|---|---|
| public BcPGPKeyConverter() | |
| getPGPPrivateKey | back to summary |
|---|---|
| public PGPPrivateKey getPGPPrivateKey(PGPPublicKey pubKey, AsymmetricKeyParameter privKey) throws PGPException | |
| getPGPPublicKey | back to summary |
|---|---|
| public PGPPublicKey getPGPPublicKey(int algorithm, PGPAlgorithmParameters algorithmParameters, AsymmetricKeyParameter pubKey, Date time) throws PGPException
Deprecated use versioned Create a version 4 PGPPublicKey from the passed in JCA one. Note the time passed in affects the value of the key's keyID, so you probably only want to do this once for a JCA key, or make sure you keep track of the time you used.
| |
| getPGPPublicKey | back to summary |
|---|---|
| public PGPPublicKey getPGPPublicKey(int version, int algorithm, PGPAlgorithmParameters algorithmParameters, AsymmetricKeyParameter pubKey, Date time) throws PGPException Create a PGPPublicKey from the passed in JCA one. Note the time passed in affects the value of the key's keyID, so you probably only want to do this once for a JCA key, or make sure you keep track of the time you used.
| |
| getPrivateBCPGKey | back to summary |
|---|---|
| private BCPGKey getPrivateBCPGKey(PGPPublicKey pubKey, AsymmetricKeyParameter privKey) throws PGPException | |
| getPrivateKey | back to summary |
|---|---|
| public AsymmetricKeyParameter getPrivateKey(PGPPrivateKey privKey) throws PGPException | |
| getPublicBCPGKey | back to summary |
|---|---|
| private BCPGKey getPublicBCPGKey(int algorithm, PGPAlgorithmParameters algorithmParameters, AsymmetricKeyParameter pubKey) throws PGPException | |
| getPublicKey | back to summary |
|---|---|
| public AsymmetricKeyParameter getPublicKey(PGPPublicKey publicKey) throws PGPException | |
| implGetParametersEC | back to summary |
|---|---|
| private ECNamedDomainParameters implGetParametersEC(ECPublicBCPGKey ecPub) | |
| implGetPrivateKeyEC | back to summary |
|---|---|
| private AsymmetricKeyParameter implGetPrivateKeyEC(ECPublicBCPGKey ecPub, ECSecretBCPGKey ecPriv) throws PGPException | |
| implGetPrivateKeyPKCS8 | back to summary |
|---|---|
| private AsymmetricKeyParameter implGetPrivateKeyPKCS8(ASN1ObjectIdentifier algorithm, int keySize, BCPGKey privPk) throws IOException | |
| implGetPublicKeyEC | back to summary |
|---|---|
| private AsymmetricKeyParameter implGetPublicKeyEC(ECPublicBCPGKey ecPub) throws PGPException | |
| implGetPublicKeyX509 | back to summary |
|---|---|
| private AsymmetricKeyParameter implGetPublicKeyX509(OctetArrayBCPGKey eddsaK, ASN1ObjectIdentifier algorithm) throws IOException | |
| implGetPublicKeyX509 | back to summary |
|---|---|
| private AsymmetricKeyParameter implGetPublicKeyX509(ASN1ObjectIdentifier algorithm, byte[] pEnc, int pEncOff) throws IOException | |