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 Details

  • Constructor Details

    • CertEtcToken

      public CertEtcToken(int tagNo, org.bouncycastle.asn1.ASN1Encodable value)
    • CertEtcToken

      public CertEtcToken(org.bouncycastle.asn1.x509.Extension extension)
  • Method Details

    • getInstance

      public static CertEtcToken getInstance(Object obj)
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
    • getTagNo

      public int getTagNo()
    • getValue

      public org.bouncycastle.asn1.ASN1Encodable getValue()
    • getExtension

      public org.bouncycastle.asn1.x509.Extension getExtension()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • arrayFromSequence

      public static CertEtcToken[] arrayFromSequence(org.bouncycastle.asn1.ASN1Sequence seq)