@Override
    @SuppressWarnings("deprecation") // Public API
    public javax.security.cert.X509Certificate[] getPeerCertificateChain()
        throws SSLPeerUnverifiedException {
        if (!Platform.isJavaxCertificateSupported()) {
            throw new UnsupportedOperationException("Use getPeerCertificates() instead");
        }

        throw new SSLPeerUnverifiedException("No peer certificates");
    }
A snapshot of the content of another {@link ConscryptSession}. This copies everything over
except for the certificates.
common/src/main/java/org/conscrypt/SessionSnapshot.java