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.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Key