Modifier and Type | Field and Description |
---|---|
static CertificatePinner |
CertificatePinner.DEFAULT |
Modifier and Type | Method and Description |
---|---|
CertificatePinner |
CertificatePinner.Builder.build() |
CertificatePinner |
OkHttpClient.getCertificatePinner() |
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(java.lang.String uriHost,
int uriPort,
javax.net.SocketFactory socketFactory,
javax.net.ssl.SSLSocketFactory sslSocketFactory,
javax.net.ssl.HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator authenticator,
java.net.Proxy proxy,
java.util.List<Protocol> protocols,
java.util.List<ConnectionSpec> connectionSpecs) |
Copyright © 2014. All Rights Reserved.