Class PKIXCertStoreSelector

  • All Implemented Interfaces:
    java.lang.Cloneable, Selector

    public class PKIXCertStoreSelector
    extends java.lang.Object
    implements Selector
    This class is a Selector implementation for certificates.
    See Also:
    Selector
    • Method Detail

      • getCertificate

        public java.security.cert.Certificate getCertificate()
        Return the specific certificate this selector is designed to match.
        Returns:
        a specific certificate where the selector has been configured explicitly.
      • match

        public boolean match​(java.lang.Object cert)
        Specified by:
        match in interface Selector
      • clone

        public java.lang.Object clone()
        Specified by:
        clone in interface Selector
        Overrides:
        clone in class java.lang.Object
      • getCertificates

        public static java.util.Collection getCertificates​(PKIXCertStoreSelector selector,
                                                           java.security.cert.CertStore certStore)
                                                    throws java.security.cert.CertStoreException
        Throws:
        java.security.cert.CertStoreException