public static enum PublicKeyReaderUtil.PublicKeyParseException.ErrorCode extends java.lang.Enum<PublicKeyReaderUtil.PublicKeyParseException.ErrorCode>
Enum Constant and Description |
---|
CORRUPT_BYTE_ARRAY_ON_READ |
CORRUPT_OPENSSH_PUBLIC_KEY_STRING
The public key string is not defined correctly in OpenSSH
format.
|
CORRUPT_SECSSH_PUBLIC_KEY_STRING
The public key string is not defined correctly in SECSSH
format.
|
SSH2DSA_ERROR_DECODING_PUBLIC_KEY_BLOB
The DSA public key blob could not decoded.
|
SSH2RSA_ERROR_DECODING_PUBLIC_KEY_BLOB
The RSA public key blob could not decoded.
|
UNEXPECTED_PRIVATE_KEY |
UNKNOWN_PUBLIC_KEY_CERTIFICATE_FORMAT
The binary blob of the key definition used a not supported
public key certificate format.
|
UNKNOWN_PUBLIC_KEY_FILE_FORMAT
The format of the given ASCII key is not known and could not be
parsed.
|
Modifier and Type | Method and Description |
---|---|
static PublicKeyReaderUtil.PublicKeyParseException.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PublicKeyReaderUtil.PublicKeyParseException.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublicKeyReaderUtil.PublicKeyParseException.ErrorCode UNKNOWN_PUBLIC_KEY_FILE_FORMAT
PublicKeyReaderUtil.load(String)
public static final PublicKeyReaderUtil.PublicKeyParseException.ErrorCode UNKNOWN_PUBLIC_KEY_CERTIFICATE_FORMAT
public static final PublicKeyReaderUtil.PublicKeyParseException.ErrorCode CORRUPT_OPENSSH_PUBLIC_KEY_STRING
public static final PublicKeyReaderUtil.PublicKeyParseException.ErrorCode CORRUPT_SECSSH_PUBLIC_KEY_STRING
public static final PublicKeyReaderUtil.PublicKeyParseException.ErrorCode SSH2DSA_ERROR_DECODING_PUBLIC_KEY_BLOB
public static final PublicKeyReaderUtil.PublicKeyParseException.ErrorCode SSH2RSA_ERROR_DECODING_PUBLIC_KEY_BLOB
PublicKeyReaderUtil#decodeRSAPublicKey(SSH2DataBuffer)
public static final PublicKeyReaderUtil.PublicKeyParseException.ErrorCode CORRUPT_BYTE_ARRAY_ON_READ
PublicKeyReaderUtil.SSH2DataBuffer.readByteArray()
public static final PublicKeyReaderUtil.PublicKeyParseException.ErrorCode UNEXPECTED_PRIVATE_KEY
public static PublicKeyReaderUtil.PublicKeyParseException.ErrorCode[] values()
for (PublicKeyReaderUtil.PublicKeyParseException.ErrorCode c : PublicKeyReaderUtil.PublicKeyParseException.ErrorCode.values()) System.out.println(c);
public static PublicKeyReaderUtil.PublicKeyParseException.ErrorCode 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