Package org.bouncycastle.asn1.dvcs
Class CertEtcToken
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.dvcs.CertEtcToken
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice
,org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class CertEtcToken
extends org.bouncycastle.asn1.ASN1Object
implements org.bouncycastle.asn1.ASN1Choice
CertEtcToken ::= CHOICE { certificate [0] IMPLICIT Certificate , esscertid [1] ESSCertId , pkistatus [2] IMPLICIT PKIStatusInfo , assertion [3] ContentInfo , crl [4] IMPLICIT CertificateList, ocspcertstatus [5] CertStatus, oscpcertid [6] IMPLICIT CertId , oscpresponse [7] IMPLICIT OCSPResponse, capabilities [8] SMIMECapabilities, extension Extension }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionCertEtcToken
(int tagNo, org.bouncycastle.asn1.ASN1Encodable value) CertEtcToken
(org.bouncycastle.asn1.x509.Extension extension) -
Method Summary
Modifier and TypeMethodDescriptionstatic CertEtcToken[]
arrayFromSequence
(org.bouncycastle.asn1.ASN1Sequence seq) org.bouncycastle.asn1.x509.Extension
static CertEtcToken
getInstance
(Object obj) int
getTagNo()
org.bouncycastle.asn1.ASN1Encodable
getValue()
org.bouncycastle.asn1.ASN1Primitive
toString()
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
TAG_CERTIFICATE
public static final int TAG_CERTIFICATE- See Also:
-
TAG_ESSCERTID
public static final int TAG_ESSCERTID- See Also:
-
TAG_PKISTATUS
public static final int TAG_PKISTATUS- See Also:
-
TAG_ASSERTION
public static final int TAG_ASSERTION- See Also:
-
TAG_CRL
public static final int TAG_CRL- See Also:
-
TAG_OCSPCERTSTATUS
public static final int TAG_OCSPCERTSTATUS- See Also:
-
TAG_OCSPCERTID
public static final int TAG_OCSPCERTID- See Also:
-
TAG_OCSPRESPONSE
public static final int TAG_OCSPRESPONSE- See Also:
-
TAG_CAPABILITIES
public static final int TAG_CAPABILITIES- See Also:
-
-
Constructor Details
-
CertEtcToken
public CertEtcToken(int tagNo, org.bouncycastle.asn1.ASN1Encodable value) -
CertEtcToken
public CertEtcToken(org.bouncycastle.asn1.x509.Extension extension)
-
-
Method Details
-
getInstance
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-
getTagNo
public int getTagNo() -
getValue
public org.bouncycastle.asn1.ASN1Encodable getValue() -
getExtension
public org.bouncycastle.asn1.x509.Extension getExtension() -
toString
-
arrayFromSequence
-