public abstract class CMSPBEKey extends Object implements PBEKey
serialVersionUID
Constructor and Description |
---|
CMSPBEKey(char[] password,
byte[] salt,
int iterationCount) |
CMSPBEKey(char[] password,
PBEParameterSpec pbeSpec) |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
byte[] |
getEncoded() |
String |
getFormat() |
int |
getIterationCount() |
protected static PBEParameterSpec |
getParamSpec(AlgorithmParameters algParams) |
char[] |
getPassword() |
byte[] |
getSalt() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed
public CMSPBEKey(char[] password, byte[] salt, int iterationCount)
public CMSPBEKey(char[] password, PBEParameterSpec pbeSpec)
protected static PBEParameterSpec getParamSpec(AlgorithmParameters algParams) throws InvalidAlgorithmParameterException
public char[] getPassword()
getPassword
in interface PBEKey
public int getIterationCount()
getIterationCount
in interface PBEKey
public String getAlgorithm()
getAlgorithm
in interface Key
public byte[] getEncoded()
getEncoded
in interface Key
Copyright © 2015. All rights reserved.