Class OtherMsg
java.lang.Object
org.mozilla.jss.pkix.cmc.OtherMsg
- All Implemented Interfaces:
ASN1Value
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA Template for decoding aOtherMsg. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate INTEGER////////////////////////////////////////////////////////////////////private OBJECT_IDENTIFIERprivate ANYprivate SEQUENCEprivate static final Tag////////////////////////////////////////////////////////////////////private static final OtherMsg.Template -
Constructor Summary
ConstructorsConstructorDescriptionOtherMsg(INTEGER bodyPartID, OBJECT_IDENTIFIER otherMsgType, ANY otherMsgValue) Constructs a newOtherMsgfrom its components. -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream ostream) Write this value's DER encoding to an output stream using its own base tag.voidencode(Tag implicitTag, OutputStream ostream) Write this value's DER encoding to an output stream using an implicit tag.Returns thebodyPartIDfield.Returns theotherMsgTypefield.Returns theotherMsgValuefield.getTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static OtherMsg.Template
-
Field Details
-
bodyPartID
//////////////////////////////////////////////////////////////////// -
otherMsgType
-
otherMsgValue
-
sequence
-
TAG
//////////////////////////////////////////////////////////////////// -
templateInstance
-
-
Constructor Details
-
OtherMsg
Constructs a newOtherMsgfrom its components.
-
-
Method Details
-
getBodyPartID
Returns thebodyPartIDfield. -
getOtherMsgType
Returns theotherMsgTypefield. -
getOtherMsgValue
Returns theotherMsgValuefield. -
getTag
-
encode
Description copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using its own base tag.- Specified by:
encodein interfaceASN1Value- Parameters:
ostream- Output stream.- Throws:
IOException- If an error occurred.
-
encode
Description copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using an implicit tag.- Specified by:
encodein interfaceASN1Value- Parameters:
implicitTag- Implicit tag.ostream- Output stream.- Throws:
IOException- If an error occurred.
-
getTemplate
-