Package org.conscrypt

Interface ConscryptCertStore


  • @Internal
    public interface ConscryptCertStore
    A certificate store that supports additional operations that are used in TrustManagerImpl. This is primarily implemented by the cert store on the Android platform.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<java.security.cert.X509Certificate> findAllIssuers​(java.security.cert.X509Certificate c)
      Returns all CA certificates with the public key that was used to sign the provided X509Certificate.
      java.security.cert.X509Certificate getTrustAnchor​(java.security.cert.X509Certificate c)
      Returns a stored CA certificate with the same name and public key as the provided X509Certificate.
    • Method Detail

      • getTrustAnchor

        java.security.cert.X509Certificate getTrustAnchor​(java.security.cert.X509Certificate c)
        Returns a stored CA certificate with the same name and public key as the provided X509Certificate.
      • findAllIssuers

        java.util.Set<java.security.cert.X509Certificate> findAllIssuers​(java.security.cert.X509Certificate c)
        Returns all CA certificates with the public key that was used to sign the provided X509Certificate.