类 CertificatePinner.Builder
java.lang.Object
com.lark.oapi.okhttp.CertificatePinner.Builder
- 封闭类:
CertificatePinner
Builds a configured certificate pinner.
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
add
Pins certificates forpattern.- 参数:
pattern- lower-case host name or wildcard pattern such as*.example.com.pins- SHA-256 or SHA-1 hashes. Each pin is a hash of a certificate's Subject Public Key Info, base64-encoded and prefixed with eithersha256/orsha1/.
-
build
-