org.bouncycastle.cms
Class RecipientInformationStore
java.lang.Objectorg.bouncycastle.cms.RecipientInformationStore
public class RecipientInformationStore
extends java.lang.Object
RecipientInformation | get(RecipientId selector)- Return the first RecipientInformation object that matches the
passed in selector.
|
Collection | getRecipients()- Return all recipients in the collection
|
Collection | getRecipients(RecipientId selector)- Return possible empty collection with recipients matching the passed in RecipientId
|
int | size()- Return the number of recipients in the collection.
|
RecipientInformationStore
public RecipientInformationStore(Collection recipientInfos)
get
public RecipientInformation get(RecipientId selector)
Return the first RecipientInformation object that matches the
passed in selector. Null if there are no matches.
selector - to identify a recipient
- a single RecipientInformation object. Null if none matches.
getRecipients
public Collection getRecipients()
Return all recipients in the collection
- a collection of recipients.
getRecipients
public Collection getRecipients(RecipientId selector)
Return possible empty collection with recipients matching the passed in RecipientId
selector - a recipient id to select against.
- a collection of RecipientInformation objects.
size
public int size()
Return the number of recipients in the collection.
- number of recipients identified.