Modifier and Type | Class and Description |
---|---|
static class |
OtherMsg.Template
A Template for decoding a
OtherMsg . |
Constructor and Description |
---|
OtherMsg(INTEGER bodyPartID,
OBJECT_IDENTIFIER otherMsgType,
ANY otherMsgValue)
Constructs a new
OtherMsg 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 |
getOtherMsgType()
Returns the
otherMsgType field. |
ANY |
getOtherMsgValue()
Returns the
otherMsgValue field. |
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
static OtherMsg.Template |
getTemplate() |
public OtherMsg(INTEGER bodyPartID, OBJECT_IDENTIFIER otherMsgType, ANY otherMsgValue)
OtherMsg
from its components.public INTEGER getBodyPartID()
bodyPartID
field.public OBJECT_IDENTIFIER getOtherMsgType()
otherMsgType
field.public ANY getOtherMsgValue()
otherMsgValue
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 OtherMsg.Template getTemplate()