kz.gamma.asn1.dvcs
Class CertEtcToken

java.lang.Object
  extended by kz.gamma.asn1.ASN1Encodable
      extended by kz.gamma.asn1.dvcs.CertEtcToken
All Implemented Interfaces:
ASN1Choice, DEREncodable

public class CertEtcToken
extends ASN1Encodable
implements 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
private static boolean[] explicit
           
private  Extension extension
           
static int TAG_ASSERTION
           
static int TAG_CAPABILITIES
           
static int TAG_CERTIFICATE
           
static int TAG_CRL
           
static int TAG_ESSCERTID
           
static int TAG_OCSPCERTID
           
static int TAG_OCSPCERTSTATUS
           
static int TAG_OCSPRESPONSE
           
static int TAG_PKISTATUS
           
private  int tagNo
           
private  ASN1Encodable value
           
 
Fields inherited from class kz.gamma.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
private CertEtcToken(ASN1TaggedObject choice)
           
  CertEtcToken(Extension extension)
           
  CertEtcToken(int tagNo, ASN1Encodable value)
           
 
Method Summary
static CertEtcToken[] arrayFromSequence(ASN1Sequence seq)
           
 Extension getExtension()
           
static CertEtcToken getInstance(java.lang.Object obj)
           
 int getTagNo()
           
 ASN1Encodable getValue()
           
 DERObject toASN1Object()
           
 java.lang.String toString()
           
 
Methods inherited from class kz.gamma.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG_CERTIFICATE

public static final int TAG_CERTIFICATE
See Also:
Constant Field Values

TAG_ESSCERTID

public static final int TAG_ESSCERTID
See Also:
Constant Field Values

TAG_PKISTATUS

public static final int TAG_PKISTATUS
See Also:
Constant Field Values

TAG_ASSERTION

public static final int TAG_ASSERTION
See Also:
Constant Field Values

TAG_CRL

public static final int TAG_CRL
See Also:
Constant Field Values

TAG_OCSPCERTSTATUS

public static final int TAG_OCSPCERTSTATUS
See Also:
Constant Field Values

TAG_OCSPCERTID

public static final int TAG_OCSPCERTID
See Also:
Constant Field Values

TAG_OCSPRESPONSE

public static final int TAG_OCSPRESPONSE
See Also:
Constant Field Values

TAG_CAPABILITIES

public static final int TAG_CAPABILITIES
See Also:
Constant Field Values

explicit

private static final boolean[] explicit

tagNo

private int tagNo

value

private ASN1Encodable value

extension

private Extension extension
Constructor Detail

CertEtcToken

public CertEtcToken(int tagNo,
                    ASN1Encodable value)

CertEtcToken

public CertEtcToken(Extension extension)

CertEtcToken

private CertEtcToken(ASN1TaggedObject choice)
Method Detail

getInstance

public static CertEtcToken getInstance(java.lang.Object obj)

toASN1Object

public DERObject toASN1Object()
Specified by:
toASN1Object in class ASN1Encodable

getTagNo

public int getTagNo()

getValue

public ASN1Encodable getValue()

getExtension

public Extension getExtension()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

arrayFromSequence

public static CertEtcToken[] arrayFromSequence(ASN1Sequence seq)


Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.