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 voidcheckChainPinning(String hostname, List<X509Certificate> chain)Given ahostnameand achainthis verifies that the certificate chain includes pinned certificates if pinning is requested forhostname.
-
-
-
Method Detail
-
checkChainPinning
void checkChainPinning(String hostname, List<X509Certificate> chain) throws CertificateException
Given ahostnameand achainthis verifies that the certificate chain includes pinned certificates if pinning is requested forhostname.- Throws:
CertificateException
-
-