Package org.bouncycastle.jce.provider
Class X509StoreCertPairCollection
- java.lang.Object
-
- org.bouncycastle.x509.X509StoreSpi
-
- org.bouncycastle.jce.provider.X509StoreCertPairCollection
-
public class X509StoreCertPairCollection extends org.bouncycastle.x509.X509StoreSpiThis class is a collection based Bouncy CastleX509StoreSPI implementation for certificate pairs.- See Also:
X509Store,X509CertificatePair
-
-
Constructor Summary
Constructors Constructor Description X509StoreCertPairCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.CollectionengineGetMatches(Selector selector)Returns a colelction of certificate pairs which match the givenselector.voidengineInit(org.bouncycastle.x509.X509StoreParameters params)Initializes this store.
-
-
-
Method Detail
-
engineInit
public void engineInit(org.bouncycastle.x509.X509StoreParameters params)
Initializes this store.- Specified by:
engineInitin classorg.bouncycastle.x509.X509StoreSpi- Parameters:
params- TheX509CollectionStoreParameterss for this store.- Throws:
java.lang.IllegalArgumentException- ifparamsis no instance ofX509CollectionStoreParameters.
-
engineGetMatches
public java.util.Collection engineGetMatches(Selector selector)
Returns a colelction of certificate pairs which match the givenselector.The returned collection contains
X509CertificatePairs. The selector must be aX509CertPairStoreSelectorto select certificate pairs.- Specified by:
engineGetMatchesin classorg.bouncycastle.x509.X509StoreSpi- Returns:
- A collection with matching certificate pairs.
-
-