Package org.mozilla.jss.pkix.cmc
Class OtherReqMsg
java.lang.Object
org.mozilla.jss.pkix.cmc.OtherReqMsg
- All Implemented Interfaces:
ASN1Value
CMC OtherReqMsg.
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}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA Template for decoding aOtherReqMsg. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate INTEGERprivate OBJECT_IDENTIFIERprivate ANYprivate SEQUENCEprivate static final Tagprivate static final OtherReqMsg.Template -
Constructor Summary
ConstructorsConstructorDescriptionOtherReqMsg(INTEGER bodyPartID, OBJECT_IDENTIFIER requestMessageType, ANY requestMessageValue) Constructs a newOtherReqMsgfrom 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 therequestMessageTypefield.Returns therequestMessageValuefield.getTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static OtherReqMsg.Template
-
Field Details
-
bodyPartID
-
requestMessageType
-
requestMessageValue
-
sequence
-
TAG
-
templateInstance
-
-
Constructor Details
-
OtherReqMsg
public OtherReqMsg(INTEGER bodyPartID, OBJECT_IDENTIFIER requestMessageType, ANY requestMessageValue) Constructs a newOtherReqMsgfrom its components.
-
-
Method Details
-
getBodyPartID
Returns thebodyPartIDfield. -
getOtherReqMsgType
Returns therequestMessageTypefield. -
getOtherReqMsgValue
Returns therequestMessageValuefield. -
getTag
Description copied from interface:ASN1ValueReturns the base tag for this type, not counting any tags that may be imposed on it by its context. -
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
-