Home
last modified time | relevance | path

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

/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/
DTrustManagerImplTest.java248 private final X509Certificate[] peerCerts; field in TrustManagerImplTest.FakeSSLSession
252 peerCerts = null; in FakeSSLSession()
255 FakeSSLSession(String hostname, X509Certificate[] peerCerts) { in FakeSSLSession() argument
257 this.peerCerts = peerCerts.clone(); in FakeSSLSession()
308 if (peerCerts == null) { in getPeerCertificates()
311 return peerCerts.clone(); in getPeerCertificates()
/external/conscrypt/common/src/test/java/org/conscrypt/
DTrustManagerImplTest.java241 private final X509Certificate[] peerCerts; field in TrustManagerImplTest.FakeSSLSession
245 peerCerts = null; in FakeSSLSession()
248 FakeSSLSession(String hostname, X509Certificate[] peerCerts) { in FakeSSLSession() argument
250 this.peerCerts = peerCerts.clone(); in FakeSSLSession()
301 if (peerCerts == null) { in getPeerCertificates()
304 return peerCerts.clone(); in getPeerCertificates()
/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/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/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.c500 CFMutableArrayRef peerCerts; /* Peer credentials reference */ in _httpCreateCredentials() local
508 if ((peerCerts = CFArrayCreateMutable(kCFAllocatorDefault, in _httpCreateCredentials()
519 CFArrayAppendValue(peerCerts, secCert); in _httpCreateCredentials()
524 return (peerCerts); in _httpCreateCredentials()