public abstract class CMSPBEKey
extends java.lang.Object
implements javax.crypto.interfaces.PBEKey
Modifier and Type | Field and Description |
---|---|
private int |
iterationCount |
private char[] |
password |
private byte[] |
salt |
Constructor and Description |
---|
CMSPBEKey(char[] password,
byte[] salt,
int iterationCount) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
(package private) abstract byte[] |
getEncoded(java.lang.String algorithmOid) |
java.lang.String |
getFormat() |
int |
getIterationCount() |
char[] |
getPassword() |
byte[] |
getSalt() |
private char[] password
private byte[] salt
private int iterationCount
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 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
abstract byte[] getEncoded(java.lang.String algorithmOid)
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.