Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
PGPEncryptedDataGenerator.addMethod(char[] passPhrase)
Deprecated.
use addMethod that takes PGPKeyEncryptionMethodGenerator
|
void |
PGPEncryptedDataGenerator.addMethod(char[] passPhrase,
int s2kDigest)
Deprecated.
use addMethod that takes PGPKeyEncryptionMethodGenerator
|
void |
PGPEncryptedDataGenerator.addMethod(PGPPublicKey key)
Deprecated.
use addMethod that takes PGPKeyEncryptionMethodGenerator
|
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,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks)
Add a subkey with specific hashed and unhashed packets associated with it and default
certification.
|
boolean |
PGPSecretKeyRingCollection.contains(long keyID)
Return true if a key matching the passed in key ID is present, false otherwise.
|
boolean |
PGPPublicKeyRingCollection.contains(long keyID)
Return true if a key matching the passed in key ID is present, false otherwise.
|
static PGPSecretKey |
PGPSecretKey.copyWithNewPassword(PGPSecretKey key,
char[] oldPassPhrase,
char[] newPassPhrase,
int newEncAlgorithm,
java.security.SecureRandom rand,
java.security.Provider provider)
Deprecated.
use method taking PBESecretKeyDecryptor and PBESecretKeyEncryptor
|
static PGPSecretKey |
PGPSecretKey.copyWithNewPassword(PGPSecretKey key,
char[] oldPassPhrase,
char[] newPassPhrase,
int newEncAlgorithm,
java.security.SecureRandom rand,
java.lang.String provider)
Deprecated.
use method taking PBESecretKeyDecryptor and PBESecretKeyEncryptor
|
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,
char[] oldPassPhrase,
char[] newPassPhrase,
int newEncAlgorithm,
java.security.SecureRandom rand,
java.security.Provider provider)
Deprecated.
use version taking PBESecretKeyEncryptor/PBESecretKeyDecryptor
|
static PGPSecretKeyRing |
PGPSecretKeyRing.copyWithNewPassword(PGPSecretKeyRing ring,
char[] oldPassPhrase,
char[] newPassPhrase,
int newEncAlgorithm,
java.security.SecureRandom rand,
java.lang.String provider)
Deprecated.
use version taking PBESecretKeyEncryptor/PBESecretKeyDecryptor
|
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.
|
PGPPrivateKey |
PGPSecretKey.extractPrivateKey(char[] passPhrase,
java.security.Provider provider)
Deprecated.
use method that takes a PBESecretKeyDecryptor
|
PGPPrivateKey |
PGPSecretKey.extractPrivateKey(char[] passPhrase,
java.lang.String provider)
Deprecated.
use method that takes a PBESecretKeyDecryptor
|
PGPPrivateKey |
PGPSecretKey.extractPrivateKey(PBESecretKeyDecryptor decryptorFactory)
Extract a PGPPrivate key from the SecretKey's encrypted contents.
|
PGPSignature |
PGPV3SignatureGenerator.generate()
Return a V3 signature object containing the current signature state.
|
PGPSignature |
PGPSignatureGenerator.generate()
Return a signature object containing the current signature state.
|
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 userAttributes
|
PGPSignature |
PGPSignatureGenerator.generateCertification(java.lang.String id,
PGPPublicKey pubKey)
Generate a certification for the passed in id and key.
|
PGPOnePassSignature |
PGPV3SignatureGenerator.generateOnePassVersion(boolean isNested)
Return the one pass header associated with the current signature.
|
PGPOnePassSignature |
PGPSignatureGenerator.generateOnePassVersion(boolean isNested)
Return the one pass header associated with the current signature.
|
java.io.InputStream |
PGPCompressedData.getDataStream()
Return an uncompressed input stream which allows reading of the
compressed data.
|
java.io.InputStream |
PGPPBEEncryptedData.getDataStream(char[] passPhrase,
java.security.Provider provider)
Deprecated.
use PBEDataDecryptorFactory method
|
java.io.InputStream |
PGPPBEEncryptedData.getDataStream(char[] passPhrase,
java.lang.String provider)
Deprecated.
use PBEDataDecryptorFactory method
|
java.io.InputStream |
PGPPBEEncryptedData.getDataStream(PBEDataDecryptorFactory dataDecryptorFactory)
Open an input stream which will provide the decrypted data protected by this object.
|
java.io.InputStream |
PGPPublicKeyEncryptedData.getDataStream(PGPPrivateKey privKey,
java.security.Provider provider)
Deprecated.
use method that takes a PublicKeyDataDecryptorFactory
|
java.io.InputStream |
PGPPublicKeyEncryptedData.getDataStream(PGPPrivateKey privKey,
java.security.Provider asymProvider,
java.security.Provider provider)
Deprecated.
use method that takes a PublicKeyDataDecryptorFactory
|
java.io.InputStream |
PGPPublicKeyEncryptedData.getDataStream(PGPPrivateKey privKey,
java.lang.String provider)
Deprecated.
use method that takes a PublicKeyDataDecryptorFactory
|
java.io.InputStream |
PGPPublicKeyEncryptedData.getDataStream(PGPPrivateKey privKey,
java.lang.String asymProvider,
java.lang.String provider)
Deprecated.
use method that takes a PublicKeyDataDecryptorFactory
|
java.io.InputStream |
PGPPublicKeyEncryptedData.getDataStream(PublicKeyDataDecryptorFactory dataDecryptorFactory)
Open an input stream which will provide the decrypted data protected by this object.
|
java.security.PublicKey |
PGPPublicKey.getKey(java.security.Provider provider)
Deprecated.
use a JcaPGPKeyConverter
|
java.security.PublicKey |
PGPPublicKey.getKey(java.lang.String provider)
Deprecated.
use a JcaPGPKeyConverter
|
java.util.Iterator |
PGPSecretKeyRingCollection.getKeyRings(java.lang.String userID)
Return an iterator of the key rings associated with the passed in userID.
|
java.util.Iterator |
PGPPublicKeyRingCollection.getKeyRings(java.lang.String userID)
Return an iterator of the key rings associated with the passed in userID.
|
java.util.Iterator |
PGPSecretKeyRingCollection.getKeyRings(java.lang.String userID,
boolean matchPartial)
Return an iterator of the key rings associated with the passed in userID.
|
java.util.Iterator |
PGPPublicKeyRingCollection.getKeyRings(java.lang.String userID,
boolean matchPartial)
Return an iterator of the key rings associated with the passed in userID.
|
java.util.Iterator |
PGPSecretKeyRingCollection.getKeyRings(java.lang.String userID,
boolean matchPartial,
boolean ignoreCase)
Return an iterator of the key rings associated with the passed in userID.
|
java.util.Iterator |
PGPPublicKeyRingCollection.getKeyRings(java.lang.String userID,
boolean matchPartial,
boolean ignoreCase)
Return an iterator of the key rings associated with the passed in userID.
|
PGPPublicKey |
PGPPublicKeyRingCollection.getPublicKey(long keyID)
Return the PGP public key associated with the given key id.
|
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() |
int |
PGPPBEEncryptedData.getSymmetricAlgorithm(PBEDataDecryptorFactory dataDecryptorFactory)
Return the symmetric key algorithm required to decrypt the data protected by this object.
|
int |
PGPPublicKeyEncryptedData.getSymmetricAlgorithm(PGPPrivateKey privKey,
java.security.Provider provider)
Deprecated.
use the method taking a PublicKeyDataDecryptorFactory
|
int |
PGPPublicKeyEncryptedData.getSymmetricAlgorithm(PGPPrivateKey privKey,
java.lang.String provider)
Deprecated.
use the method taking a PublicKeyDataDecryptorFactory
|
int |
PGPPublicKeyEncryptedData.getSymmetricAlgorithm(PublicKeyDataDecryptorFactory dataDecryptorFactory)
Return the symmetric key algorithm required to decrypt the data protected by this object.
|
void |
PGPV3SignatureGenerator.init(int signatureType,
PGPPrivateKey key)
Initialise the generator for signing.
|
void |
PGPSignatureGenerator.init(int signatureType,
PGPPrivateKey key)
Initialise the generator for signing.
|
void |
PGPSignature.init(PGPContentVerifierBuilderProvider verifierBuilderProvider,
PGPPublicKey pubKey) |
void |
PGPOnePassSignature.init(PGPContentVerifierBuilderProvider verifierBuilderProvider,
PGPPublicKey pubKey)
Initialise the signature object for verification.
|
void |
PGPV3SignatureGenerator.initSign(int signatureType,
PGPPrivateKey key)
Deprecated.
use init()
|
void |
PGPSignatureGenerator.initSign(int signatureType,
PGPPrivateKey key)
Deprecated.
use init() method
|
void |
PGPV3SignatureGenerator.initSign(int signatureType,
PGPPrivateKey key,
java.security.SecureRandom random)
Deprecated.
random now ignored - set random in PGPContentSignerBuilder
|
void |
PGPSignatureGenerator.initSign(int signatureType,
PGPPrivateKey key,
java.security.SecureRandom random)
Deprecated.
random parameter now ignored.
|
void |
PGPSignature.initVerify(PGPPublicKey pubKey,
java.security.Provider provider)
Deprecated.
use init(PGPContentVerifierBuilderProvider, PGPPublicKey)
|
void |
PGPOnePassSignature.initVerify(PGPPublicKey pubKey,
java.security.Provider provider)
Deprecated.
use init() method.
|
void |
PGPSignature.initVerify(PGPPublicKey pubKey,
java.lang.String provider)
Deprecated.
use init(PGPContentVerifierBuilderProvider, PGPPublicKey)
|
void |
PGPOnePassSignature.initVerify(PGPPublicKey pubKey,
java.lang.String provider)
Deprecated.
use init() method.
|
static byte[] |
PGPUtil.makeRandomKey(int algorithm,
java.security.SecureRandom random) |
java.io.OutputStream |
PGPEncryptedDataGenerator.open(java.io.OutputStream out,
byte[] buffer)
Return an outputstream which will encrypt the data as it is written
to it.
|
java.io.OutputStream |
PGPCompressedDataGenerator.open(java.io.OutputStream out,
byte[] buffer)
Return an OutputStream which will compress the data as it is written
to it.
|
java.io.OutputStream |
PGPEncryptedDataGenerator.open(java.io.OutputStream out,
long length)
Return an outputstream which will encrypt the data as it is written
to it.
|
boolean |
PGPSignature.verify() |
boolean |
PGPEncryptedData.verify()
Note: This can only be called after the message has been read.
|
boolean |
PGPOnePassSignature.verify(PGPSignature pgpSig)
Verify the calculated signature against the passed in PGPSignature.
|
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.
|
boolean |
PGPSignature.verifyCertification(java.lang.String id,
PGPPublicKey key)
Verify the signature as certifying the passed in public key as associated
with the passed in id.
|
Constructor and Description |
---|
PGPKeyPair(int algorithm,
java.security.KeyPair keyPair,
java.util.Date time)
Deprecated.
use BcPGPKeyPair or JcaPGPKeyPair as appropriate.
|
PGPKeyPair(int algorithm,
java.security.KeyPair keyPair,
java.util.Date time,
java.lang.String provider)
Deprecated.
use BcPGPKeyPair or JcaPGPKeyPair as appropriate.
|
PGPKeyPair(int algorithm,
java.security.PublicKey pubKey,
java.security.PrivateKey privKey,
java.util.Date time)
Deprecated.
use BcPGPKeyPair or JcaPGPKeyPair as appropriate.
|
PGPKeyPair(int algorithm,
java.security.PublicKey pubKey,
java.security.PrivateKey privKey,
java.util.Date time,
java.lang.String provider)
Deprecated.
use BcPGPKeyPair or JcaPGPKeyPair as appropriate.
|
PGPKeyRingGenerator(int certificationLevel,
PGPKeyPair masterKey,
java.lang.String id,
int encAlgorithm,
char[] passPhrase,
boolean useSHA1,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
java.security.SecureRandom rand,
java.security.Provider provider)
Deprecated.
use method taking PBESecretKeyEncryptor
|
PGPKeyRingGenerator(int certificationLevel,
PGPKeyPair masterKey,
java.lang.String id,
int encAlgorithm,
char[] passPhrase,
boolean useSHA1,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
java.security.SecureRandom rand,
java.lang.String provider)
Deprecated.
use method taking PBESecretKeyDecryptor
|
PGPKeyRingGenerator(int certificationLevel,
PGPKeyPair masterKey,
java.lang.String id,
int encAlgorithm,
char[] passPhrase,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
java.security.SecureRandom rand,
java.lang.String provider)
Deprecated.
use method taking PBESecretKeyDecryptor
|
PGPKeyRingGenerator(int certificationLevel,
PGPKeyPair masterKey,
java.lang.String id,
PGPDigestCalculator checksumCalculator,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
PGPContentSignerBuilder keySignerBuilder,
PBESecretKeyEncryptor keyEncryptor)
Create a new key ring generator.
|
PGPPublicKey(int algorithm,
java.security.PublicKey pubKey,
java.util.Date time)
Deprecated.
use JcaPGPKeyConverter.getPGPPublicKey()
|
PGPPublicKey(int algorithm,
java.security.PublicKey pubKey,
java.util.Date time,
java.lang.String provider)
Deprecated.
use JcaPGPKeyConverter.getPGPPublicKey()
|
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) |
PGPPublicKeyRingCollection(java.util.Collection collection) |
PGPPublicKeyRingCollection(java.io.InputStream in)
Build a PGPPublicKeyRingCollection from the passed in input stream.
|
PGPSecretKey(int certificationLevel,
int algorithm,
java.security.PublicKey pubKey,
java.security.PrivateKey privKey,
java.util.Date time,
java.lang.String id,
int encAlgorithm,
char[] passPhrase,
boolean useSHA1,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
java.security.SecureRandom rand,
java.lang.String provider)
Deprecated.
use method taking PBESecretKeyEncryptor
|
PGPSecretKey(int certificationLevel,
int algorithm,
java.security.PublicKey pubKey,
java.security.PrivateKey privKey,
java.util.Date time,
java.lang.String id,
int encAlgorithm,
char[] passPhrase,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
java.security.SecureRandom rand,
java.lang.String provider)
Deprecated.
use method taking PBESecretKeyEncryptor
|
PGPSecretKey(int certificationLevel,
int algorithm,
java.security.PublicKey pubKey,
java.security.PrivateKey privKey,
java.util.Date time,
java.lang.String id,
PGPDigestCalculator checksumCalculator,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
PGPContentSignerBuilder certificationSignerBuilder,
PBESecretKeyEncryptor keyEncryptor)
Deprecated.
use method taking PGPKeyPair
|
PGPSecretKey(int certificationLevel,
int algorithm,
java.security.PublicKey pubKey,
java.security.PrivateKey privKey,
java.util.Date time,
java.lang.String id,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
PGPContentSignerBuilder certificationSignerBuilder,
PBESecretKeyEncryptor keyEncryptor)
Deprecated.
use method taking PGPKeyPair
|
PGPSecretKey(int certificationLevel,
PGPKeyPair keyPair,
java.lang.String id,
int encAlgorithm,
char[] passPhrase,
boolean useSHA1,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
java.security.SecureRandom rand,
java.security.Provider provider)
Deprecated.
use method taking PBESecretKeyEncryptor
|
PGPSecretKey(int certificationLevel,
PGPKeyPair keyPair,
java.lang.String id,
int encAlgorithm,
char[] passPhrase,
boolean useSHA1,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
java.security.SecureRandom rand,
java.lang.String provider)
Deprecated.
use method taking PBESecretKeyEncryptor
|
PGPSecretKey(int certificationLevel,
PGPKeyPair keyPair,
java.lang.String id,
int encAlgorithm,
char[] passPhrase,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
java.security.SecureRandom rand,
java.lang.String provider)
Deprecated.
use method taking PBESecretKeyEncryptor
|
PGPSecretKey(int certificationLevel,
PGPKeyPair keyPair,
java.lang.String id,
PGPDigestCalculator checksumCalculator,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
PGPContentSignerBuilder certificationSignerBuilder,
PBESecretKeyEncryptor keyEncryptor) |
PGPSecretKey(int certificationLevel,
PGPKeyPair keyPair,
java.lang.String id,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
PGPContentSignerBuilder certificationSignerBuilder,
PBESecretKeyEncryptor keyEncryptor) |
PGPSecretKeyRing(byte[] encoding)
Deprecated.
use version that takes KeyFingerprintCalculator
|
PGPSecretKeyRing(byte[] encoding,
KeyFingerPrintCalculator fingerPrintCalculator) |
PGPSecretKeyRing(java.io.InputStream in)
Deprecated.
use version that takes KeyFingerprintCalculator
|
PGPSecretKeyRing(java.io.InputStream in,
KeyFingerPrintCalculator fingerPrintCalculator) |
PGPSecretKeyRingCollection(byte[] encoding) |
PGPSecretKeyRingCollection(java.util.Collection collection) |
PGPSecretKeyRingCollection(java.io.InputStream in)
Build a PGPSecretKeyRingCollection from the passed in input stream.
|
PGPSignatureGenerator(int keyAlgorithm,
int hashAlgorithm,
java.security.Provider provider)
Deprecated.
use method taking a PGPContentSignerBuilder
|
PGPSignatureGenerator(int keyAlgorithm,
int hashAlgorithm,
java.lang.String provider)
Deprecated.
use method taking a PGPContentSignerBuilder
|
PGPSignatureGenerator(int keyAlgorithm,
java.security.Provider sigProvider,
int hashAlgorithm,
java.security.Provider digProvider)
Deprecated.
use constructor taking PGPContentSignerBuilder.
|
PGPSignatureGenerator(int keyAlgorithm,
java.lang.String sigProvider,
int hashAlgorithm,
java.lang.String digProvider)
Deprecated.
use method taking a PGPContentSignerBuilder
|
PGPV3SignatureGenerator(int keyAlgorithm,
int hashAlgorithm,
java.security.Provider provider)
Deprecated.
use constructor taking PGPContentSignerBuilder.
|
PGPV3SignatureGenerator(int keyAlgorithm,
int hashAlgorithm,
java.lang.String provider)
Deprecated.
use constructor taking PGPContentSignerBuilder.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
ByteArrayHandler.decrypt(byte[] encrypted,
char[] passPhrase)
decrypt the passed in message stream
|
static byte[] |
ByteArrayHandler.encrypt(byte[] clearData,
char[] passPhrase,
java.lang.String fileName,
int algorithm,
boolean armor)
Simple PGP encryptor between byte[].
|
Modifier and Type | Method and Description |
---|---|
PGPDataEncryptor |
PGPDataEncryptorBuilder.build(byte[] keyBytes) |
PGPContentSigner |
PGPContentSignerBuilder.build(int signatureType,
PGPPrivateKey privateKey) |
PGPContentVerifier |
PGPContentVerifierBuilder.build(PGPPublicKey publicKey) |
byte[] |
KeyFingerPrintCalculator.calculateFingerprint(PublicKeyPacket publicPk) |
PGPDataDecryptor |
PGPDataDecryptorFactory.createDataDecryptor(boolean withIntegrityPacket,
int encAlgorithm,
byte[] key) |
byte[] |
RFC6637KDFCalculator.createKey(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOID,
org.bouncycastle.math.ec.ECPoint s,
byte[] recipientFingerPrint) |
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 |
PublicKeyKeyEncryptionMethodGenerator.generate(int encAlgorithm,
byte[] sessionInfo) |
abstract ContainedPacket |
PGPKeyEncryptionMethodGenerator.generate(int encAlgorithm,
byte[] sessionInfo) |
ContainedPacket |
PBEKeyEncryptionMethodGenerator.generate(int encAlgorithm,
byte[] sessionInfo) |
PGPDigestCalculator |
PGPDigestCalculatorProvider.get(int algorithm) |
PGPContentVerifierBuilder |
PGPContentVerifierBuilderProvider.get(int keyAlgorithm,
int hashAlgorithm) |
PGPDigestCalculator |
PBESecretKeyDecryptor.getChecksumCalculator(int hashAlgorithm) |
byte[] |
PBESecretKeyEncryptor.getKey() |
byte[] |
PBEKeyEncryptionMethodGenerator.getKey(int encAlgorithm) |
byte[] |
PBESecretKeyDecryptor.makeKeyFromPassPhrase(int keyAlgorithm,
S2K s2k) |
byte[] |
PBEDataDecryptorFactory.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) |
byte[] |
PublicKeyDataDecryptorFactory.recoverSessionData(int keyAlgorithm,
byte[][] secKeyData) |
abstract byte[] |
PBEDataDecryptorFactory.recoverSessionData(int keyAlgorithm,
byte[] key,
byte[] seckKeyData) |
Modifier and Type | Method and Description |
---|---|
PGPDataEncryptor |
BcPGPDataEncryptorBuilder.build(byte[] keyBytes) |
PGPContentSigner |
BcPGPContentSignerBuilder.build(int signatureType,
PGPPrivateKey privateKey) |
byte[] |
BcKeyFingerprintCalculator.calculateFingerprint(PublicKeyPacket publicPk) |
PGPDataDecryptor |
BcPublicKeyDataDecryptorFactory.createDataDecryptor(boolean withIntegrityPacket,
int encAlgorithm,
byte[] key) |
PGPDataDecryptor |
BcPBEDataDecryptorFactory.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) |
PGPDigestCalculator |
BcPGPDigestCalculatorProvider.get(int algorithm) |
PGPContentVerifierBuilder |
BcPGPContentVerifierBuilderProvider.get(int keyAlgorithm,
int hashAlgorithm) |
PGPPrivateKey |
BcPGPKeyConverter.getPGPPrivateKey(PGPPublicKey pubKey,
org.bouncycastle.crypto.params.AsymmetricKeyParameter privKey) |
PGPPublicKey |
BcPGPKeyConverter.getPGPPublicKey(int algorithm,
org.bouncycastle.crypto.params.AsymmetricKeyParameter pubKey,
java.util.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[] |
BcPublicKeyDataDecryptorFactory.recoverSessionData(int keyAlgorithm,
byte[][] secKeyData) |
byte[] |
BcPBEDataDecryptorFactory.recoverSessionData(int keyAlgorithm,
byte[] key,
byte[] secKeyData) |
Constructor and Description |
---|
BcPGPKeyPair(int algorithm,
org.bouncycastle.crypto.AsymmetricCipherKeyPair keyPair,
java.util.Date date) |
Modifier and Type | Method and Description |
---|---|
PGPDigestCalculatorProvider |
JcaPGPDigestCalculatorProviderBuilder.build() |
PGPDataEncryptor |
JcePGPDataEncryptorBuilder.build(byte[] keyBytes) |
PBESecretKeyDecryptor |
JcePBESecretKeyDecryptorBuilder.build(char[] passPhrase) |
PGPContentSigner |
JcaPGPContentSignerBuilder.build(int signatureType,
long keyID,
java.security.PrivateKey privateKey) |
PGPContentSigner |
JcaPGPContentSignerBuilder.build(int signatureType,
PGPPrivateKey privateKey) |
byte[] |
JcaKeyFingerprintCalculator.calculateFingerprint(PublicKeyPacket publicPk) |
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,
java.security.PrivateKey privKey)
Convert a PrivateKey into a PGPPrivateKey.
|
PGPPublicKey |
JcaPGPKeyConverter.getPGPPublicKey(int algorithm,
PGPAlgorithmParameters algorithmParameters,
java.security.PublicKey pubKey,
java.util.Date time)
Create a PGPPublicKey from the passed in JCA one.
|
PGPPublicKey |
JcaPGPKeyConverter.getPGPPublicKey(int algorithm,
java.security.PublicKey pubKey,
java.util.Date time)
Create a PGPPublicKey from the passed in JCA one.
|
java.security.PrivateKey |
JcaPGPKeyConverter.getPrivateKey(PGPPrivateKey privKey) |
java.security.PublicKey |
JcaPGPKeyConverter.getPublicKey(PGPPublicKey publicKey) |
Constructor and Description |
---|
JcaPGPKeyPair(int algorithm,
java.security.KeyPair keyPair,
java.util.Date date) |
JcaPGPKeyPair(int algorithm,
PGPAlgorithmParameters parameters,
java.security.KeyPair keyPair,
java.util.Date date) |