Package | Description |
---|---|
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 | Method and Description |
---|---|
static PGPSecretKey |
PGPSecretKey.copyWithNewPassword(PGPSecretKey key,
PBESecretKeyDecryptor oldKeyDecryptor,
PBESecretKeyEncryptor newKeyEncryptor)
Return a copy of the passed in secret key, encrypted using a new
password and the passed in algorithm.
|
static PGPSecretKeyRing |
PGPSecretKeyRing.copyWithNewPassword(PGPSecretKeyRing ring,
PBESecretKeyDecryptor oldKeyDecryptor,
PBESecretKeyEncryptor newKeyEncryptor)
Return a copy of the passed in secret key ring, with the private keys (where present) associated with the master key and sub keys
are encrypted using a new password and the passed in algorithm.
|
PGPPrivateKey |
PGPSecretKey.extractPrivateKey(PBESecretKeyDecryptor decryptorFactory)
Extract a PGPPrivate key from the SecretKey's encrypted contents.
|
Modifier and Type | Method and Description |
---|---|
PBESecretKeyDecryptor |
PBEProtectionRemoverFactory.createDecryptor(java.lang.String protection) |
Modifier and Type | Method and Description |
---|---|
PBESecretKeyDecryptor |
BcPBESecretKeyDecryptorBuilder.build(char[] passPhrase) |
Modifier and Type | Method and Description |
---|---|
PBESecretKeyDecryptor |
JcePBESecretKeyDecryptorBuilder.build(char[] passPhrase) |
PBESecretKeyDecryptor |
JcePBEProtectionRemoverFactory.createDecryptor(java.lang.String protection) |