|
Bouncy Castle Cryptography Library 1.48 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
public abstract class PBESecretKeyEncryptor
| Field Summary | |
|---|---|
protected int |
encAlgorithm
|
protected char[] |
passPhrase
|
protected java.security.SecureRandom |
random
|
protected S2K |
s2k
|
protected int |
s2kCount
|
protected PGPDigestCalculator |
s2kDigestCalculator
|
| Constructor Summary | |
|---|---|
protected |
PBESecretKeyEncryptor(int encAlgorithm,
PGPDigestCalculator s2kDigestCalculator,
int s2kCount,
java.security.SecureRandom random,
char[] passPhrase)
|
protected |
PBESecretKeyEncryptor(int encAlgorithm,
PGPDigestCalculator s2kDigestCalculator,
java.security.SecureRandom random,
char[] passPhrase)
|
| Method Summary | |
|---|---|
abstract byte[] |
encryptKeyData(byte[] key,
byte[] keyData,
int keyOff,
int keyLen)
|
byte[] |
encryptKeyData(byte[] keyData,
int keyOff,
int keyLen)
|
int |
getAlgorithm()
|
abstract byte[] |
getCipherIV()
|
byte[] |
getKey()
|
S2K |
getS2K()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int encAlgorithm
protected char[] passPhrase
protected PGPDigestCalculator s2kDigestCalculator
protected int s2kCount
protected S2K s2k
protected java.security.SecureRandom random
| Constructor Detail |
|---|
protected PBESecretKeyEncryptor(int encAlgorithm,
PGPDigestCalculator s2kDigestCalculator,
java.security.SecureRandom random,
char[] passPhrase)
protected PBESecretKeyEncryptor(int encAlgorithm,
PGPDigestCalculator s2kDigestCalculator,
int s2kCount,
java.security.SecureRandom random,
char[] passPhrase)
| Method Detail |
|---|
public int getAlgorithm()
public byte[] getKey()
throws PGPException
PGPExceptionpublic S2K getS2K()
public byte[] encryptKeyData(byte[] keyData,
int keyOff,
int keyLen)
throws PGPException
PGPException
public abstract byte[] encryptKeyData(byte[] key,
byte[] keyData,
int keyOff,
int keyLen)
throws PGPException
PGPExceptionpublic abstract byte[] getCipherIV()
|
Bouncy Castle Cryptography Library 1.48 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||