Package | Description |
---|---|
org.bouncycastle.openpgp | |
org.bouncycastle.openpgp.operator.bc | |
org.bouncycastle.openpgp.operator.jcajce |
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 |
BcPBESecretKeyDecryptorBuilder.build(char[] passPhrase) |
Modifier and Type | Method and Description |
---|---|
PBESecretKeyDecryptor |
JcePBESecretKeyDecryptorBuilder.build(char[] passPhrase) |