public class

PKIFailureInfo

extends DERBitString
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.DERObject
       ↳ org.bouncycastle.asn1.ASN1Object
         ↳ org.bouncycastle.asn1.DERBitString
           ↳ org.bouncycastle.asn1.cmp.PKIFailureInfo

Class Overview

 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
 certRevoked         (10),
 certConfirmed       (11),
 wrongIntegrity      (12),
 badRecipientNonce   (13), 
 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
 badSenderNonce      (18),
 badCertTemplate     (19),
 signerNotTrusted    (20),
 transactionIdInUse  (21),
 unsupportedVersion  (22),
 notAuthorized       (23),
 systemUnavail       (24),    
 systemFailure       (25),
   -- the request cannot be handled due to system failure
 duplicateCertReq    (26) 
 

Summary

Constants
int ADD_INFO_NOT_AVAILABLE This constant is deprecated. use lower case version
int BAD_ALG This constant is deprecated. use lower case version
int BAD_CERT_ID This constant is deprecated. use lower case version
int BAD_DATA_FORMAT This constant is deprecated. use lower case version
int BAD_MESSAGE_CHECK This constant is deprecated. use lower case version
int BAD_POP This constant is deprecated. use lower case version
int BAD_REQUEST This constant is deprecated. use lower case version
int BAD_TIME This constant is deprecated. use lower case version
int INCORRECT_DATA This constant is deprecated. use lower case version
int MISSING_TIME_STAMP This constant is deprecated. use lower case version
int SYSTEM_FAILURE This constant is deprecated. use lower case version
int TIME_NOT_AVAILABLE This constant is deprecated. use lower case version
int UNACCEPTED_EXTENSION This constant is deprecated. use lower case version
int UNACCEPTED_POLICY This constant is deprecated. use lower case version
int WRONG_AUTHORITY This constant is deprecated. use lower case version
int addInfoNotAvailable
int badAlg
int badCertId
int badCertTemplate
int badDataFormat
int badMessageCheck
int badPOP
int badRecipientNonce
int badRequest
int badSenderNonce
int badTime
int certConfirmed
int certRevoked
int duplicateCertReq
int incorrectData
int missingTimeStamp
int notAuthorized
int signerNotTrusted
int systemFailure
int systemUnavail
int timeNotAvailable
int transactionIdInUse
int unacceptedExtension
int unacceptedPolicy
int unsupportedVersion
int wrongAuthority
int wrongIntegrity
[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
From interface org.bouncycastle.asn1.DERTags
[Expand]
Inherited Fields
From class org.bouncycastle.asn1.DERBitString
Public Constructors
PKIFailureInfo(int info)
Basic constructor.
PKIFailureInfo(DERBitString info)
Public Methods
String toString()
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.DERBitString
From class org.bouncycastle.asn1.ASN1Object
From class org.bouncycastle.asn1.DERObject
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.ASN1String
From interface org.bouncycastle.asn1.DEREncodable

Constants

public static final int ADD_INFO_NOT_AVAILABLE

This constant is deprecated.
use lower case version

Constant Value: 4194304 (0x00400000)

public static final int BAD_ALG

This constant is deprecated.
use lower case version

Constant Value: 128 (0x00000080)

public static final int BAD_CERT_ID

This constant is deprecated.
use lower case version

Constant Value: 8 (0x00000008)

public static final int BAD_DATA_FORMAT

This constant is deprecated.
use lower case version

Constant Value: 4 (0x00000004)

public static final int BAD_MESSAGE_CHECK

This constant is deprecated.
use lower case version

Constant Value: 64 (0x00000040)

public static final int BAD_POP

This constant is deprecated.
use lower case version

Constant Value: 16384 (0x00004000)

public static final int BAD_REQUEST

This constant is deprecated.
use lower case version

Constant Value: 32 (0x00000020)

public static final int BAD_TIME

This constant is deprecated.
use lower case version

Constant Value: 16 (0x00000010)

public static final int INCORRECT_DATA

This constant is deprecated.
use lower case version

Constant Value: 1 (0x00000001)

public static final int MISSING_TIME_STAMP

This constant is deprecated.
use lower case version

Constant Value: 32768 (0x00008000)

public static final int SYSTEM_FAILURE

This constant is deprecated.
use lower case version

Constant Value: 1073741824 (0x40000000)

public static final int TIME_NOT_AVAILABLE

This constant is deprecated.
use lower case version

Constant Value: 512 (0x00000200)

public static final int UNACCEPTED_EXTENSION

This constant is deprecated.
use lower case version

Constant Value: 8388608 (0x00800000)

public static final int UNACCEPTED_POLICY

This constant is deprecated.
use lower case version

Constant Value: 256 (0x00000100)

public static final int WRONG_AUTHORITY

This constant is deprecated.
use lower case version

Constant Value: 2 (0x00000002)

public static final int addInfoNotAvailable

Constant Value: 4194304 (0x00400000)

public static final int badAlg

Constant Value: 128 (0x00000080)

public static final int badCertId

Constant Value: 8 (0x00000008)

public static final int badCertTemplate

Constant Value: 1048576 (0x00100000)

public static final int badDataFormat

Constant Value: 4 (0x00000004)

public static final int badMessageCheck

Constant Value: 64 (0x00000040)

public static final int badPOP

Constant Value: 16384 (0x00004000)

public static final int badRecipientNonce

Constant Value: 1024 (0x00000400)

public static final int badRequest

Constant Value: 32 (0x00000020)

public static final int badSenderNonce

Constant Value: 2097152 (0x00200000)

public static final int badTime

Constant Value: 16 (0x00000010)

public static final int certConfirmed

Constant Value: 4096 (0x00001000)

public static final int certRevoked

Constant Value: 8192 (0x00002000)

public static final int duplicateCertReq

Constant Value: 536870912 (0x20000000)

public static final int incorrectData

Constant Value: 1 (0x00000001)

public static final int missingTimeStamp

Constant Value: 32768 (0x00008000)

public static final int notAuthorized

Constant Value: 65536 (0x00010000)

public static final int signerNotTrusted

Constant Value: 524288 (0x00080000)

public static final int systemFailure

Constant Value: 1073741824 (0x40000000)

public static final int systemUnavail

Constant Value: -2147483648 (0x80000000)

public static final int timeNotAvailable

Constant Value: 512 (0x00000200)

public static final int transactionIdInUse

Constant Value: 262144 (0x00040000)

public static final int unacceptedExtension

Constant Value: 8388608 (0x00800000)

public static final int unacceptedPolicy

Constant Value: 256 (0x00000100)

public static final int unsupportedVersion

Constant Value: 131072 (0x00020000)

public static final int wrongAuthority

Constant Value: 2 (0x00000002)

public static final int wrongIntegrity

Constant Value: 2048 (0x00000800)

Public Constructors

public PKIFailureInfo (int info)

Basic constructor.

public PKIFailureInfo (DERBitString info)

Public Methods

public String toString ()