Class X509CertStoreSelector

  • All Implemented Interfaces:
    java.lang.Cloneable, java.security.cert.CertSelector, Selector

    public class X509CertStoreSelector
    extends java.security.cert.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, X509Store, X509StoreCertCollection
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Object clone()
      Deprecated.
       
      static X509CertStoreSelector getInstance​(java.security.cert.X509CertSelector selector)
      Deprecated.
      Returns an instance of this from a X509CertSelector.
      boolean match​(java.lang.Object obj)
      Deprecated.
      Match the passed in object, returning true if it would be selected by this selector, false otherwise.
      boolean match​(java.security.cert.Certificate cert)
      Deprecated.
       
      • Methods inherited from class java.security.cert.X509CertSelector

        addPathToName, addPathToName, addSubjectAlternativeName, addSubjectAlternativeName, getAuthorityKeyIdentifier, getBasicConstraints, getCertificate, getCertificateValid, getExtendedKeyUsage, getIssuer, getIssuerAsBytes, getIssuerAsString, getKeyUsage, getMatchAllSubjectAltNames, getNameConstraints, getPathToNames, getPolicy, getPrivateKeyValid, getSerialNumber, getSubject, getSubjectAlternativeNames, getSubjectAsBytes, getSubjectAsString, getSubjectKeyIdentifier, getSubjectPublicKey, getSubjectPublicKeyAlgID, setAuthorityKeyIdentifier, setBasicConstraints, setCertificate, setCertificateValid, setExtendedKeyUsage, setIssuer, setIssuer, setIssuer, setKeyUsage, setMatchAllSubjectAltNames, setNameConstraints, setPathToNames, setPolicy, setPrivateKeyValid, setSerialNumber, setSubject, setSubject, setSubject, setSubjectAlternativeNames, setSubjectKeyIdentifier, setSubjectPublicKey, setSubjectPublicKey, setSubjectPublicKeyAlgID, toString
      • Methods inherited from class java.lang.Object

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

      • X509CertStoreSelector

        public X509CertStoreSelector()
        Deprecated.
    • Method Detail

      • match

        public boolean match​(java.lang.Object obj)
        Deprecated.
        Description copied from interface: Selector
        Match the passed in object, returning true if it would be selected by this selector, false otherwise.
        Specified by:
        match in interface Selector
        Parameters:
        obj - the object to be matched.
        Returns:
        true if the object is a match for this selector, false otherwise.
      • match

        public boolean match​(java.security.cert.Certificate cert)
        Deprecated.
        Specified by:
        match in interface java.security.cert.CertSelector
        Overrides:
        match in class java.security.cert.X509CertSelector
      • clone

        public java.lang.Object clone()
        Deprecated.
        Specified by:
        clone in interface java.security.cert.CertSelector
        Specified by:
        clone in interface Selector
        Overrides:
        clone in class java.security.cert.X509CertSelector
      • getInstance

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