/** * Returns the X.509 certificate chain with which the server authenticated itself, or null if the * server did not authenticate. */ javax.security.cert.X509Certificate[] getServerCertificateChain() throws SSLPeerUnverifiedException { return session.getPeerCertificateChain(); }