org.mozilla.jss.pkix.cmc
public class OtherMsg extends Object implements ASN1Value
The definition of OtherMsg comes from RFC 2797.
OtherMsg ::= SEQUENCE {
bodyPartID BodyPartID,
otherMsgType Object Identifier,
otherMsgValue ANY defined by otherMsgType}
| Nested Class Summary | |
|---|---|
| static class | OtherMsg.Template
A Template for decoding a OtherMsg. |
| Constructor Summary | |
|---|---|
| OtherMsg(INTEGER bodyPartID, OBJECT_IDENTIFIER otherMsgType, ANY otherMsgValue)
Constructs a new OtherMsg from its components. | |
| Method Summary | |
|---|---|
| void | encode(OutputStream ostream) |
| void | encode(Tag implicitTag, OutputStream ostream) |
| INTEGER | getBodyPartID()
Returns the bodyPartID field. |
| OBJECT_IDENTIFIER | getOtherMsgType()
Returns the otherMsgType field. |
| ANY | getOtherMsgValue()
Returns the otherMsgValue field. |
| Tag | getTag() |
| static OtherMsg.Template | getTemplate() |
OtherMsg from its components.bodyPartID field.otherMsgType field.otherMsgValue field.