Uses of Class
org.bouncycastle.openpgp.PGPException
-
Packages that use PGPException Package Description org.bouncycastle.gpg Parsing classes for the GPG V2 SExpr format and other utilites.org.bouncycastle.openpgp High level classes for dealing with OpenPGP objects.org.bouncycastle.openpgp.bc BC light weight based OpenPGP objects.org.bouncycastle.openpgp.examples Examples of use of the org.bouncycastle.openpgp package.org.bouncycastle.openpgp.jcajce JCA/JCE provider based OpenPGP objects.org.bouncycastle.openpgp.operator Interfaces and abstract classes to provide the framework to support operations on the OpenPGP high level classes.org.bouncycastle.openpgp.operator.bc BC lightweight operators for dealing with OpenPGP objects.org.bouncycastle.openpgp.operator.jcajce JCA/JCE based operators for dealing with OpenPGP objects. -
-
Uses of PGPException in org.bouncycastle.gpg
Methods in org.bouncycastle.gpg that throw PGPException Modifier and Type Method Description PGPSecretKey
SExprParser. parseSecretKey(InputStream inputStream, PBEProtectionRemoverFactory keyProtectionRemoverFactory, KeyFingerPrintCalculator fingerPrintCalculator)
Parse a secret key from one of the GPG S expression keys.PGPSecretKey
SExprParser. parseSecretKey(InputStream inputStream, PBEProtectionRemoverFactory keyProtectionRemoverFactory, PGPPublicKey pubKey)
Parse a secret key from one of the GPG S expression keys associating it with the passed in public key. -
Uses of PGPException in org.bouncycastle.openpgp
Subclasses of PGPException in org.bouncycastle.openpgp Modifier and Type Class Description class
PGPDataValidationException
Thrown if the iv at the start of a data stream indicates the wrong key is being used.class
PGPKeyValidationException
Thrown if the key checksum is invalid.Methods in org.bouncycastle.openpgp that throw PGPException Modifier and Type Method Description void
PGPKeyRingGenerator. addSubKey(PGPKeyPair keyPair)
Add a sub key to the key ring to be generated with default certification and inheriting the hashed/unhashed packets of the master key.void
PGPKeyRingGenerator. addSubKey(PGPKeyPair keyPair, PGPContentSignerBuilder bindingSignerBldr)
Add a sub key to the key ring to be generated with default certification and inheriting the hashed/unhashed packets of the master key.void
PGPKeyRingGenerator. addSubKey(PGPKeyPair keyPair, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks)
Add a subkey with specific hashed and unhashed packets associated with it and default certification.void
PGPKeyRingGenerator. addSubKey(PGPKeyPair keyPair, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder bindingSignerBldr)
Add a subkey with specific hashed and unhashed packets associated with it and default certification.boolean
PGPPublicKeyRingCollection. contains(byte[] fingerprint)
Return true if a key matching the passed in fingerprint is present, false otherwise.boolean
PGPPublicKeyRingCollection. contains(long keyID)
Return true if a key matching the passed in key ID is present, false otherwise.boolean
PGPSecretKeyRingCollection. contains(long keyID)
Return true if a key matching the passed in key ID is present, false otherwise.static PGPSecretKey
PGPSecretKey. copyWithNewPassword(PGPSecretKey key, PBESecretKeyDecryptor oldKeyDecryptor, PBESecretKeyEncryptor newKeyEncryptor)
Return a copy of the passed in secret key, encrypted using a new password and the passed in algorithm.static PGPSecretKeyRing
PGPSecretKeyRing. copyWithNewPassword(PGPSecretKeyRing ring, PBESecretKeyDecryptor oldKeyDecryptor, PBESecretKeyEncryptor newKeyEncryptor)
Return a copy of the passed in secret key ring, with the private keys (where present) associated with the master key and sub keys are encrypted using a new password and the passed in algorithm.PGPKeyPair
PGPSecretKey. extractKeyPair(PBESecretKeyDecryptor decryptorFactory)
Extract a PGPPrivate key from the SecretKey's encrypted contents.PGPPrivateKey
PGPSecretKey. extractPrivateKey(PBESecretKeyDecryptor decryptorFactory)
Extract a PGPPrivate key from the SecretKey's encrypted contents.PGPSignature
PGPSignatureGenerator. generate()
Return a signature object containing the current signature state.PGPSignature
PGPV3SignatureGenerator. generate()
Return a V3 signature object containing the current signature state.PGPSignature
PGPSignatureGenerator. generateCertification(String id, PGPPublicKey pubKey)
Generate a certification for the passed in id and key.PGPSignature
PGPSignatureGenerator. generateCertification(PGPPublicKey pubKey)
Generate a certification, such as a revocation, for the passed in key.PGPSignature
PGPSignatureGenerator. generateCertification(PGPPublicKey masterKey, PGPPublicKey pubKey)
Generate a certification for the passed in key against the passed in master key.PGPSignature
PGPSignatureGenerator. generateCertification(PGPUserAttributeSubpacketVector userAttributes, PGPPublicKey pubKey)
Generate a certification for the passed in userAttributesPGPOnePassSignature
PGPSignatureGenerator. generateOnePassVersion(boolean isNested)
Return the one pass header associated with the current signature.PGPOnePassSignature
PGPV3SignatureGenerator. generateOnePassVersion(boolean isNested)
Return the one pass header associated with the current signature.InputStream
PGPCompressedData. getDataStream()
Return an input stream that decompresses and returns data in the compressed packet.InputStream
PGPPBEEncryptedData. getDataStream(PBEDataDecryptorFactory dataDecryptorFactory)
Open an input stream which will provide the decrypted data protected by this object.InputStream
PGPPublicKeyEncryptedData. getDataStream(PublicKeyDataDecryptorFactory dataDecryptorFactory)
Open an input stream which will provide the decrypted data protected by this object.static String
PGPUtil. getDigestName(int hashAlgorithm)
Return an appropriate name for the hash algorithm represented by the passed in hash algorithm ID number.PGPSignatureList
PGPSignatureSubpacketVector. getEmbeddedSignatures()
Iterator<PGPPublicKeyRing>
PGPPublicKeyRingCollection. getKeyRings(String userID)
Return an iterator of the key rings associated with the passed in userID.Iterator<PGPPublicKeyRing>
PGPPublicKeyRingCollection. getKeyRings(String userID, boolean matchPartial)
Return an iterator of the key rings associated with the passed in userID.Iterator<PGPPublicKeyRing>
PGPPublicKeyRingCollection. getKeyRings(String userID, boolean matchPartial, boolean ignoreCase)
Return an iterator of the key rings associated with the passed in userID.Iterator<PGPSecretKeyRing>
PGPSecretKeyRingCollection. getKeyRings(String userID)
Return an iterator of the key rings associated with the passed in userID.Iterator<PGPSecretKeyRing>
PGPSecretKeyRingCollection. getKeyRings(String userID, boolean matchPartial)
Return an iterator of the key rings associated with the passed in userID.Iterator<PGPSecretKeyRing>
PGPSecretKeyRingCollection. getKeyRings(String userID, boolean matchPartial, boolean ignoreCase)
Return an iterator of the key rings associated with the passed in userID.PGPPublicKey
PGPPublicKeyRingCollection. getPublicKey(byte[] fingerprint)
Return the PGP public key associated with the given key fingerprint.PGPPublicKey
PGPPublicKeyRingCollection. getPublicKey(long keyID)
Return the PGP public key associated with the given key id.PGPPublicKeyRing
PGPPublicKeyRingCollection. getPublicKeyRing(byte[] fingerprint)
Return the PGP public key associated with the given key fingerprint.PGPPublicKeyRing
PGPPublicKeyRingCollection. getPublicKeyRing(long keyID)
Return the public key ring which contains the key referred to by keyID.PGPSecretKey
PGPSecretKeyRingCollection. getSecretKey(long keyID)
Return the PGP secret key associated with the given key id.PGPSecretKeyRing
PGPSecretKeyRingCollection. getSecretKeyRing(long keyID)
Return the secret key ring which contains the key referred to by keyID.byte[]
PGPSignature. getSignature()
static String
PGPUtil. getSignatureName(int keyAlgorithm, int hashAlgorithm)
Return an appropriate name for the signature algorithm represented by the passed in public key and hash algorithm ID numbers.int
PGPPBEEncryptedData. getSymmetricAlgorithm(PBEDataDecryptorFactory dataDecryptorFactory)
Return the symmetric key algorithm required to decrypt the data protected by this object.int
PGPPublicKeyEncryptedData. getSymmetricAlgorithm(PublicKeyDataDecryptorFactory dataDecryptorFactory)
Return the symmetric key algorithm required to decrypt the data protected by this object.void
PGPOnePassSignature. init(PGPContentVerifierBuilderProvider verifierBuilderProvider, PGPPublicKey pubKey)
Initialise the signature object for verification.void
PGPSignature. init(PGPContentVerifierBuilderProvider verifierBuilderProvider, PGPPublicKey pubKey)
void
PGPSignatureGenerator. init(int signatureType, PGPPrivateKey key)
Initialise the generator for signing.void
PGPV3SignatureGenerator. init(int signatureType, PGPPrivateKey key)
Initialise the generator for signing.static byte[]
PGPUtil. makeRandomKey(int algorithm, SecureRandom random)
Generates a random key for asymmetric encryption algorithm
.OutputStream
PGPCompressedDataGenerator. open(OutputStream out, byte[] buffer)
Return an OutputStream which will compress the data as it is written to it.OutputStream
PGPEncryptedDataGenerator. open(OutputStream out, byte[] buffer)
Create an OutputStream which will encrypt the data as it is written to it.OutputStream
PGPEncryptedDataGenerator. open(OutputStream out, long length)
Create an OutputStream based on the configured methods to write a single encrypted object of known length.static PGPSecretKey
PGPSecretKey. parseSecretKeyFromSExpr(InputStream inputStream, PBEProtectionRemoverFactory keyProtectionRemoverFactory, KeyFingerPrintCalculator fingerPrintCalculator)
Deprecated.use org.bouncycastle.gpg.SExprParser - it will also allow you to verify the protection checksum if it is available.static PGPSecretKey
PGPSecretKey. parseSecretKeyFromSExpr(InputStream inputStream, PBEProtectionRemoverFactory keyProtectionRemoverFactory, PGPPublicKey pubKey)
Deprecated.use org.bouncycastle.gpg.SExprParser - it will also allow you to verify the protection checksum if it is available.boolean
PGPEncryptedData. verify()
Verifies the integrity of the packet against the modification detection code associated with it in the stream.boolean
PGPOnePassSignature. verify(PGPSignature pgpSig)
Verify the calculated signature against the passed in PGPSignature.boolean
PGPSignature. verify()
boolean
PGPSignature. verifyCertification(byte[] rawID, PGPPublicKey key)
Verify the signature as certifying the passed in public key as associated with the passed in rawID.boolean
PGPSignature. verifyCertification(String id, PGPPublicKey key)
Verify the signature as certifying the passed in public key as associated with the passed in id.boolean
PGPSignature. verifyCertification(PGPPublicKey pubKey)
Verify a key certification, such as a revocation, for the passed in key.boolean
PGPSignature. verifyCertification(PGPPublicKey masterKey, PGPPublicKey pubKey)
Verify a certification for the passed in key against the passed in master key.boolean
PGPSignature. verifyCertification(PGPUserAttributeSubpacketVector userAttributes, PGPPublicKey key)
Verify the signature as certifying the passed in public key as associated with the passed in user attributes.Constructors in org.bouncycastle.openpgp that throw PGPException Constructor Description PGPKeyRingGenerator(int certificationLevel, PGPKeyPair masterKey, String id, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder keySignerBuilder, PBESecretKeyEncryptor keyEncryptor)
Create a new key ring generator.PGPKeyRingGenerator(PGPSecretKeyRing originalSecretRing, PBESecretKeyDecryptor secretKeyDecryptor, PGPDigestCalculator checksumCalculator, PGPContentSignerBuilder keySignerBuilder, PBESecretKeyEncryptor keyEncryptor)
Create a new key ring generator based on an original secret key ring.PGPPublicKey(PublicKeyPacket publicKeyPacket, KeyFingerPrintCalculator fingerPrintCalculator)
Create a PGP public key from a packet descriptor using the passed in fingerPrintCalculator to do calculate the fingerprint and keyID.PGPPublicKeyRingCollection(byte[] encoding, KeyFingerPrintCalculator fingerPrintCalculator)
PGPPublicKeyRingCollection(InputStream in, KeyFingerPrintCalculator fingerPrintCalculator)
Build a PGPPublicKeyRingCollection from the passed in input stream.PGPPublicKeyRingCollection(Collection<PGPPublicKeyRing> collection)
PGPSecretKey(int certificationLevel, PGPKeyPair keyPair, String id, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)
Construct a PGPSecretKey using the passed in private/public key pair and binding it to the passed in id using a generated certification of certificationLevel.PGPSecretKey(int certificationLevel, PGPKeyPair keyPair, String id, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)
Construct a PGPSecretKey using the passed in private/public key pair and binding it to the passed in id using a generated certification of certificationLevel.The secret key checksum is calculated using the original non-digest based checksum.PGPSecretKey(PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)
Construct a PGPSecretKey sub-key using the passed in private/public key pair and binding it to the master key pair.PGPSecretKey(PGPKeyPair masterKeyPair, PGPKeyPair keyPair, PGPDigestCalculator checksumCalculator, PGPSignatureSubpacketVector hashedPcks, PGPSignatureSubpacketVector unhashedPcks, PGPContentSignerBuilder certificationSignerBuilder, PBESecretKeyEncryptor keyEncryptor)
Construct a PGPSecretKey sub-key using the passed in private/public key pair and binding it to the master key pair.PGPSecretKey(PGPPrivateKey privKey, PGPPublicKey pubKey, PGPDigestCalculator checksumCalculator, boolean isMasterKey, PBESecretKeyEncryptor keyEncryptor)
Construct a PGPSecretKey using the passed in private key and public key.PGPSecretKeyRing(byte[] encoding, KeyFingerPrintCalculator fingerPrintCalculator)
PGPSecretKeyRing(InputStream in, KeyFingerPrintCalculator fingerPrintCalculator)
PGPSecretKeyRingCollection(byte[] encoding, KeyFingerPrintCalculator fingerPrintCalculator)
PGPSecretKeyRingCollection(InputStream in, KeyFingerPrintCalculator fingerPrintCalculator)
Build a PGPSecretKeyRingCollection from the passed in input stream.PGPSecretKeyRingCollection(Collection<PGPSecretKeyRing> collection)
-
Uses of PGPException in org.bouncycastle.openpgp.bc
Constructors in org.bouncycastle.openpgp.bc that throw PGPException Constructor Description BcPGPPublicKeyRingCollection(byte[] encoding)
BcPGPPublicKeyRingCollection(InputStream in)
BcPGPPublicKeyRingCollection(Collection collection)
BcPGPSecretKeyRing(byte[] encoding)
BcPGPSecretKeyRing(InputStream in)
BcPGPSecretKeyRingCollection(byte[] encoding)
BcPGPSecretKeyRingCollection(InputStream in)
BcPGPSecretKeyRingCollection(Collection collection)
-
Uses of PGPException in org.bouncycastle.openpgp.examples
Methods in org.bouncycastle.openpgp.examples that throw PGPException Modifier and Type Method Description static byte[]
ByteArrayHandler. decrypt(byte[] encrypted, char[] passPhrase)
decrypt the passed in message streamstatic byte[]
ByteArrayHandler. encrypt(byte[] clearData, char[] passPhrase, String fileName, int algorithm, boolean armor)
Simple PGP encryptor between byte[]. -
Uses of PGPException in org.bouncycastle.openpgp.jcajce
Constructors in org.bouncycastle.openpgp.jcajce that throw PGPException Constructor Description JcaPGPPublicKeyRingCollection(byte[] encoding)
JcaPGPPublicKeyRingCollection(InputStream in)
JcaPGPPublicKeyRingCollection(Collection collection)
JcaPGPSecretKeyRing(byte[] encoding)
JcaPGPSecretKeyRing(InputStream in)
JcaPGPSecretKeyRingCollection(byte[] encoding)
JcaPGPSecretKeyRingCollection(InputStream in)
JcaPGPSecretKeyRingCollection(Collection collection)
-
Uses of PGPException in org.bouncycastle.openpgp.operator
Methods in org.bouncycastle.openpgp.operator that throw PGPException Modifier and Type Method Description PGPContentSigner
PGPContentSignerBuilder. build(int signatureType, PGPPrivateKey privateKey)
PGPContentVerifier
PGPContentVerifierBuilder. build(PGPPublicKey publicKey)
PGPDataEncryptor
PGPDataEncryptorBuilder. build(byte[] keyBytes)
Builds a data encryptor using the algorithm configured for this builder.byte[]
KeyFingerPrintCalculator. calculateFingerprint(PublicKeyPacket publicPk)
PGPDataDecryptor
PGPDataDecryptorFactory. createDataDecryptor(boolean withIntegrityPacket, int encAlgorithm, byte[] key)
Constructs a data decryptor.PBESecretKeyDecryptor
PBEProtectionRemoverFactory. createDecryptor(String protection)
byte[]
RFC6637KDFCalculator. createKey(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOID, org.bouncycastle.math.ec.ECPoint s, byte[] recipientFingerPrint)
Deprecated.static byte[]
RFC6637Utils. createUserKeyingMaterial(PublicKeyPacket pubKeyData, KeyFingerPrintCalculator fingerPrintCalculator)
byte[]
PBESecretKeyEncryptor. encryptKeyData(byte[] key, byte[] iv, byte[] keyData, int keyOff, int keyLen)
Encrypt the passed in keyData using the key and the iv provided.abstract byte[]
PBESecretKeyEncryptor. encryptKeyData(byte[] key, byte[] keyData, int keyOff, int keyLen)
byte[]
PBESecretKeyEncryptor. encryptKeyData(byte[] keyData, int keyOff, int keyLen)
Key encryption method invoked for V4 keys and greater.protected abstract byte[]
PBEKeyEncryptionMethodGenerator. encryptSessionInfo(int encAlgorithm, byte[] key, byte[] sessionInfo)
protected abstract byte[]
PublicKeyKeyEncryptionMethodGenerator. encryptSessionInfo(PGPPublicKey pubKey, byte[] sessionInfo)
ContainedPacket
PBEKeyEncryptionMethodGenerator. generate(int encAlgorithm, byte[] sessionInfo)
abstract ContainedPacket
PGPKeyEncryptionMethodGenerator. generate(int encAlgorithm, byte[] sessionInfo)
Generates a packet encoding the details of this encryption method.ContainedPacket
PublicKeyKeyEncryptionMethodGenerator. generate(int encAlgorithm, byte[] sessionInfo)
PGPContentVerifierBuilder
PGPContentVerifierBuilderProvider. get(int keyAlgorithm, int hashAlgorithm)
PGPDigestCalculator
PGPDigestCalculatorProvider. get(int algorithm)
Construct a new instance of a cryptographic digest.PGPDigestCalculator
PBESecretKeyDecryptor. getChecksumCalculator(int hashAlgorithm)
byte[]
PBEKeyEncryptionMethodGenerator. getKey(int encAlgorithm)
Generate a key for a symmetric encryption algorithm using the PBE configuration in this method.byte[]
PBESecretKeyEncryptor. getKey()
static org.bouncycastle.asn1.ASN1ObjectIdentifier
RFC6637Utils. getKeyEncryptionOID(int algID)
byte[]
PBEDataDecryptorFactory. makeKeyFromPassPhrase(int keyAlgorithm, S2K s2k)
Generates an encryption key using the pass phrase and digest calculator configured for this factory.byte[]
PBESecretKeyDecryptor. makeKeyFromPassPhrase(int keyAlgorithm, S2K s2k)
byte[][]
PublicKeyKeyEncryptionMethodGenerator. processSessionInfo(byte[] encryptedSessionInfo)
abstract byte[]
PBESecretKeyDecryptor. recoverKeyData(int encAlgorithm, byte[] key, byte[] iv, byte[] keyData, int keyOff, int keyLen)
abstract byte[]
PBEDataDecryptorFactory. recoverSessionData(int keyAlgorithm, byte[] key, byte[] seckKeyData)
Decrypts session data from an encrypted data packet.byte[]
PublicKeyDataDecryptorFactory. recoverSessionData(int keyAlgorithm, byte[][] secKeyData)
static byte[]
PGPPad. unpadSessionData(byte[] encoded)
-
Uses of PGPException in org.bouncycastle.openpgp.operator.bc
Methods in org.bouncycastle.openpgp.operator.bc that throw PGPException Modifier and Type Method Description PGPContentSigner
BcPGPContentSignerBuilder. build(int signatureType, PGPPrivateKey privateKey)
PGPDataEncryptor
BcPGPDataEncryptorBuilder. build(byte[] keyBytes)
byte[]
BcKeyFingerprintCalculator. calculateFingerprint(PublicKeyPacket publicPk)
PGPDataDecryptor
BcPBEDataDecryptorFactory. createDataDecryptor(boolean withIntegrityPacket, int encAlgorithm, byte[] key)
PGPDataDecryptor
BcPublicKeyDataDecryptorFactory. createDataDecryptor(boolean withIntegrityPacket, int encAlgorithm, byte[] key)
protected byte[]
BcPBEKeyEncryptionMethodGenerator. encryptSessionInfo(int encAlgorithm, byte[] key, byte[] sessionInfo)
protected byte[]
BcPublicKeyKeyEncryptionMethodGenerator. encryptSessionInfo(PGPPublicKey pubKey, byte[] sessionInfo)
PGPContentVerifierBuilder
BcPGPContentVerifierBuilderProvider. get(int keyAlgorithm, int hashAlgorithm)
PGPDigestCalculator
BcPGPDigestCalculatorProvider. get(int algorithm)
PGPPrivateKey
BcPGPKeyConverter. getPGPPrivateKey(PGPPublicKey pubKey, org.bouncycastle.crypto.params.AsymmetricKeyParameter privKey)
PGPPublicKey
BcPGPKeyConverter. getPGPPublicKey(int algorithm, PGPAlgorithmParameters algorithmParameters, org.bouncycastle.crypto.params.AsymmetricKeyParameter pubKey, Date time)
Create a PGPPublicKey from the passed in JCA one.org.bouncycastle.crypto.params.AsymmetricKeyParameter
BcPGPKeyConverter. getPrivateKey(PGPPrivateKey privKey)
org.bouncycastle.crypto.params.AsymmetricKeyParameter
BcPGPKeyConverter. getPublicKey(PGPPublicKey publicKey)
byte[]
BcPBEDataDecryptorFactory. recoverSessionData(int keyAlgorithm, byte[] key, byte[] secKeyData)
byte[]
BcPublicKeyDataDecryptorFactory. recoverSessionData(int keyAlgorithm, byte[][] secKeyData)
Constructors in org.bouncycastle.openpgp.operator.bc that throw PGPException Constructor Description BcPGPKeyPair(int algorithm, org.bouncycastle.crypto.AsymmetricCipherKeyPair keyPair, Date date)
BcPGPKeyPair(int algorithm, PGPAlgorithmParameters parameters, org.bouncycastle.crypto.AsymmetricCipherKeyPair keyPair, Date date)
-
Uses of PGPException in org.bouncycastle.openpgp.operator.jcajce
Methods in org.bouncycastle.openpgp.operator.jcajce that throw PGPException Modifier and Type Method Description PGPContentSigner
JcaPGPContentSignerBuilder. build(int signatureType, long keyID, PrivateKey privateKey)
PGPContentSigner
JcaPGPContentSignerBuilder. build(int signatureType, PGPPrivateKey privateKey)
PGPDigestCalculatorProvider
JcaPGPDigestCalculatorProviderBuilder. build()
Constructs a new PGPDigestCalculatorProviderPBESecretKeyDecryptor
JcePBESecretKeyDecryptorBuilder. build(char[] passPhrase)
PGPDataEncryptor
JcePGPDataEncryptorBuilder. build(byte[] keyBytes)
byte[]
JcaKeyFingerprintCalculator. calculateFingerprint(PublicKeyPacket publicPk)
PBESecretKeyDecryptor
JcePBEProtectionRemoverFactory. createDecryptor(String protection)
protected byte[]
JcePBEKeyEncryptionMethodGenerator. encryptSessionInfo(int encAlgorithm, byte[] key, byte[] sessionInfo)
protected byte[]
JcePublicKeyKeyEncryptionMethodGenerator. encryptSessionInfo(PGPPublicKey pubKey, byte[] sessionInfo)
PGPContentVerifierBuilder
JcaPGPContentVerifierBuilderProvider. get(int keyAlgorithm, int hashAlgorithm)
PGPPrivateKey
JcaPGPKeyConverter. getPGPPrivateKey(PGPPublicKey pub, PrivateKey privKey)
Convert a PrivateKey into a PGPPrivateKey.PGPPublicKey
JcaPGPKeyConverter. getPGPPublicKey(int algorithm, PublicKey pubKey, Date time)
Create a PGPPublicKey from the passed in JCA one.PGPPublicKey
JcaPGPKeyConverter. getPGPPublicKey(int algorithm, PGPAlgorithmParameters algorithmParameters, PublicKey pubKey, Date time)
Create a PGPPublicKey from the passed in JCA one.PrivateKey
JcaPGPKeyConverter. getPrivateKey(PGPPrivateKey privKey)
PublicKey
JcaPGPKeyConverter. getPublicKey(PGPPublicKey publicKey)
Constructors in org.bouncycastle.openpgp.operator.jcajce that throw PGPException Constructor Description JcaPGPKeyPair(int algorithm, KeyPair keyPair, Date date)
Construct PGP key pair from a JCA/JCE key pair.JcaPGPKeyPair(int algorithm, PGPAlgorithmParameters parameters, KeyPair keyPair, Date date)
Construct PGP key pair from a JCA/JCE key pair.
-