org.bouncycastle.jce.provider
Class X509StoreCertPairCollection

java.lang.Object
  extended by org.bouncycastle.x509.X509StoreSpi
      extended by org.bouncycastle.jce.provider.X509StoreCertPairCollection

public class X509StoreCertPairCollection
extends X509StoreSpi

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

See Also:
X509Store, X509CertificatePair

Field Summary
private  CollectionStore _store
           
 
Constructor Summary
X509StoreCertPairCollection()
           
 
Method Summary
 java.util.Collection engineGetMatches(Selector selector)
          Returns a colelction of certificate pairs which match the given selector.
 void engineInit(X509StoreParameters params)
          Initializes this store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_store

private CollectionStore _store
Constructor Detail

X509StoreCertPairCollection

public X509StoreCertPairCollection()
Method Detail

engineInit

public void engineInit(X509StoreParameters params)
Initializes this store.

Specified by:
engineInit in class X509StoreSpi
Parameters:
params - The X509CollectionStoreParameterss for this store.
Throws:
java.lang.IllegalArgumentException - if params is no instance of X509CollectionStoreParameters.

engineGetMatches

public java.util.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.

Specified by:
engineGetMatches in class X509StoreSpi
Returns:
A collection with matching certificate pairs.