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 classExtendedFailInfo.TemplateA 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 voidencode(java.io.OutputStream ostream)Write this value's DER encoding to an output stream using its own base tag.voidencode(Tag implicit, java.io.OutputStream ostream)Write this value's DER encoding to an output stream using an implicit tag.OBJECT_IDENTIFIERgetOID()TaggetTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static ExtendedFailInfo.TemplategetTemplate()ANYgetValue()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:ASN1ValueReturns 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.IOExceptionDescription copied from interface:ASN1ValueWrite 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:ASN1ValueWrite this value's DER encoding to an output stream using an implicit tag.
-
getTemplate
public static ExtendedFailInfo.Template getTemplate()
-
-