org.mozilla.jss.pkix.cmc
public class OtherInfo extends Object implements ASN1Value
OtherInfo ::= CHOICE { failInfo INTEGER, pendInfo PendInfo }
Nested Class Summary | |
---|---|
static class | OtherInfo.Template
A Template for decoding a OtherInfo. |
static class | OtherInfo.Type
The type of OtherInfo. |
Field Summary | |
---|---|
static int | BAD_ALG |
static int | BAD_CERT_ID |
static int | BAD_IDENTITY |
static int | BAD_MESSAGE_CHECK |
static int | BAD_REQUEST |
static int | BAD_TIME |
static OtherInfo.Type | FAIL |
static String[] | FAIL_INFO |
static int | INTERNAL_CA_ERROR |
static int | MUST_ARCHIVE_KEYS |
static int | NO_KEY_REUSE |
static OtherInfo.Type | PEND |
static int | POP_FAILED |
static int | POP_REQUIRED |
static int | TRY_LATER |
static int | UNSUPORTED_EXT |
Constructor Summary | |
---|---|
OtherInfo() | |
OtherInfo(OtherInfo.Type type, INTEGER failInfo, PendInfo pendInfo)
Constructs a OtherInfo from its components.
|
Method Summary | |
---|---|
void | encode(OutputStream ostream) |
void | encode(Tag implicitTag, OutputStream ostream) |
INTEGER | getFailInfo()
If type == FAIL, returns the failInfo field. |
PendInfo | getPendInfo()
If type == PEND, returns the pendInfo field. |
Tag | getTag() |
static OtherInfo.Template | getTemplate() |
OtherInfo.Type | getType()
Returns the type of OtherInfo:
|
Parameters: type The type of the otherInfo. failInfo the CMCFailInfo code. pendInfo the pending information.
FAIL
PEND