Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.asn1.cmp
Class CertAnnContent

java.lang.Object
  |
  +--org.bouncycastle.asn1.ASN1Object
        |
        +--org.bouncycastle.asn1.cmp.CMPCertificate
              |
              +--org.bouncycastle.asn1.cmp.CertAnnContent
All Implemented Interfaces:
ASN1Choice, ASN1Encodable, Encodable

public class CertAnnContent
extends CMPCertificate

CertAnnContent ::= CMPCertificate


Constructor Summary
CertAnnContent(AttributeCertificate x509v2AttrCert)
          Deprecated. use (type, otherCert) constructor
CertAnnContent(Certificate x509v3PKCert)
           
CertAnnContent(int type, ASN1Object otherCert)
           
 
Method Summary
static CMPCertificate getInstance(ASN1TaggedObject ato, boolean isExplicit)
           
static CMPCertificate getInstance(java.lang.Object o)
           
 
Methods inherited from class org.bouncycastle.asn1.cmp.CMPCertificate
getOtherCert, getOtherCertTag, getX509v2AttrCert, getX509v3PKCert, isX509v3PKCert, toASN1Primitive
 
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertAnnContent

public CertAnnContent(AttributeCertificate x509v2AttrCert)
Deprecated. use (type, otherCert) constructor

Note: the addition of attribute certificates is a BC extension. If you use this constructor they will be added with a tag value of 1.

CertAnnContent

public CertAnnContent(int type,
                      ASN1Object otherCert)

CertAnnContent

public CertAnnContent(Certificate x509v3PKCert)
Method Detail

getInstance

public static CMPCertificate getInstance(ASN1TaggedObject ato,
                                         boolean isExplicit)

getInstance

public static CMPCertificate getInstance(java.lang.Object o)

Bouncy Castle Cryptography Library 1.77.0