org.bouncycastle.cms
Class SignerInformationStore
java.lang.Object
org.bouncycastle.cms.SignerInformationStore
public class SignerInformationStore
extends java.lang.Object
SignerInformation | get(SignerId selector) - Return the first SignerInformation object that matches the
passed in selector.
|
Collection | getSigners() - Return all signers in the collection
|
Collection | getSigners(SignerId selector) - Return possible empty collection with signers matching the passed in SignerId
|
int | size() - Return the number of signers in the collection.
|
SignerInformationStore
public SignerInformationStore(Collection signerInfos)
get
public SignerInformation get(SignerId selector)
Return the first SignerInformation object that matches the
passed in selector. Null if there are no matches.
selector
- to identify a signer
- a single SignerInformation object. Null if none matches.
getSigners
public Collection getSigners()
Return all signers in the collection
getSigners
public Collection getSigners(SignerId selector)
Return possible empty collection with signers matching the passed in SignerId
selector
- a signer id to select against.
- a collection of SignerInformation objects.
size
public int size()
Return the number of signers in the collection.
- number of signers identified.