public class OtherReqMsg extends java.lang.Object implements ASN1Value
OtherReqMsg is to be used by the "orm" field of the TaggedRequest per definition in RFC 5272. OtherReqMsg ::= SEQUENCE { bodyPartID BodyPartID, requestMessageType Object Identifier, requestMessageValue ANY defined by requestMessageType}
Modifier and Type | Class and Description |
---|---|
static class |
OtherReqMsg.Template
A Template for decoding a
OtherReqMsg . |
Constructor and Description |
---|
OtherReqMsg(INTEGER bodyPartID,
OBJECT_IDENTIFIER requestMessageType,
ANY requestMessageValue)
Constructs a new
OtherReqMsg from its components. |
Modifier and Type | Method and Description |
---|---|
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.
|
INTEGER |
getBodyPartID()
Returns the
bodyPartID field. |
OBJECT_IDENTIFIER |
getOtherReqMsgType()
Returns the
requestMessageType field. |
ANY |
getOtherReqMsgValue()
Returns the
requestMessageValue field. |
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
static OtherReqMsg.Template |
getTemplate() |
public OtherReqMsg(INTEGER bodyPartID, OBJECT_IDENTIFIER requestMessageType, ANY requestMessageValue)
OtherReqMsg
from its components.public INTEGER getBodyPartID()
bodyPartID
field.public OBJECT_IDENTIFIER getOtherReqMsgType()
requestMessageType
field.public ANY getOtherReqMsgValue()
requestMessageValue
field.public Tag getTag()
ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public static OtherReqMsg.Template getTemplate()