Package org.mozilla.jss.pkix.cmc
Class ExtendedFailInfo
- java.lang.Object
-
- org.mozilla.jss.pkix.cmc.ExtendedFailInfo
-
- All Implemented Interfaces:
ASN1Value
public class ExtendedFailInfo extends java.lang.Object implements ASN1Value
ExtendedFailInfo per rfc 5272 It is to be used in CMCStatusInfoV2 as a CHOICE of otherInfoExtendedFailInfo ::= SEQUENCE { failInfoOID OBJECT IDENTIFIER, failInfoValue ANY DEFINED BY failInfoOID }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExtendedFailInfo.Template
A Template for decoding an ExtendedFailInfo.
-
Constructor Summary
Constructors Constructor Description ExtendedFailInfo(OBJECT_IDENTIFIER failInfoOID, ASN1Value failInfoValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 implicit, java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using an implicit tag.OBJECT_IDENTIFIER
getOID()
Tag
getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static ExtendedFailInfo.Template
getTemplate()
ANY
getValue()
Returns the failInfoValue of this ExtendedFailInfo, encoded as an ANY.
-
-
-
Field Detail
-
TAG
public static final Tag TAG
-
-
Constructor Detail
-
ExtendedFailInfo
public ExtendedFailInfo(OBJECT_IDENTIFIER failInfoOID, ASN1Value failInfoValue)
-
-
Method Detail
-
getTag
public Tag 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
public OBJECT_IDENTIFIER getOID()
-
getValue
public ANY getValue()
Returns the failInfoValue of this ExtendedFailInfo, encoded as an ANY.
-
encode
public void encode(java.io.OutputStream ostream) throws java.io.IOException
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using its own base tag.
-
encode
public void encode(Tag implicit, java.io.OutputStream ostream) throws java.io.IOException
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using an implicit tag.
-
getTemplate
public static ExtendedFailInfo.Template getTemplate()
-
-