org.nhindirect.stagent.cryptography
Enum SignatureError
java.lang.Object
java.lang.Enum<SignatureError>
org.nhindirect.stagent.cryptography.SignatureError
- All Implemented Interfaces:
- Serializable, Comparable<SignatureError>
public enum SignatureError
- extends Enum<SignatureError>
Enumeration of message signature errors.
- Author:
- Greg Meyer, Umesh Madan
|
Method Summary |
static SignatureError |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SignatureError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
NullEntity
public static final SignatureError NullEntity
NullContent
public static final SignatureError NullContent
ContentNotDataContainer
public static final SignatureError ContentNotDataContainer
NoCertificates
public static final SignatureError NoCertificates
NoSigners
public static final SignatureError NoSigners
InvalidMultipartSigned
public static final SignatureError InvalidMultipartSigned
NotSignatureEnvelope
public static final SignatureError NotSignatureEnvelope
InvalidSignedEntity
public static final SignatureError InvalidSignedEntity
NotDetachedSignature
public static final SignatureError NotDetachedSignature
values
public static SignatureError[] 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 (SignatureError c : SignatureError.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SignatureError 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.