org.nhindirect.stagent
Enum AgentError
java.lang.Object
java.lang.Enum<AgentError>
org.nhindirect.stagent.AgentError
- All Implemented Interfaces:
- Serializable, Comparable<AgentError>
public enum AgentError
- extends Enum<AgentError>
Enumeration of security and trust agent errors.
- Author:
- Greg Meyer, Umesh Madan
|
Method Summary |
static AgentError |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AgentError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Unexpected
public static final AgentError Unexpected
MissingTo
public static final AgentError MissingTo
MissingFrom
public static final AgentError MissingFrom
MissingMessage
public static final AgentError MissingMessage
MessageNotWrapped
public static final AgentError MessageNotWrapped
NoRecipients
public static final AgentError NoRecipients
NoSender
public static final AgentError NoSender
InvalidSignature
public static final AgentError InvalidSignature
InvalidEncryption
public static final AgentError InvalidEncryption
UntrustedMessage
public static final AgentError UntrustedMessage
UntrustedSender
public static final AgentError UntrustedSender
UnknownRecipient
public static final AgentError UnknownRecipient
UnsignedMessage
public static final AgentError UnsignedMessage
MissingSenderSignature
public static final AgentError MissingSenderSignature
MissingSenderCertificate
public static final AgentError MissingSenderCertificate
MissingRecipientCertificate
public static final AgentError MissingRecipientCertificate
NoTrustedRecipients
public static final AgentError NoTrustedRecipients
AllCertsInResolverInvalid
public static final AgentError AllCertsInResolverInvalid
InvalidPolicy
public static final AgentError InvalidPolicy
values
public static AgentError[] 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 (AgentError c : AgentError.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AgentError 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-2013 NHIN Direct. All Rights Reserved.