Package org.bouncycastle.cms
Class SignerInformationStore
java.lang.Object
org.bouncycastle.cms.SignerInformationStore
public class SignerInformationStore extends Object
-
Constructor Summary
Constructors Constructor Description SignerInformationStore(Collection signerInfos) -
Method Summary
Modifier and Type Method Description SignerInformationget(SignerId selector)Return the first SignerInformation object that matches the passed in selector.CollectiongetSigners()Return all signers in the collectionCollectiongetSigners(SignerId selector)Return possible empty collection with signers matching the passed in SignerIdintsize()Return the number of signers in the collection.
-
Constructor Details
-
SignerInformationStore
-
-
Method Details
-
get
Return the first SignerInformation object that matches the passed in selector. Null if there are no matches.- Parameters:
selector- to identify a signer- Returns:
- a single SignerInformation object. Null if none matches.
-
size
public int size()Return the number of signers in the collection.- Returns:
- number of signers identified.
-
getSigners
Return all signers in the collection- Returns:
- a collection of signers.
-
getSigners
Return possible empty collection with signers matching the passed in SignerId- Parameters:
selector- a signer id to select against.- Returns:
- a collection of SignerInformation objects.
-