Package org.mozilla.jss.pkix.cmc
Class ExtendedFailInfo
java.lang.Object
org.mozilla.jss.pkix.cmc.ExtendedFailInfo
- All Implemented Interfaces:
ASN1Value
ExtendedFailInfo per rfc 5272
It is to be used in CMCStatusInfoV2 as a CHOICE of otherInfo
ExtendedFailInfo ::= SEQUENCE {
failInfoOID OBJECT IDENTIFIER,
failInfoValue ANY DEFINED BY failInfoOID }
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA Template for decoding an ExtendedFailInfo. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate OBJECT_IDENTIFIERprivate ANYstatic final Tagprivate static final ExtendedFailInfo.Template -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream ostream) Write this value's DER encoding to an output stream using its own base tag.voidencode(Tag implicit, OutputStream ostream) Write this value's DER encoding to an output stream using an implicit tag.getOID()getTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static ExtendedFailInfo.TemplategetValue()Returns the failInfoValue of this ExtendedFailInfo, encoded as an ANY.
-
Field Details
-
failInfoOID
-
failInfoValue
-
TAG
-
templateInstance
-
-
Constructor Details
-
ExtendedFailInfo
-
-
Method Details
-
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. -
getOID
-
getValue
Returns the failInfoValue of this ExtendedFailInfo, encoded as an ANY. -
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:
implicit- Implicit tag.ostream- Output stream.- Throws:
IOException- If an error occurred.
-
getTemplate
-