Package | Description |
---|---|
org.bouncycastle.openpgp | |
org.bouncycastle.openpgp.operator | |
org.bouncycastle.openpgp.operator.bc | |
org.bouncycastle.openpgp.operator.jcajce |
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,
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,
PGPKeyPair keyPair,
java.lang.String id,
PGPDigestCalculator checksumCalculator,
PGPSignatureSubpacketVector hashedPcks,
PGPSignatureSubpacketVector unhashedPcks,
PGPContentSignerBuilder certificationSignerBuilder,
PBESecretKeyEncryptor keyEncryptor) |
Modifier and Type | Field and Description |
---|---|
protected PGPDigestCalculator |
PBESecretKeyEncryptor.s2kDigestCalculator |
Modifier and Type | Method and Description |
---|---|
PGPDigestCalculator |
PGPDigestCalculatorProvider.get(int algorithm) |
PGPDigestCalculator |
PBESecretKeyDecryptor.getChecksumCalculator(int hashAlgorithm) |
PGPDigestCalculator |
PGPDataEncryptor.getIntegrityCalculator() |
PGPDigestCalculator |
PGPDataDecryptor.getIntegrityCalculator() |
Constructor and Description |
---|
PBEKeyEncryptionMethodGenerator(char[] passPhrase,
PGPDigestCalculator s2kDigestCalculator) |
PBEKeyEncryptionMethodGenerator(char[] passPhrase,
PGPDigestCalculator s2kDigestCalculator,
int s2kCount) |
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) |
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 calculator for key calculation.
|
BcPBEKeyEncryptionMethodGenerator(char[] passPhrase,
PGPDigestCalculator s2kDigestCalculator,
int s2kCount)
Create a PBE encryption method generator using the provided calculator and S2K count for key calculation.
|
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 calculator for key calculation.
|
JcePBEKeyEncryptionMethodGenerator(char[] passPhrase,
PGPDigestCalculator s2kDigestCalculator,
int s2kCount)
Create a PBE encryption method generator using the provided calculator and S2K count for key calculation.
|
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.
|