public enum InvalidPkcs8EncodedKeyExceptionCause extends java.lang.Enum<InvalidPkcs8EncodedKeyExceptionCause>
InvalidPkcs8EncodedKeyException to specify the cause of the exception.| Enum Constant and Description |
|---|
INVALID_ENCODED_KEY
The provided PKCS8 encoded key is invalid.
|
| Modifier and Type | Method and Description |
|---|---|
static InvalidPkcs8EncodedKeyExceptionCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InvalidPkcs8EncodedKeyExceptionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidPkcs8EncodedKeyExceptionCause INVALID_ENCODED_KEY
Resolution: The application should provide a valid PKCS8 encoded key.
public static InvalidPkcs8EncodedKeyExceptionCause[] values()
for (InvalidPkcs8EncodedKeyExceptionCause c : InvalidPkcs8EncodedKeyExceptionCause.values()) System.out.println(c);
public static InvalidPkcs8EncodedKeyExceptionCause valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null