Package | Description |
---|---|
org.bouncycastle.openpgp |
High level classes for dealing with 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.
|
Constructor and Description |
---|
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.
|
PGPSecretKey(int certificationLevel,
PGPKeyPair keyPair,
java.lang.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(PGPPrivateKey privKey,
PGPPublicKey pubKey,
PGPDigestCalculator checksumCalculator,
boolean isMasterKey,
PBESecretKeyEncryptor keyEncryptor)
Construct a PGPSecretKey using the passed in private key and public key.
|
Modifier and Type | Field and Description |
---|---|
protected PGPDigestCalculator |
PBESecretKeyEncryptor.s2kDigestCalculator |
Modifier and Type | Method and Description |
---|---|
PGPDigestCalculator |
PGPDigestCalculatorProvider.get(int algorithm)
Construct a new instance of a cryptographic digest.
|
PGPDigestCalculator |
PBESecretKeyDecryptor.getChecksumCalculator(int hashAlgorithm) |
PGPDigestCalculator |
PGPDataEncryptor.getIntegrityCalculator()
Obtains the integrity check calculator configured for this encryptor instance.
|
PGPDigestCalculator |
PGPDataDecryptor.getIntegrityCalculator()
Obtains the digest calculator used to verify the integrity check.
|
Constructor and Description |
---|
PBEKeyEncryptionMethodGenerator(char[] passPhrase,
PGPDigestCalculator s2kDigestCalculator)
Construct a PBE key generator using the default iteration count (
0x60 == 65536
iterations). |
PBEKeyEncryptionMethodGenerator(char[] passPhrase,
PGPDigestCalculator s2kDigestCalculator,
int s2kCount)
Construct a PBE key generator using a specific iteration level.
|
PBESecretKeyEncryptor(int encAlgorithm,
PGPDigestCalculator s2kDigestCalculator,
int s2kCount,
java.security.SecureRandom random,
char[] passPhrase) |
PBESecretKeyEncryptor(int encAlgorithm,
PGPDigestCalculator s2kDigestCalculator,
java.security.SecureRandom random,
char[] passPhrase) |
RFC6637KDFCalculator(PGPDigestCalculator digCalc,
int keyAlgorithm)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PGPDigestCalculator |
BcPGPDigestCalculatorProvider.get(int algorithm) |
Constructor and Description |
---|
BcPBEKeyEncryptionMethodGenerator(char[] passPhrase,
PGPDigestCalculator s2kDigestCalculator)
Create a PBE encryption method generator using the provided digest and the default S2K count
for key generation.
|
BcPBEKeyEncryptionMethodGenerator(char[] passPhrase,
PGPDigestCalculator s2kDigestCalculator,
int s2kCount)
Create a PBE encryption method generator using the provided calculator and S2K count for key
generation.
|
BcPBESecretKeyEncryptorBuilder(int encAlgorithm,
PGPDigestCalculator s2kDigestCalculator)
Create a builder which will make encryptors using the passed in digest calculator.
|
BcPBESecretKeyEncryptorBuilder(int encAlgorithm,
PGPDigestCalculator s2kDigestCalculator,
int s2kCount)
Create an SecretKeyEncryptorBuilder with the S2k count different to the default of 0x60, and the S2K digest
different from SHA-1.
|
Constructor and Description |
---|
JcePBEKeyEncryptionMethodGenerator(char[] passPhrase,
PGPDigestCalculator s2kDigestCalculator)
Create a PBE encryption method generator using the provided digest and the default S2K count
for key generation.
|
JcePBEKeyEncryptionMethodGenerator(char[] passPhrase,
PGPDigestCalculator s2kDigestCalculator,
int s2kCount)
Create a PBE encryption method generator using the provided calculator and S2K count for key
generation.
|
JcePBESecretKeyEncryptorBuilder(int encAlgorithm,
PGPDigestCalculator s2kDigestCalculator)
Create a builder which will make encryptors using the passed in digest calculator.
|
JcePBESecretKeyEncryptorBuilder(int encAlgorithm,
PGPDigestCalculator s2kDigestCalculator,
int s2kCount)
Create an SecretKeyEncryptorBuilder with the S2k count different to the default of 0x60, and the S2K digest
different from SHA-1.
|