Table of Contents

Class RecipientInformationStore

Namespace
Org.BouncyCastle.Cms
Assembly
BouncyCastle.Cryptography.dll
public class RecipientInformationStore : IEnumerable<RecipientInformation>, IEnumerable
Inheritance
RecipientInformationStore
Implements
Inherited Members

Constructors

RecipientInformationStore(RecipientInformation)

public RecipientInformationStore(RecipientInformation recipientInfo)

Parameters

recipientInfo RecipientInformation

RecipientInformationStore(IEnumerable<RecipientInformation>)

public RecipientInformationStore(IEnumerable<RecipientInformation> recipientInfos)

Parameters

recipientInfos IEnumerable<RecipientInformation>

Properties

Count

The number of recipients in the collection.

public int Count { get; }

Property Value

int

this[RecipientID]

public RecipientInformation this[RecipientID selector] { get; }

Parameters

selector RecipientID

Property Value

RecipientInformation

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<RecipientInformation> GetEnumerator()

Returns

IEnumerator<RecipientInformation>

An enumerator that can be used to iterate through the collection.

GetFirstRecipient(RecipientID)

public RecipientInformation GetFirstRecipient(RecipientID selector)

Parameters

selector RecipientID

Returns

RecipientInformation

GetRecipients()

public IList<RecipientInformation> GetRecipients()

Returns

IList<RecipientInformation>

A list of all recipients in the collection

GetRecipients(RecipientID)

public IList<RecipientInformation> GetRecipients(RecipientID selector)

Parameters

selector RecipientID

Returns

IList<RecipientInformation>