public class BCPBEKey extends Object implements PBEKey
serialVersionUID
Constructor and Description |
---|
BCPBEKey(String algorithm,
org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
int type,
int digest,
int keySize,
int ivSize,
PBEKeySpec pbeKeySpec,
org.bouncycastle.crypto.CipherParameters param) |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
byte[] |
getEncoded() |
String |
getFormat() |
int |
getIterationCount() |
int |
getIvSize() |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getOID() |
org.bouncycastle.crypto.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, org.bouncycastle.asn1.ASN1ObjectIdentifier oid, int type, int digest, int keySize, int ivSize, PBEKeySpec pbeKeySpec, org.bouncycastle.crypto.CipherParameters param)
param
- public String getAlgorithm()
getAlgorithm
in interface Key
public byte[] getEncoded()
getEncoded
in interface Key
public int getIvSize()
public org.bouncycastle.crypto.CipherParameters getParam()
public char[] getPassword()
getPassword
in interface PBEKey
public int getIterationCount()
getIterationCount
in interface PBEKey
public org.bouncycastle.asn1.ASN1ObjectIdentifier getOID()
public void setTryWrongPKCS12Zero(boolean tryWrong)
Copyright © 2017 BouncyCastle.org. All rights reserved.