org.bouncycastle.jce.provider

Class X509StoreCertPairCollection

public class X509StoreCertPairCollection extends X509StoreSpi

This class is a collection based Bouncy Castle X509Store SPI implementation for certificate pairs.

See Also: X509Store X509CertificatePair

Constructor Summary
X509StoreCertPairCollection()
Method Summary
CollectionengineGetMatches(Selector selector)
Returns a colelction of certificate pairs which match the given selector.
voidengineInit(X509StoreParameters params)
Initializes this store.

Constructor Detail

X509StoreCertPairCollection

public X509StoreCertPairCollection()

Method Detail

engineGetMatches

public Collection engineGetMatches(Selector selector)
Returns a colelction of certificate pairs which match the given selector.

The returned collection contains X509CertificatePairs. The selector must be a X509CertPairStoreSelector to select certificate pairs.

Returns: A collection with matching certificate pairs.

engineInit

public void engineInit(X509StoreParameters params)
Initializes this store.

Parameters: params The X509CollectionStoreParameterss for this store.

Throws: IllegalArgumentException if params is no instance of X509CollectionStoreParameters.