private void checkPeerCertificatesPresent() throws SSLPeerUnverifiedException {
        if (peerCertificates == null || peerCertificates.length == 0) {
            throw new SSLPeerUnverifiedException("No peer certificates");
        }
    }
Throw SSLPeerUnverifiedException on null or empty peerCertificates array
common/src/main/java/org/conscrypt/ActiveSession.java