Enum PKIFailureInfo

java.lang.Object
java.lang.Enum<PKIFailureInfo>
org.apache.harmony.security.x509.tsp.PKIFailureInfo
All Implemented Interfaces:
Serializable, Comparable<PKIFailureInfo>

public enum PKIFailureInfo
extends Enum<PKIFailureInfo>
Corresponds to PKIFailureInfo structure. See RFC 3161 - Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP) http://www.ietf.org/rfc/rfc3161.txt) PKIFailureInfo ::= BIT STRING { badAlg (0), -- unrecognized or unsupported Algorithm Identifier badRequest (2), -- transaction not permitted or supported badDataFormat (5), -- the data submitted has the wrong format timeNotAvailable (14), -- the TSA's time source is not available unacceptedPolicy (15), -- the requested TSA policy is not supported by the TSA unacceptedExtension (16), -- the requested extension is not supported by the TSA addInfoNotAvailable (17) -- the additional information requested could not be understood -- or is not available systemFailure (25) -- the request cannot be handled due to system failure } The value of PKIFailureInfo can take only one of the values, so it is represented by an integer here.