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.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public int getIvSize()
public CipherParameters getParam()
public char[] getPassword()
getPassword
in interface javax.crypto.interfaces.PBEKey
public byte[] getSalt()
getSalt
in interface javax.crypto.interfaces.PBEKey
public int getIterationCount()
getIterationCount
in interface javax.crypto.interfaces.PBEKey
public ASN1ObjectIdentifier getOID()
public void setTryWrongPKCS12Zero(boolean tryWrong)