Package | Description |
---|---|
org.bouncycastle.openpgp |
High level classes for dealing with OpenPGP objects.
|
Modifier and Type | Method and Description |
---|---|
PGPSignatureSubpacketVector |
PGPSignatureSubpacketGenerator.generate() |
PGPSignatureSubpacketVector |
PGPSignature.getHashedSubPackets() |
PGPSignatureSubpacketVector |
PGPSignature.getUnhashedSubPackets() |
Modifier and Type | Method and Description |
---|---|
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 |
PGPSignatureGenerator.setHashedSubpackets(PGPSignatureSubpacketVector hashedPcks) |
void |
PGPSignatureGenerator.setUnhashedSubpackets(PGPSignatureSubpacketVector unhashedPcks) |
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(int certificationLevel,
PGPKeyPair keyPair,
java.lang.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.
|