Table of Contents

Class CmpCertificate

Namespace
Org.BouncyCastle.Asn1.Cmp
Assembly
BouncyCastle.Cryptography.dll
public class CmpCertificate : Asn1Encodable, IAsn1Convertible, IAsn1Choice
Inheritance
CmpCertificate
Implements
Derived
Inherited Members

Constructors

CmpCertificate(X509CertificateStructure)

public CmpCertificate(X509CertificateStructure x509v3PKCert)

Parameters

x509v3PKCert X509CertificateStructure

CmpCertificate(int, Asn1Encodable)

[Obsolete("Use 'GetInstance' from tagged object instead")]
public CmpCertificate(int type, Asn1Encodable otherCert)

Parameters

type int
otherCert Asn1Encodable

Properties

IsX509v3PKCert

public virtual bool IsX509v3PKCert { get; }

Property Value

bool

OtherCert

public virtual Asn1Encodable OtherCert { get; }

Property Value

Asn1Encodable

OtherCertTag

public virtual int OtherCertTag { get; }

Property Value

int

X509v3PKCert

public virtual X509CertificateStructure X509v3PKCert { get; }

Property Value

X509CertificateStructure

Methods

GetInstance(Asn1TaggedObject, bool)

public static CmpCertificate GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

CmpCertificate

GetInstance(object)

public static CmpCertificate GetInstance(object obj)

Parameters

obj object

Returns

CmpCertificate

GetOptional(Asn1Encodable)

public static CmpCertificate GetOptional(Asn1Encodable element)

Parameters

element Asn1Encodable

Returns

CmpCertificate

GetTagged(Asn1TaggedObject, bool)

public static CmpCertificate GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

CmpCertificate

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object