Modifier and Type | Class and Description |
---|---|
static class |
PKIStatusInfo.Template |
Modifier and Type | Field and Description |
---|---|
static int |
badAlg |
static int |
badCertId |
static int |
badDataFormat |
static int |
badMessageCheck |
static int |
badRequest |
static int |
badTime |
static int |
granted |
static int |
grantedWithMods |
static int |
incorrectData |
static int |
keyUpdateWarning |
static int |
missingTimeStamp |
static int |
rejection |
static int |
revocationNotification |
static int |
revocationWarning |
static Tag |
TAG |
static int |
waiting |
static int |
wrongAuthority |
Constructor and Description |
---|
PKIStatusInfo(int status)
Create a PKIStatusInfo with no failure info.
|
PKIStatusInfo(int status,
int failInfo) |
Modifier and Type | Method and Description |
---|---|
void |
addFreeText(java.lang.String s)
Adds a string to the statusString SEQUENCE.
|
void |
addFreeText(UTF8String s)
Adds a UTF8String to the statusString SEQUENCE.
|
void |
encode(java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
its own base tag.
|
void |
encode(Tag implicitTag,
java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
an implicit tag.
|
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
static PKIStatusInfo.Template |
getTemplate() |
void |
setStatusString(SEQUENCE statusString)
Sets the
statusString field. |
public static final int granted
public static final int grantedWithMods
public static final int rejection
public static final int waiting
public static final int revocationWarning
public static final int revocationNotification
public static final int keyUpdateWarning
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 Tag TAG
public PKIStatusInfo(int status, int failInfo)
status
- A PKIStatus constant.failInfo
- The bitwise AND of the PKIFailureInfo constants.public PKIStatusInfo(int status)
status
- A PKIStatus constant.public void setStatusString(SEQUENCE statusString)
statusString
field. May be null, since this
field is optional.public void addFreeText(java.lang.String s)
public void addFreeText(UTF8String s)
public Tag getTag()
ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public static PKIStatusInfo.Template getTemplate()