Modifier and Type | Field and Description |
---|---|
static CertificatePinner |
CertificatePinner.DEFAULT |
Modifier and Type | Method and Description |
---|---|
CertificatePinner |
CertificatePinner.Builder.build() |
CertificatePinner |
OkHttpClient.getCertificatePinner() |
CertificatePinner |
Address.getCertificatePinner()
Returns this address's certificate pinner, or null if this is not an HTTPS address.
|
Modifier and Type | Method and Description |
---|---|
OkHttpClient |
OkHttpClient.setCertificatePinner(CertificatePinner certificatePinner)
Sets the certificate pinner that constrains which certificates are trusted.
|
Constructor and Description |
---|
Address(String uriHost,
int uriPort,
Dns dns,
SocketFactory socketFactory,
SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator authenticator,
Proxy proxy,
List<Protocol> protocols,
List<ConnectionSpec> connectionSpecs,
ProxySelector proxySelector) |
Copyright © 2016. All Rights Reserved.