Which of the following describes a way to perform certificate pinning in an SSL Android
application?
A.
Use a KeyManager with a client-side SSL certificate so that mutual authentication will fail if the
server’s certificate changes.
B.
Use the httpsURLConnectionPinned method to ensure certificate pinning is enabled.
C.
Use a TrustManager that is based on a KeyManager specifying the public key associated with
the private key that the server should be using.
D.
Use a TrustManager that is based on a KeyStore containing only the specific certificate(s) that
the server should be using.
Explanation: