Constructor and Description |
---|
RecipientInformationStore(java.util.Collection recipientInfos) |
RecipientInformationStore(RecipientInformation recipientInformation)
Create a store containing a single RecipientInformation object.
|
Modifier and Type | Method and Description |
---|---|
RecipientInformation |
get(RecipientId selector)
Return the first RecipientInformation object that matches the
passed in selector.
|
java.util.Collection |
getRecipients()
Return all recipients in the collection
|
java.util.Collection |
getRecipients(RecipientId selector)
Return possible empty collection with recipients matching the passed in RecipientId
|
java.util.Iterator |
iterator()
Support method for Iterable where available.
|
int |
size()
Return the number of recipients in the collection.
|
public RecipientInformationStore(RecipientInformation recipientInformation)
recipientInformation
- the signer information to contain.public RecipientInformationStore(java.util.Collection recipientInfos)
public RecipientInformation get(RecipientId selector)
selector
- to identify a recipientpublic int size()
public java.util.Collection getRecipients()
public java.util.Collection getRecipients(RecipientId selector)
selector
- a recipient id to select against.