org.nhindirect.stagent.trust
Enum TrustError
java.lang.Object
java.lang.Enum<TrustError>
org.nhindirect.stagent.trust.TrustError
- All Implemented Interfaces:
- Serializable, Comparable<TrustError>
public enum TrustError
- extends Enum<TrustError>
Enumeration of errors that can occur during a trust enforcement operation.
- Author:
- Greg Meyer, Umesh Madan
|
Method Summary |
static TrustError |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TrustError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Unexpected
public static final TrustError Unexpected
UntrustedMessage
public static final TrustError UntrustedMessage
UntrustedSender
public static final TrustError UntrustedSender
UnknownRecipient
public static final TrustError UnknownRecipient
MissingSenderSignature
public static final TrustError MissingSenderSignature
MissingSenderCertificate
public static final TrustError MissingSenderCertificate
MissingRecipientCertificate
public static final TrustError MissingRecipientCertificate
NoTrustedRecipients
public static final TrustError NoTrustedRecipients
SignatureValidation
public static final TrustError SignatureValidation
values
public static TrustError[] 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 (TrustError c : TrustError.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TrustError 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-2015 NHIN Direct. All Rights Reserved.