| Modifier and Type | Class and Description |
|---|---|
| private static interface | |
| private static interface |
| Modifier and Type | Field and Description |
|---|---|
| private KeyFingerPrintCalculator | |
| private OperatorHelper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private PublicKey | |
| private PublicKey | |
| private ECParameterSpec | |
| private ASN1Encodable | |
| public PGPPrivateKey | Returns: a PGPPrivateKeythe corresponding PGPPublicKey to privKey. pub, PrivateKey the private key for the key in pub. privKey)Convert a PrivateKey into a PGPPrivateKey. |
| public PGPPublicKey | getPGPPublicKey(int
asymmetric algorithm type representing the public key. algorithm, PGPAlgorithmParameters additional parameters to be stored against the public key. algorithmParameters, PublicKey actual public key to associate. pubKey, Date date of creation. time)
Deprecated
use versioned
getPGPPublicKey(int, int, PGPAlgorithmParameters, PublicKey, 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 additional parameters to be stored against the public key. algorithmParameters, PublicKey actual public key to associate. pubKey, Date date of creation. time)Create a PGPPublicKey from the passed in JCA one. |
| public PGPPublicKey | getPGPPublicKey(int
asymmetric algorithm type representing the public key. algorithm, PublicKey actual public key to associate. pubKey, Date date of creation. time)
Deprecated
use versioned
getPGPPublicKey(int, int, PublicKey, 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, PublicKey actual public key to associate. pubKey, Date date of creation. time)Create a PGPPublicKey from the passed in JCA one. |
| private byte[] | |
| private BCPGKey | |
| private BCPGKey | |
| public PrivateKey | |
| private BCPGKey | |
| private BCPGKey | |
| public PublicKey | |
| private PrivateKey | |
| private PrivateKey | |
| private PublicKey | |
| private PrivateKey | |
| private PublicKey | |
| private PublicKey | |
| public JcaPGPKeyConverter | |
| public JcaPGPKeyConverter |
| fingerPrintCalculator | back to summary |
|---|---|
| private KeyFingerPrintCalculator fingerPrintCalculator | |
| helper | back to summary |
|---|---|
| private OperatorHelper helper | |
| JcaPGPKeyConverter | back to summary |
|---|---|
| public JcaPGPKeyConverter() | |
| get25519PublicKey | back to summary |
|---|---|
| private PublicKey get25519PublicKey(BigInteger x, ASN1ObjectIdentifier algorithm, String keyAlgorithm, String name) throws PGPException, GeneralSecurityException, IOException | |
| get448PublicKey | back to summary |
|---|---|
| private PublicKey get448PublicKey(BigInteger x, ASN1ObjectIdentifier algorithm, String keyAlgorithm, String name) throws PGPException, GeneralSecurityException, IOException | |
| getECParameterSpec | back to summary |
|---|---|
| private ECParameterSpec getECParameterSpec(ASN1ObjectIdentifier curveOid) throws IOException, GeneralSecurityException | |
| getNamedCurveOID | back to summary |
|---|---|
| private ASN1Encodable getNamedCurveOID(X962Parameters ecParams) | |
| getPGPPrivateKey | back to summary |
|---|---|
| public PGPPrivateKey getPGPPrivateKey(PGPPublicKey pub, PrivateKey privKey) throws PGPException Convert a PrivateKey into a PGPPrivateKey.
| |
| getPGPPublicKey | back to summary |
|---|---|
| public PGPPublicKey getPGPPublicKey(int algorithm, PGPAlgorithmParameters algorithmParameters, PublicKey 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, PublicKey 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.
| |
| getPGPPublicKey | back to summary |
|---|---|
| public PGPPublicKey getPGPPublicKey(int algorithm, PublicKey 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, PublicKey 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.
| |
| getPointEncUncompressed | back to summary |
|---|---|
| private byte[] getPointEncUncompressed(PublicKey pubKey, int publicKeySize) | |
| getPrivateBCPGKey | back to summary |
|---|---|
| private BCPGKey getPrivateBCPGKey(PrivateKey privKey, JcaPGPKeyConverter. | |
| getPrivateBCPGKey | back to summary |
|---|---|
| private BCPGKey getPrivateBCPGKey(PGPPublicKey pub, PrivateKey privKey) throws PGPException | |
| getPrivateKey | back to summary |
|---|---|
| public PrivateKey getPrivateKey(PGPPrivateKey privKey) throws PGPException | |
| getPublicBCPGKey | back to summary |
|---|---|
| private BCPGKey getPublicBCPGKey(int algorithm, PGPAlgorithmParameters algorithmParameters, PublicKey pubKey) throws PGPException | |
| getPublicBCPGKey | back to summary |
|---|---|
| private BCPGKey getPublicBCPGKey(PublicKey pubKey, int keySize, JcaPGPKeyConverter. | |
| getPublicKey | back to summary |
|---|---|
| public PublicKey getPublicKey(PGPPublicKey publicKey) throws PGPException | |
| implGeneratePrivate | back to summary |
|---|---|
| private PrivateKey implGeneratePrivate(String keyAlgorithm, JcaPGPKeyConverter. | |
| implGeneratePrivate | back to summary |
|---|---|
| private PrivateKey implGeneratePrivate(String keyAlgorithm, KeySpec keySpec) throws GeneralSecurityException, PGPException | |
| implGeneratePublic | back to summary |
|---|---|
| private PublicKey implGeneratePublic(String keyAlgorithm, KeySpec keySpec) throws GeneralSecurityException, PGPException | |
| implGetPrivateKeyEC | back to summary |
|---|---|
| private PrivateKey implGetPrivateKeyEC(String keyAlgorithm, ECPublicBCPGKey ecPub, ECSecretBCPGKey ecPriv) throws GeneralSecurityException, PGPException, IOException | |
| implGetPublicKeyEC | back to summary |
|---|---|
| private PublicKey implGetPublicKeyEC(String keyAlgorithm, ECPublicBCPGKey ecPub) throws GeneralSecurityException, IOException, PGPException | |
| implGetPublicKeyX509 | back to summary |
|---|---|
| private PublicKey implGetPublicKeyX509(byte[] pEnc, int pEncOff, ASN1ObjectIdentifier algorithm, String keyAlgorithm) throws IOException, PGPException, GeneralSecurityException | |
| setProvider | back to summary |
|---|---|
| public JcaPGPKeyConverter setProvider(Provider provider) | |
| setProvider | back to summary |
|---|---|
| public JcaPGPKeyConverter setProvider(String providerName) | |
| Modifier and Type | Method and Description |
|---|---|
| public BCPGKey |
| getBCPGKey | back to summary |
|---|---|
| public BCPGKey getBCPGKey(byte[] key) | |
| Modifier and Type | Method and Description |
|---|---|
| public PrivateKeyInfo |
| getPrivateKeyInfos | back to summary |
|---|---|
| public PrivateKeyInfo getPrivateKeyInfos() throws IOException | |