public class GnuDivertToCardSecretKeyEncryptor extends PBESecretKeyEncryptor
This extension is documented on GnuPG documentation DETAILS file, section "GNU extensions to the S2K algorithm".
aeadAlgorithm, encAlgorithm, passPhrase, random, s2k, s2kCount, s2kDigestCalculator| Constructor and Description |
|---|
GnuDivertToCardSecretKeyEncryptor(PGPDigestCalculator s2kDigestCalculator,
byte[] serial) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encryptKeyData(byte[] key,
byte[] keyData,
int keyOff,
int keyLen) |
byte[] |
getCipherIV() |
byte[] |
getKey() |
encryptKeyData, encryptKeyData, getAeadAlgorithm, getAlgorithm, getHashAlgorithm, getS2Kpublic GnuDivertToCardSecretKeyEncryptor(PGPDigestCalculator s2kDigestCalculator, byte[] serial)
public byte[] encryptKeyData(byte[] key,
byte[] keyData,
int keyOff,
int keyLen)
throws PGPException
encryptKeyData in class PBESecretKeyEncryptorPGPExceptionpublic byte[] getKey()
throws PGPException
getKey in class PBESecretKeyEncryptorPGPExceptionpublic byte[] getCipherIV()
getCipherIV in class PBESecretKeyEncryptor