Package org.conscrypt
Interface CertPinManager
-
@Internal public interface CertPinManager
Interface for classes that implement certificate pinning for use inTrustManagerImpl
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkChainPinning(java.lang.String hostname, java.util.List<java.security.cert.X509Certificate> chain)
Given ahostname
and achain
this verifies that the certificate chain includes pinned certificates if pinning is requested forhostname
.
-
-
-
Method Detail
-
checkChainPinning
void checkChainPinning(java.lang.String hostname, java.util.List<java.security.cert.X509Certificate> chain) throws java.security.cert.CertificateException
Given ahostname
and achain
this verifies that the certificate chain includes pinned certificates if pinning is requested forhostname
.- Throws:
java.security.cert.CertificateException
-
-