Package | Description |
---|---|
org.bouncycastle.bcpg |
Low level classes for dealing with OpenPGP objects.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
PublicSubkeyPacket
basic packet for a PGP public key
|
Modifier and Type | Method and Description |
---|---|
PublicKeyPacket |
SecretKeyPacket.getPublicKeyPacket() |
Constructor and Description |
---|
SecretKeyPacket(PublicKeyPacket pubKeyPacket,
int encAlgorithm,
int s2kUsage,
S2K s2k,
byte[] iv,
byte[] secKeyData) |
SecretKeyPacket(PublicKeyPacket pubKeyPacket,
int encAlgorithm,
S2K s2k,
byte[] iv,
byte[] secKeyData) |
SecretSubkeyPacket(PublicKeyPacket pubKeyPacket,
int encAlgorithm,
int s2kUsage,
S2K s2k,
byte[] iv,
byte[] secKeyData) |
SecretSubkeyPacket(PublicKeyPacket pubKeyPacket,
int encAlgorithm,
S2K s2k,
byte[] iv,
byte[] secKeyData) |
Modifier and Type | Method and Description |
---|---|
PublicKeyPacket |
PGPPublicKey.getPublicKeyPacket() |
PublicKeyPacket |
PGPPrivateKey.getPublicKeyPacket()
Return the public key packet associated with this private key, if available.
|
Constructor and Description |
---|
PGPPrivateKey(long keyID,
PublicKeyPacket publicKeyPacket,
BCPGKey privateKeyDataPacket)
Base constructor.
|
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.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
KeyFingerPrintCalculator.calculateFingerprint(PublicKeyPacket publicPk) |
static byte[] |
RFC6637Utils.createUserKeyingMaterial(PublicKeyPacket pubKeyData,
KeyFingerPrintCalculator fingerPrintCalculator) |
static java.lang.String |
RFC6637Utils.getAgreementAlgorithm(PublicKeyPacket pubKeyData) |
Modifier and Type | Method and Description |
---|---|
byte[] |
BcKeyFingerprintCalculator.calculateFingerprint(PublicKeyPacket publicPk) |
Modifier and Type | Method and Description |
---|---|
byte[] |
JcaKeyFingerprintCalculator.calculateFingerprint(PublicKeyPacket publicPk) |