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.X509StoreSpi
This class is a collection based Bouncy CastleX509Store
SPI 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.Collection
engineGetMatches(Selector selector)
Returns a colelction of certificate pairs which match the givenselector
.void
engineInit(org.bouncycastle.x509.X509StoreParameters params)
Initializes this store.
-
-
-
Method Detail
-
engineInit
public void engineInit(org.bouncycastle.x509.X509StoreParameters params)
Initializes this store.- Specified by:
engineInit
in classorg.bouncycastle.x509.X509StoreSpi
- Parameters:
params
- TheX509CollectionStoreParameters
s for this store.- Throws:
java.lang.IllegalArgumentException
- ifparams
is 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
X509CertificatePair
s. The selector must be aX509CertPairStoreSelector
to select certificate pairs.- Specified by:
engineGetMatches
in classorg.bouncycastle.x509.X509StoreSpi
- Returns:
- A collection with matching certificate pairs.
-
-