Class X509CertStoreSelector

  • All Implemented Interfaces:
    Cloneable, CertSelector, Selector

    public class X509CertStoreSelector
    extends X509CertSelector
    implements Selector
    Deprecated.
    use the classes under org.bouncycastle.cert.selector
    This class is a Selector implementation for X.509 certificates.
    See Also:
    Selector, org.bouncycastle.x509.X509Store, org.bouncycastle.jce.provider.X509StoreCertCollection
    • Constructor Detail

      • X509CertStoreSelector

        public X509CertStoreSelector()
        Deprecated.
    • Method Detail

      • match

        public boolean match​(Object obj)
        Deprecated.
        Specified by:
        match in interface Selector
      • match

        public boolean match​(Certificate cert)
        Deprecated.
        Description copied from class: X509CertSelector
        Returns whether the specified certificate matches all the criteria collected in this instance.
        Specified by:
        match in interface CertSelector
        Overrides:
        match in class X509CertSelector
        Parameters:
        cert - the certificate to check.
        Returns:
        true if the certificate matches all the criteria, otherwise false.
      • getInstance

        public static X509CertStoreSelector getInstance​(X509CertSelector selector)
        Deprecated.
        Returns an instance of this from a X509CertSelector.
        Parameters:
        selector - A X509CertSelector instance.
        Returns:
        An instance of an X509CertStoreSelector.
        Throws:
        IllegalArgumentException - if selector is null or creation fails.