public class BCPBEKey extends Object implements PBEKey
serialVersionUID
Constructor and Description |
---|
BCPBEKey(String algorithm,
ASN1ObjectIdentifier oid,
int type,
int digest,
int keySize,
int ivSize,
PBEKeySpec pbeKeySpec,
CipherParameters param) |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
byte[] |
getEncoded() |
String |
getFormat() |
int |
getIterationCount() |
int |
getIvSize() |
ASN1ObjectIdentifier |
getOID() |
CipherParameters |
getParam() |
char[] |
getPassword() |
byte[] |
getSalt() |
void |
setTryWrongPKCS12Zero(boolean tryWrong) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed
public BCPBEKey(String algorithm, ASN1ObjectIdentifier oid, int type, int digest, int keySize, int ivSize, PBEKeySpec pbeKeySpec, CipherParameters param)
param
- public String getAlgorithm()
getAlgorithm
in interface Key
public byte[] getEncoded()
getEncoded
in interface Key
public int getIvSize()
public CipherParameters getParam()
public char[] getPassword()
getPassword
in interface PBEKey
public int getIterationCount()
getIterationCount
in interface PBEKey
public ASN1ObjectIdentifier getOID()
public void setTryWrongPKCS12Zero(boolean tryWrong)
Copyright © 2016 BouncyCastle.org. All rights reserved.