FileDocCategorySizeDatePackage
PKIFailureInfo.javaAPI DocAndroid 1.5 API5597Wed May 06 22:41:06 BST 2009org.bouncycastle.asn1.cmp

PKIFailureInfo

public class PKIFailureInfo extends org.bouncycastle.asn1.DERBitString
PKIFailureInfo ::= BIT STRING {
badAlg (0),
-- unrecognized or unsupported Algorithm Identifier
badMessageCheck (1), -- integrity check failed (e.g., signature did not verify)
badRequest (2),
-- transaction not permitted or supported
badTime (3), -- messageTime was not sufficiently close to the system time, as defined by local policy
badCertId (4), -- no certificate could be found matching the provided criteria
badDataFormat (5),
-- the data submitted has the wrong format
wrongAuthority (6), -- the authority indicated in the request is different from the one creating the response token
incorrectData (7), -- the requester's data is incorrect (for notary services)
missingTimeStamp (8), -- when the timestamp is missing but should be there (by policy)
badPOP (9) -- the proof-of-possession failed
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

Fields Summary
public static final int
badAlg
public static final int
badMessageCheck
public static final int
badRequest
public static final int
badTime
public static final int
badCertId
public static final int
badDataFormat
public static final int
wrongAuthority
public static final int
incorrectData
public static final int
missingTimeStamp
public static final int
badPOP
public static final int
timeNotAvailable
public static final int
unacceptedPolicy
public static final int
unacceptedExtension
public static final int
addInfoNotAvailable
public static final int
systemFailure
public static final int
BAD_ALG
public static final int
BAD_MESSAGE_CHECK
public static final int
BAD_REQUEST
public static final int
BAD_TIME
public static final int
BAD_CERT_ID
public static final int
BAD_DATA_FORMAT
public static final int
WRONG_AUTHORITY
public static final int
INCORRECT_DATA
public static final int
MISSING_TIME_STAMP
public static final int
BAD_POP
public static final int
TIME_NOT_AVAILABLE
public static final int
UNACCEPTED_POLICY
public static final int
UNACCEPTED_EXTENSION
public static final int
ADD_INFO_NOT_AVAILABLE
public static final int
SYSTEM_FAILURE
Constructors Summary
public PKIFailureInfo(int info)
Basic constructor.

 
           
     
         
    
        super(getBytes(info), getPadBits(info));
    
public PKIFailureInfo(org.bouncycastle.asn1.DERBitString info)

        super(info.getBytes(), info.getPadBits());
    
Methods Summary
public java.lang.StringtoString()

        return "PKIFailureInfo: 0x" + Integer.toHexString(this.intValue());