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 class
A Template for decoding an ExtendedFailInfo. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate OBJECT_IDENTIFIER
private ANY
static final Tag
private static final ExtendedFailInfo.Template
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream ostream) Write this value's DER encoding to an output stream using its own base tag.void
encode
(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.Template
getValue()
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:ASN1Value
Returns 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:ASN1Value
Write this value's DER encoding to an output stream using its own base tag.- Specified by:
encode
in interfaceASN1Value
- Parameters:
ostream
- Output stream.- Throws:
IOException
- If an error occurred.
-
encode
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using an implicit tag.- Specified by:
encode
in interfaceASN1Value
- Parameters:
implicit
- Implicit tag.ostream
- Output stream.- Throws:
IOException
- If an error occurred.
-
getTemplate
-