org.bouncycastle.asn1.cmp

Class PKIFailureInfo

Implemented Interfaces:
DEREncodable, DERString, DERTags

public class PKIFailureInfo
extends 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 
 

Field Summary

static int
ADD_INFO_NOT_AVAILABLE
Deprecated. use lower case version
static int
BAD_ALG
Deprecated. use lower case version
static int
BAD_CERT_ID
Deprecated. use lower case version
static int
BAD_DATA_FORMAT
Deprecated. use lower case version
static int
BAD_MESSAGE_CHECK
Deprecated. use lower case version
static int
BAD_POP
Deprecated. use lower case version
static int
BAD_REQUEST
Deprecated. use lower case version
static int
BAD_TIME
Deprecated. use lower case version
static int
INCORRECT_DATA
Deprecated. use lower case version
static int
MISSING_TIME_STAMP
Deprecated. use lower case version
static int
SYSTEM_FAILURE
Deprecated. use lower case version
static int
TIME_NOT_AVAILABLE
Deprecated. use lower case version
static int
UNACCEPTED_EXTENSION
Deprecated. use lower case version
static int
UNACCEPTED_POLICY
Deprecated. use lower case version
static int
WRONG_AUTHORITY
Deprecated. use lower case version
static int
addInfoNotAvailable
static int
badAlg
static int
badCertId
static int
badDataFormat
static int
badMessageCheck
static int
badPOP
static int
badRequest
static int
badTime
static int
incorrectData
static int
missingTimeStamp
static int
systemFailure
static int
timeNotAvailable
static int
unacceptedExtension
static int
unacceptedPolicy
static int
wrongAuthority

Fields inherited from class org.bouncycastle.asn1.DERBitString

data, padBits

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Fields inherited from interface org.bouncycastle.asn1.DERTags

APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, ENUMERATED, EXTERNAL, GENERALIZED_TIME, GENERAL_STRING, GRAPHIC_STRING, IA5_STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, SEQUENCE, SEQUENCE_OF, SET, SET_OF, T61_STRING, TAGGED, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, VIDEOTEX_STRING, VISIBLE_STRING

Constructor Summary

PKIFailureInfo(int info)
Basic constructor.
PKIFailureInfo(DERBitString info)

Method Summary

String
toString()

Methods inherited from class org.bouncycastle.asn1.DERBitString

asn1Equals, getBytes, getBytes, getInstance, getInstance, getPadBits, getPadBits, getString, hashCode, intValue, toString

Methods inherited from class org.bouncycastle.asn1.ASN1Object

equals, fromByteArray, hashCode

Methods inherited from class org.bouncycastle.asn1.DERObject

equals, hashCode, toASN1Object

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Field Details

ADD_INFO_NOT_AVAILABLE

public static final int ADD_INFO_NOT_AVAILABLE

Deprecated. use lower case version

Field Value:
4194304

BAD_ALG

public static final int BAD_ALG

Deprecated. use lower case version

Field Value:
128

BAD_CERT_ID

public static final int BAD_CERT_ID

Deprecated. use lower case version

Field Value:
8

BAD_DATA_FORMAT

public static final int BAD_DATA_FORMAT

Deprecated. use lower case version

Field Value:
4

BAD_MESSAGE_CHECK

public static final int BAD_MESSAGE_CHECK

Deprecated. use lower case version

Field Value:
64

BAD_POP

public static final int BAD_POP

Deprecated. use lower case version

Field Value:
16384

BAD_REQUEST

public static final int BAD_REQUEST

Deprecated. use lower case version

Field Value:
32

BAD_TIME

public static final int BAD_TIME

Deprecated. use lower case version

Field Value:
16

INCORRECT_DATA

public static final int INCORRECT_DATA

Deprecated. use lower case version

Field Value:
1

MISSING_TIME_STAMP

public static final int MISSING_TIME_STAMP

Deprecated. use lower case version

Field Value:
32768

SYSTEM_FAILURE

public static final int SYSTEM_FAILURE

Deprecated. use lower case version

Field Value:
1073741824

TIME_NOT_AVAILABLE

public static final int TIME_NOT_AVAILABLE

Deprecated. use lower case version

Field Value:
512

UNACCEPTED_EXTENSION

public static final int UNACCEPTED_EXTENSION

Deprecated. use lower case version

Field Value:
8388608

UNACCEPTED_POLICY

public static final int UNACCEPTED_POLICY

Deprecated. use lower case version

Field Value:
256

WRONG_AUTHORITY

public static final int WRONG_AUTHORITY

Deprecated. use lower case version

Field Value:
2

addInfoNotAvailable

public static final int addInfoNotAvailable
Field Value:
4194304

badAlg

public static final int badAlg
Field Value:
128

badCertId

public static final int badCertId
Field Value:
8

badDataFormat

public static final int badDataFormat
Field Value:
4

badMessageCheck

public static final int badMessageCheck
Field Value:
64

badPOP

public static final int badPOP
Field Value:
16384

badRequest

public static final int badRequest
Field Value:
32

badTime

public static final int badTime
Field Value:
16

incorrectData

public static final int incorrectData
Field Value:
1

missingTimeStamp

public static final int missingTimeStamp
Field Value:
32768

systemFailure

public static final int systemFailure
Field Value:
1073741824

timeNotAvailable

public static final int timeNotAvailable
Field Value:
512

unacceptedExtension

public static final int unacceptedExtension
Field Value:
8388608

unacceptedPolicy

public static final int unacceptedPolicy
Field Value:
256

wrongAuthority

public static final int wrongAuthority
Field Value:
2

Constructor Details

PKIFailureInfo

public PKIFailureInfo(int info)
Basic constructor.

PKIFailureInfo

public PKIFailureInfo(DERBitString info)

Method Details

toString

public String toString()
Overrides:
toString in interface DERBitString