org.nhindirect.stagent.cryptography
Enum SignatureError

java.lang.Object
  extended by java.lang.Enum<SignatureError>
      extended by 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

Enum Constant Summary
ContentNotDataContainer
           
InvalidMultipartSigned
           
InvalidSignedEntity
           
NoCertificates
           
NoSigners
           
NotDetachedSignature
           
NotSignatureEnvelope
           
NullContent
           
NullEntity
           
 
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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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-2013 NHIN Direct. All Rights Reserved.