Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DSA_PRIVATE_KEY |
protected static char[] |
HEX_CHARS |
protected static int |
MAX_LINE_LENGTH |
protected static java.lang.String |
PEM_BEGIN |
protected static java.lang.String |
PEM_BOUNDARY |
protected static java.lang.String |
PEM_END |
static java.lang.String |
RSA_PRIVATE_KEY |
Constructor and Description |
---|
PEM() |
Modifier and Type | Method and Description |
---|---|
protected static javax.crypto.SecretKey |
getKeyFromPassphrase(java.lang.String passphrase,
byte[] iv,
int keySize) |
public static final java.lang.String DSA_PRIVATE_KEY
public static final java.lang.String RSA_PRIVATE_KEY
protected static final java.lang.String PEM_BOUNDARY
protected static final java.lang.String PEM_BEGIN
protected static final java.lang.String PEM_END
protected static final int MAX_LINE_LENGTH
protected static final char[] HEX_CHARS
protected static javax.crypto.SecretKey getKeyFromPassphrase(java.lang.String passphrase, byte[] iv, int keySize) throws java.security.NoSuchAlgorithmException, java.security.spec.InvalidKeySpecException
passphrase
- iv
- keySize
- java.security.NoSuchAlgorithmException
java.security.spec.InvalidKeySpecException
java.lang.Error
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.