Class CertStoreSpi

  • Direct Known Subclasses:
    CertStoreCollectionSpi

    public abstract class CertStoreSpi
    extends Object
    The Service Provider Interface (SPI) definition for the CertStore class to be implemented by security providers.
    • Method Detail

      • engineGetCertificates

        public abstract Collection<? extends Certificate> engineGetCertificates​(CertSelector selector)
                                                                         throws CertStoreException
        Returns the list of Certificates for the specified CertSelector from this instance.
        Parameters:
        selector - the selector containing the criteria to search for certificates in this instance.
        Returns:
        the list of Certificates that match the criteria of the specified selector.
        Throws:
        CertStoreException - if error(s) occur.
      • engineGetCRLs

        public abstract Collection<? extends CRL> engineGetCRLs​(CRLSelector selector)
                                                         throws CertStoreException
        Returns the list of CRLs for the specified CRLSelector from this instance.
        Parameters:
        selector - the selector containing the criteria to search for certificate revocation lists in instance.
        Returns:
        the list of CRLs that match the criteria of the specified selector
        Throws:
        CertStoreException - if error(s) occur.