public class PKCS12Key
extends java.lang.Object
implements javax.crypto.SecretKey
Constructor and Description |
---|
PKCS12Key(char[] password)
Basic constructor for a password based key - secret key generation parameters will be passed separately..
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
char[] |
getPassword() |
public PKCS12Key(char[] password)
password
- password to use.public char[] getPassword()
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