Home
last modified time | relevance | path

Searched refs:caCert (Results 1 – 9 of 9) sorted by relevance

/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/
DRealTrustRootIndex.java35 for (X509Certificate caCert : caCerts) { in RealTrustRootIndex()
36 X500Principal subject = caCert.getSubjectX500Principal(); in RealTrustRootIndex()
42 subjectCaCerts.add(caCert); in RealTrustRootIndex()
51 for (X509Certificate caCert : subjectCaCerts) { in findByIssuerAndSignature()
52 PublicKey publicKey = caCert.getPublicKey(); in findByIssuerAndSignature()
55 return caCert; in findByIssuerAndSignature()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DRealTrustRootIndex.java31 for (X509Certificate caCert : caCerts) { in RealTrustRootIndex()
32 X500Principal subject = caCert.getSubjectX500Principal(); in RealTrustRootIndex()
38 subjectCaCerts.add(caCert); in RealTrustRootIndex()
47 for (X509Certificate caCert : subjectCaCerts) { in findByIssuerAndSignature()
48 PublicKey publicKey = caCert.getPublicKey(); in findByIssuerAndSignature()
51 return caCert; in findByIssuerAndSignature()
/external/conscrypt/common/src/main/java/org/conscrypt/
DTrustedCertificateIndex.java113 X509Certificate caCert = anchor.getTrustedCert(); in findByIssuerAndSignature() local
114 if (caCert != null) { in findByIssuerAndSignature()
115 publicKey = caCert.getPublicKey(); in findByIssuerAndSignature()
145 X509Certificate caCert = anchor.getTrustedCert(); in findBySubjectAndPublicKey() local
146 if (caCert != null) { in findBySubjectAndPublicKey()
147 caPublicKey = caCert.getPublicKey(); in findBySubjectAndPublicKey()
186 X509Certificate caCert = anchor.getTrustedCert(); in findAllByIssuerAndSignature() local
187 if (caCert != null) { in findAllByIssuerAndSignature()
188 publicKey = caCert.getPublicKey(); in findAllByIssuerAndSignature()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DTrustedCertificateIndex.java119 X509Certificate caCert = anchor.getTrustedCert(); in findByIssuerAndSignature() local
120 if (caCert != null) { in findByIssuerAndSignature()
121 publicKey = caCert.getPublicKey(); in findByIssuerAndSignature()
152 X509Certificate caCert = anchor.getTrustedCert(); in findBySubjectAndPublicKey() local
153 if (caCert != null) { in findBySubjectAndPublicKey()
154 caPublicKey = caCert.getPublicKey(); in findBySubjectAndPublicKey()
194 X509Certificate caCert = anchor.getTrustedCert(); in findAllByIssuerAndSignature() local
195 if (caCert != null) { in findAllByIssuerAndSignature()
196 publicKey = caCert.getPublicKey(); in findAllByIssuerAndSignature()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
DTestKeyStore.java570 X509Certificate caCert; in createKeys() local
574 caCert = null; in createKeys()
578 caCert = (X509Certificate) signer.getCertificate(); in createKeys()
642 ((caCert != null) ? caCert.getSubjectX500Principal() : subject); in createKeys()
933 X509CertificateHolder caCert = new JcaX509CertificateHolder(caCertJca); in generateOCSPResponse() local
941 caCert, serverCertJca.getSerialNumber()); in generateOCSPResponse()
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DTestKeyStore.java567 X509Certificate caCert; in createKeys() local
571 caCert = null; in createKeys()
575 caCert = (X509Certificate) signer.getCertificate(); in createKeys()
639 ((caCert != null) ? caCert.getSubjectX500Principal() : subject); in createKeys()
930 X509CertificateHolder caCert = new JcaX509CertificateHolder(caCertJca); in generateOCSPResponse() local
938 caCert, serverCertJca.getSerialNumber()); in generateOCSPResponse()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyClientTransportTest.java288 File caCert = TestUtils.loadCert("ca.pem"); in tlsNegotiationFailurePropagatesToStatus() local
292 .trustManager(caCert) in tlsNegotiationFailurePropagatesToStatus()
573 File caCert = TestUtils.loadCert("ca.pem"); in newNegotiator() local
574 SslContext clientContext = GrpcSslContexts.forClient().trustManager(caCert) in newNegotiator()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiManagerFacade.java809 X509Certificate caCert = strToX509Cert(certString); in wifiTest() local
810 caCert.getEncoded(); in wifiTest()
813 out.writeObject(caCert); in wifiTest()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java1092 X509Certificate caCert = data.getCaCertificate(); in buildWifiEnterpriseConfig() local
1093 String caCertString = Base64.encodeToString(caCert.getEncoded(), Base64.DEFAULT); in buildWifiEnterpriseConfig()