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 Castle X509Store SPI implementation for certificate pairs.
See Also:
  • X509Store
  • X509CertificatePair
  • Constructor Details

    • X509StoreCertPairCollection

      public X509StoreCertPairCollection()
  • Method Details

    • engineInit

      public void engineInit(org.bouncycastle.x509.X509StoreParameters params)
      Initializes this store.
      Specified by:
      engineInit in class org.bouncycastle.x509.X509StoreSpi
      Parameters:
      params - The X509CollectionStoreParameterss for this store.
      Throws:
      IllegalArgumentException - if params is no instance of X509CollectionStoreParameters.
    • 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.

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