setPinnedServerX509Certificate

Sets the certificate used to authenticate the target server. A server will be authenticated if it presents a chain of certificates (possibly of length 1) in which any one of the certificates matches the one passed here. The default is no pinned certificate.

Return

this.

Parameters

pinnedCert

the SSL certificate.