org.mozilla.jss.pkix.cmc
public class CMCStatusInfo extends Object implements ASN1Value
CMCStatusInfo ::= SEQUENCE { cMCStatus CMCStatus, bodyList SEQUENCE SIZE (1..MAX) OF BodyPartID, statusString UTF8String OPTIONAL, otherInfo CHOICE { failInfo CMCFailInfo, pendInfo PendInfo } OPTIONAL } PendInfo ::= SEQUENCE { pendToken OCTET STRING, pendTime GeneralizedTime }
Nested Class Summary | |
---|---|
static class | CMCStatusInfo.Template |
Field Summary | |
---|---|
static INTEGER | BODYIDMAX |
static int | CONFIRM_REQUIRED |
static int | FAILED |
static int | NOSUPPORT |
static int | PENDING |
static int | RESERVED |
static String[] | STATUS |
static int | SUCCESS |
static Tag | TAG |
Constructor Summary | |
---|---|
CMCStatusInfo(int status, SEQUENCE bodyList) | |
CMCStatusInfo(int status, SEQUENCE bodyList, String statusString, OtherInfo otherInfo) | |
CMCStatusInfo(INTEGER status, SEQUENCE bodyList, UTF8String statusString, OtherInfo otherInfo)
Create a CMCStatusInfo from decoding. |
Method Summary | |
---|---|
void | addBodyPartID(int id)
Adds a BodyPartID to the bodyList SEQUENCE. |
void | encode(OutputStream ostream) |
void | encode(Tag implicitTag, OutputStream ostream) |
SEQUENCE | getBodyList() |
OtherInfo | getOtherInfo() |
int | getStatus() |
String | getStatusString() |
Tag | getTag() |
static CMCStatusInfo.Template | getTemplate() |
void | setStatusString(String statusString)
Sets the statusString field. |
Parameters: status A CMCStatus constant. bodyList The sequence of bodyPartID.
Parameters: status A CMCStatus constant. bodyList The sequence of bodyPartID. statusString A String. OtherInfo The OtherInfo choice.
Parameters: status A CMCStatus constant. bodyList The sequence of bodyPartID. statusString A UTF8String. otherInfo A CHOICE.
statusString
field. May be null, since this
field is optional.