Package | Description |
---|---|
org.bouncycastle.openpgp |
High level classes for dealing with OpenPGP objects.
|
Modifier and Type | Method and Description |
---|---|
PGPPrivateKey |
PGPSecretKey.extractPrivateKey(char[] passPhrase,
java.security.Provider provider)
Extract a PGPPrivate key from the SecretKey's encrypted contents.
|
PGPPrivateKey |
PGPSecretKey.extractPrivateKey(char[] passPhrase,
java.lang.String provider)
Extract a PGPPrivate key from the SecretKey's encrypted contents.
|
PGPPrivateKey |
PGPKeyPair.getPrivateKey() |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
PGPPublicKeyEncryptedData.getDataStream(PGPPrivateKey privKey,
java.security.Provider provider) |
java.io.InputStream |
PGPPublicKeyEncryptedData.getDataStream(PGPPrivateKey privKey,
java.security.Provider asymProvider,
java.security.Provider provider) |
java.io.InputStream |
PGPPublicKeyEncryptedData.getDataStream(PGPPrivateKey privKey,
java.lang.String provider)
Return the decrypted data stream for the packet.
|
java.io.InputStream |
PGPPublicKeyEncryptedData.getDataStream(PGPPrivateKey privKey,
java.lang.String asymProvider,
java.lang.String provider)
Return the decrypted data stream for the packet.
|
int |
PGPPublicKeyEncryptedData.getSymmetricAlgorithm(PGPPrivateKey privKey,
java.security.Provider provider) |
int |
PGPPublicKeyEncryptedData.getSymmetricAlgorithm(PGPPrivateKey privKey,
java.lang.String provider)
Return the algorithm code for the symmetric algorithm used to encrypt the data.
|
void |
PGPV3SignatureGenerator.initSign(int signatureType,
PGPPrivateKey key)
Initialise the generator for signing.
|
void |
PGPSignatureGenerator.initSign(int signatureType,
PGPPrivateKey key)
Initialise the generator for signing.
|
void |
PGPV3SignatureGenerator.initSign(int signatureType,
PGPPrivateKey key,
java.security.SecureRandom random)
Initialise the generator for signing.
|
void |
PGPSignatureGenerator.initSign(int signatureType,
PGPPrivateKey key,
java.security.SecureRandom random)
Initialise the generator for signing.
|
Constructor and Description |
---|
PGPKeyPair(PGPPublicKey pub,
PGPPrivateKey priv)
Create a key pair from a PGPPrivateKey and a PGPPublicKey.
|