Home
last modified time | relevance | path

Searched refs:peerCerts (Results 1 – 6 of 6) sorted by relevance

/external/conscrypt/common/src/test/java/org/conscrypt/
DTrustManagerImplTest.java244 private final X509Certificate[] peerCerts; field in TrustManagerImplTest.FakeSSLSession
248 peerCerts = null; in FakeSSLSession()
251 FakeSSLSession(String hostname, X509Certificate[] peerCerts) { in FakeSSLSession() argument
253 this.peerCerts = peerCerts.clone(); in FakeSSLSession()
304 if (peerCerts == null) { in getPeerCertificates()
307 return peerCerts.clone(); in getPeerCertificates()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/
DTrustManagerImplTest.java250 private final X509Certificate[] peerCerts; field in TrustManagerImplTest.FakeSSLSession
254 peerCerts = null; in FakeSSLSession()
257 FakeSSLSession(String hostname, X509Certificate[] peerCerts) { in FakeSSLSession() argument
259 this.peerCerts = peerCerts.clone(); in FakeSSLSession()
310 if (peerCerts == null) { in getPeerCertificates()
313 return peerCerts.clone(); in getPeerCertificates()
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeSslSession.java99 java.security.cert.X509Certificate[] peerCerts = in newInstance() local
108 peerCerts[i] = OpenSSLX509Certificate.fromX509Der(certData); in newInstance()
155 return new Impl(context, ref, host, port, peerCerts, ocspData, tlsSctData); in newInstance()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DNativeSslSession.java100 java.security.cert.X509Certificate[] peerCerts = in newInstance() local
109 peerCerts[i] = OpenSSLX509Certificate.fromX509Der(certData); in newInstance()
156 return new Impl(context, ref, host, port, peerCerts, ocspData, tlsSctData); in newInstance()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DInternalChannelz.java681 Certificate[] peerCerts = session.getPeerCertificates(); in Tls() local
682 if (peerCerts != null) { in Tls()
685 remoteCert = peerCerts[0]; in Tls()
/external/libcups/cups/
Dtls-darwin.c493 CFMutableArrayRef peerCerts; /* Peer credentials reference */ in _httpCreateCredentials() local
501 if ((peerCerts = CFArrayCreateMutable(kCFAllocatorDefault, in _httpCreateCredentials()
512 CFArrayAppendValue(peerCerts, secCert); in _httpCreateCredentials()
517 return (peerCerts); in _httpCreateCredentials()