Class 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
    • 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 given selector.
      void engineInit​(org.bouncycastle.x509.X509StoreParameters params)
      Initializes this store.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • X509StoreCertPairCollection

        public X509StoreCertPairCollection()
    • Method Detail

      • 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:
        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 org.bouncycastle.x509.X509StoreSpi
        Returns:
        A collection with matching certificate pairs.