Package | Description |
---|---|
org.bouncycastle.openpgp | |
org.bouncycastle.openpgp.operator | |
org.bouncycastle.openpgp.operator.bc | |
org.bouncycastle.openpgp.operator.jcajce |
Modifier and Type | Field and Description |
---|---|
protected PGPPrivateKey |
PGPKeyPair.priv |
Modifier and Type | Method and Description |
---|---|
PGPPrivateKey |
PGPSecretKey.extractPrivateKey(char[] passPhrase,
java.security.Provider provider)
Deprecated.
use method that takes a PBESecretKeyDecryptor
|
PGPPrivateKey |
PGPSecretKey.extractPrivateKey(char[] passPhrase,
java.lang.String provider)
Deprecated.
use method that takes a PBESecretKeyDecryptor
|
PGPPrivateKey |
PGPSecretKey.extractPrivateKey(PBESecretKeyDecryptor decryptorFactory)
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)
Deprecated.
use method that takes a PublicKeyDataDecryptorFactory
|
java.io.InputStream |
PGPPublicKeyEncryptedData.getDataStream(PGPPrivateKey privKey,
java.security.Provider asymProvider,
java.security.Provider provider)
Deprecated.
use method that takes a PublicKeyDataDecryptorFactory
|
java.io.InputStream |
PGPPublicKeyEncryptedData.getDataStream(PGPPrivateKey privKey,
java.lang.String provider)
Deprecated.
use method that takes a PublicKeyDataDecryptorFactory
|
java.io.InputStream |
PGPPublicKeyEncryptedData.getDataStream(PGPPrivateKey privKey,
java.lang.String asymProvider,
java.lang.String provider)
Deprecated.
use method that takes a PublicKeyDataDecryptorFactory
|
int |
PGPPublicKeyEncryptedData.getSymmetricAlgorithm(PGPPrivateKey privKey,
java.security.Provider provider)
Deprecated.
use the method taking a PublicKeyDataDecryptorFactory
|
int |
PGPPublicKeyEncryptedData.getSymmetricAlgorithm(PGPPrivateKey privKey,
java.lang.String provider)
Deprecated.
use the method taking a PublicKeyDataDecryptorFactory
|
void |
PGPV3SignatureGenerator.init(int signatureType,
PGPPrivateKey key)
Initialise the generator for signing.
|
void |
PGPSignatureGenerator.init(int signatureType,
PGPPrivateKey key)
Initialise the generator for signing.
|
void |
PGPV3SignatureGenerator.initSign(int signatureType,
PGPPrivateKey key)
Deprecated.
use init()
|
void |
PGPSignatureGenerator.initSign(int signatureType,
PGPPrivateKey key)
Deprecated.
use init() method
|
void |
PGPV3SignatureGenerator.initSign(int signatureType,
PGPPrivateKey key,
java.security.SecureRandom random)
Deprecated.
random now ignored - set random in PGPContentSignerBuilder
|
void |
PGPSignatureGenerator.initSign(int signatureType,
PGPPrivateKey key,
java.security.SecureRandom random)
Deprecated.
random parameter now ignored.
|
Constructor and Description |
---|
PGPKeyPair(PGPPublicKey pub,
PGPPrivateKey priv)
Create a key pair from a PGPPrivateKey and a PGPPublicKey.
|
Modifier and Type | Method and Description |
---|---|
PGPContentSigner |
PGPContentSignerBuilder.build(int signatureType,
PGPPrivateKey privateKey) |
Modifier and Type | Method and Description |
---|---|
PGPPrivateKey |
BcPGPKeyConverter.getPGPPrivateKey(PGPPublicKey pubKey,
org.bouncycastle.crypto.params.AsymmetricKeyParameter privKey) |
Modifier and Type | Method and Description |
---|---|
PGPContentSigner |
BcPGPContentSignerBuilder.build(int signatureType,
PGPPrivateKey privateKey) |
org.bouncycastle.crypto.params.AsymmetricKeyParameter |
BcPGPKeyConverter.getPrivateKey(PGPPrivateKey privKey) |
Constructor and Description |
---|
BcPublicKeyDataDecryptorFactory(PGPPrivateKey privKey) |
Modifier and Type | Class and Description |
---|---|
class |
JcaPGPPrivateKey
A JCA PrivateKey carrier.
|
Modifier and Type | Method and Description |
---|---|
PGPPrivateKey |
JcaPGPKeyConverter.getPGPPrivateKey(PGPPublicKey pub,
java.security.PrivateKey privKey)
Convert a PrivateKey into a PGPPrivateKey.
|
Modifier and Type | Method and Description |
---|---|
PGPContentSigner |
JcaPGPContentSignerBuilder.build(int signatureType,
PGPPrivateKey privateKey) |
PublicKeyDataDecryptorFactory |
JcePublicKeyDataDecryptorFactoryBuilder.build(PGPPrivateKey privKey) |
java.security.PrivateKey |
JcaPGPKeyConverter.getPrivateKey(PGPPrivateKey privKey) |