|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.jss.pkix.cmc.CMCStatusInfo
public class CMCStatusInfo
CMC CMCStatusInfo:
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 java.lang.String[] |
STATUS
|
static int |
SUCCESS
|
static Tag |
TAG
|
Constructor Summary | |
---|---|
CMCStatusInfo(INTEGER status,
SEQUENCE bodyList,
UTF8String statusString,
OtherInfo otherInfo)
Create a CMCStatusInfo from decoding. |
|
CMCStatusInfo(int status,
SEQUENCE bodyList)
|
|
CMCStatusInfo(int status,
SEQUENCE bodyList,
java.lang.String statusString,
OtherInfo otherInfo)
|
Method Summary | |
---|---|
void |
addBodyPartID(int id)
Adds a BodyPartID to the bodyList 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. |
SEQUENCE |
getBodyList()
|
OtherInfo |
getOtherInfo()
|
int |
getStatus()
|
java.lang.String |
getStatusString()
|
Tag |
getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context. |
static CMCStatusInfo.Template |
getTemplate()
|
void |
setStatusString(java.lang.String statusString)
Sets the statusString field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final INTEGER BODYIDMAX
public static final int SUCCESS
public static final int RESERVED
public static final int FAILED
public static final int PENDING
public static final int NOSUPPORT
public static final int CONFIRM_REQUIRED
public static final java.lang.String[] STATUS
public static final Tag TAG
Constructor Detail |
---|
public CMCStatusInfo(int status, SEQUENCE bodyList)
status
- A CMCStatus constant.bodyList
- The sequence of bodyPartID.public CMCStatusInfo(int status, SEQUENCE bodyList, java.lang.String statusString, OtherInfo otherInfo)
status
- A CMCStatus constant.bodyList
- The sequence of bodyPartID.statusString
- A String.OtherInfo
- The OtherInfo choice.public CMCStatusInfo(INTEGER status, SEQUENCE bodyList, UTF8String statusString, OtherInfo otherInfo)
status
- A CMCStatus constant.bodyList
- The sequence of bodyPartID.statusString
- A UTF8String.otherInfo
- A CHOICE.Method Detail |
---|
public void setStatusString(java.lang.String statusString)
statusString
field. May be null, since this
field is optional.
public void addBodyPartID(int id)
public int getStatus()
public SEQUENCE getBodyList()
public java.lang.String getStatusString()
public OtherInfo getOtherInfo()
public Tag getTag()
ASN1Value
getTag
in interface ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
encode
in interface ASN1Value
java.io.IOException
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
encode
in interface ASN1Value
java.io.IOException
public static CMCStatusInfo.Template getTemplate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |