public class BCPBEKey
extends java.lang.Object
implements javax.crypto.interfaces.PBEKey
| Constructor and Description |
|---|
BCPBEKey(java.lang.String algorithm,
ASN1ObjectIdentifier oid,
int type,
int digest,
int keySize,
int ivSize,
javax.crypto.spec.PBEKeySpec pbeKeySpec,
CipherParameters param) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
int |
getIterationCount() |
int |
getIvSize() |
ASN1ObjectIdentifier |
getOID() |
CipherParameters |
getParam() |
char[] |
getPassword() |
byte[] |
getSalt() |
void |
setTryWrongPKCS12Zero(boolean tryWrong) |
public BCPBEKey(java.lang.String algorithm,
ASN1ObjectIdentifier oid,
int type,
int digest,
int keySize,
int ivSize,
javax.crypto.spec.PBEKeySpec pbeKeySpec,
CipherParameters param)
param - public java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic int getIvSize()
public CipherParameters getParam()
public char[] getPassword()
getPassword in interface javax.crypto.interfaces.PBEKeypublic byte[] getSalt()
getSalt in interface javax.crypto.interfaces.PBEKeypublic int getIterationCount()
getIterationCount in interface javax.crypto.interfaces.PBEKeypublic ASN1ObjectIdentifier getOID()
public void setTryWrongPKCS12Zero(boolean tryWrong)