org.mozilla.jss.pkix.cmmf
public class PKIStatusInfo extends Object implements ASN1Value
| Nested Class Summary | |
|---|---|
| static class | PKIStatusInfo.Template |
| Field Summary | |
|---|---|
| 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 Summary | |
|---|---|
| PKIStatusInfo(int status, int failInfo) | |
| PKIStatusInfo(int status)
Create a PKIStatusInfo with no failure info. | |
| Method Summary | |
|---|---|
| void | addFreeText(String s)
Adds a string to the statusString SEQUENCE. |
| void | addFreeText(UTF8String s)
Adds a UTF8String to the statusString SEQUENCE. |
| void | encode(OutputStream ostream) |
| void | encode(Tag implicitTag, OutputStream ostream) |
| Tag | getTag() |
| static PKIStatusInfo.Template | getTemplate() |
| void | setStatusString(SEQUENCE statusString)
Sets the statusString field. |
Parameters: status A PKIStatus constant. failInfo The bitwise AND of the PKIFailureInfo constants.
Parameters: status A PKIStatus constant. failInfo The bitwise AND of the PKIFailureInfo constants.
statusString field. May be null, since this
field is optional.