Table of Contents

Class RecipientIdentifier

Namespace
Org.BouncyCastle.Asn1.Cms
Assembly
BouncyCastle.Cryptography.dll
public class RecipientIdentifier : Asn1Encodable, IAsn1Convertible, IAsn1Choice
Inheritance
RecipientIdentifier
Implements
Inherited Members

Constructors

RecipientIdentifier(Asn1Object)

[Obsolete("Will be removed")]
public RecipientIdentifier(Asn1Object id)

Parameters

id Asn1Object

RecipientIdentifier(Asn1OctetString)

[Obsolete("Use constructor taking a 'SubjectKeyIdentifier' instead")]
public RecipientIdentifier(Asn1OctetString id)

Parameters

id Asn1OctetString

RecipientIdentifier(IssuerAndSerialNumber)

public RecipientIdentifier(IssuerAndSerialNumber id)

Parameters

id IssuerAndSerialNumber

RecipientIdentifier(SubjectKeyIdentifier)

public RecipientIdentifier(SubjectKeyIdentifier id)

Parameters

id SubjectKeyIdentifier

Properties

ID

public Asn1Encodable ID { get; }

Property Value

Asn1Encodable

IsTagged

public bool IsTagged { get; }

Property Value

bool

Methods

GetInstance(Asn1TaggedObject, bool)

public static RecipientIdentifier GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

RecipientIdentifier

GetInstance(object)

public static RecipientIdentifier GetInstance(object o)

Parameters

o object

Returns

RecipientIdentifier

GetOptional(Asn1Encodable)

public static RecipientIdentifier GetOptional(Asn1Encodable element)

Parameters

element Asn1Encodable

Returns

RecipientIdentifier

GetTagged(Asn1TaggedObject, bool)

public static RecipientIdentifier GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

RecipientIdentifier

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object