org.nhindirect.stagent.cryptography
Enum EncryptionError
java.lang.Object
java.lang.Enum<EncryptionError>
org.nhindirect.stagent.cryptography.EncryptionError
- All Implemented Interfaces:
- Serializable, Comparable<EncryptionError>
public enum EncryptionError
- extends Enum<EncryptionError>
Enumeration of encryption errors.
- Author:
- Greg Meyer, Umesh Madan
|
Method Summary |
static EncryptionError |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EncryptionError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
NullEntity
public static final EncryptionError NullEntity
NullContent
public static final EncryptionError NullContent
ContentNotDataContainer
public static final EncryptionError ContentNotDataContainer
NoCertificates
public static final EncryptionError NoCertificates
NoPrivateKey
public static final EncryptionError NoPrivateKey
NotEncrypted
public static final EncryptionError NotEncrypted
values
public static EncryptionError[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (EncryptionError c : EncryptionError.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EncryptionError valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2010-2014 NHIN Direct. All Rights Reserved.