Table of Contents

Class ContentInfo

Namespace
Org.BouncyCastle.Asn1.Pkcs
Assembly
BouncyCastle.Cryptography.dll
public class ContentInfo : Asn1Encodable, IAsn1Convertible
Inheritance
ContentInfo
Implements
Inherited Members

Constructors

ContentInfo(DerObjectIdentifier, Asn1Encodable)

public ContentInfo(DerObjectIdentifier contentType, Asn1Encodable content)

Parameters

contentType DerObjectIdentifier
content Asn1Encodable

Properties

Content

public Asn1Encodable Content { get; }

Property Value

Asn1Encodable

ContentType

public DerObjectIdentifier ContentType { get; }

Property Value

DerObjectIdentifier

Methods

GetInstance(Asn1TaggedObject, bool)

public static ContentInfo GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

ContentInfo

GetInstance(object)

public static ContentInfo GetInstance(object obj)

Parameters

obj object

Returns

ContentInfo

GetTagged(Asn1TaggedObject, bool)

public static ContentInfo GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

ContentInfo

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object