Methods Summary |
---|
public java.lang.String | getAlgorithm()
return algorithm;
|
int | getDigest()
return digest;
|
public byte[] | getEncoded()
if (param != null)
{
KeyParameter kParam;
if (param instanceof ParametersWithIV)
{
kParam = (KeyParameter)((ParametersWithIV)param).getParameters();
}
else
{
kParam = (KeyParameter)param;
}
return kParam.getKey();
}
else
{
if (type == PBE.PKCS12)
{
return PBEParametersGenerator.PKCS12PasswordToBytes(pbeKeySpec.getPassword());
}
else
{
return PBEParametersGenerator.PKCS5PasswordToBytes(pbeKeySpec.getPassword());
}
}
|
public java.lang.String | getFormat()
return "RAW";
|
public int | getIterationCount()
return pbeKeySpec.getIterationCount();
|
int | getIvSize()
return ivSize;
|
int | getKeySize()
return keySize;
|
public org.bouncycastle.asn1.DERObjectIdentifier | getOID()
return oid;
|
org.bouncycastle.crypto.CipherParameters | getParam()
return param;
|
public char[] | getPassword()
return pbeKeySpec.getPassword();
|
public byte[] | getSalt()
return pbeKeySpec.getSalt();
|
int | getType()
return type;
|
void | setTryWrongPKCS12Zero(boolean tryWrong)
this.tryWrong = tryWrong;
|
boolean | shouldTryWrongPKCS12()
return tryWrong;
|