Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java321 Certificate caCert = null; in updateNetworkKeys() local
323 caCert = mKeyStore.getCertificate(caAlias); in updateNetworkKeys()
327 if (caCert == null || !(caCert instanceof X509Certificate)) { in updateNetworkKeys()
333 caCertType = getSuiteBCipherFromCert((X509Certificate) caCert); in updateNetworkKeys()
DWifiServiceImpl.java2799 public static void verifyCert(X509Certificate caCert) in verifyCert() argument
2805 Arrays.asList(caCert)); in verifyCert()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java776 X509Certificate caCert = CertUtils.createCertFromPemFile("self-signed-ca-b.pem"); in testPersistableBundleEncodeDecodeAuthDigitalSignRemote() local
777 verifyPersistableBundleEncodeDecodeIsLossless(new IkeAuthDigitalSignRemoteConfig(caCert)); in testPersistableBundleEncodeDecodeAuthDigitalSignRemote()
788 X509Certificate caCert = CertUtils.createCertFromPemFile("self-signed-ca-b.pem"); in testEqualsAuthConfigDigitalSignRemote() local
790 new IkeAuthDigitalSignRemoteConfig(caCert), in testEqualsAuthConfigDigitalSignRemote()
791 new IkeAuthDigitalSignRemoteConfig(caCert)); in testEqualsAuthConfigDigitalSignRemote()
795 new IkeAuthDigitalSignRemoteConfig(caCert), in testEqualsAuthConfigDigitalSignRemote()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java866 IkeAuthDigitalSignRemoteConfig(@Nullable X509Certificate caCert) { in IkeAuthDigitalSignRemoteConfig() argument
868 if (caCert == null) { in IkeAuthDigitalSignRemoteConfig()
874 mTrustAnchor = new TrustAnchor(caCert, null /*nameConstraints*/); in IkeAuthDigitalSignRemoteConfig()
892 X509Certificate caCert = null; in fromPersistableBundle() local
895 caCert = certificateFromByteArray(encodedCert); in fromPersistableBundle()
898 return new IkeAuthDigitalSignRemoteConfig(caCert); in fromPersistableBundle()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java163 X509Certificate caCert = FakeKeys.CA_CERT1; in testSetInvalidClientCertificateChain() local
165 isClientCertificateChainInvalid(new X509Certificate[] {caCert, caCert})); in testSetInvalidClientCertificateChain()
169 isClientCertificateChainInvalid(new X509Certificate[] {caCert, clientCert})); in testSetInvalidClientCertificateChain()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java336 for (X509Certificate caCert : mCaCerts) { in installVpnAndAppsTrustAnchors()
339 bytes = caCert.getEncoded(); in installVpnAndAppsTrustAnchors()
351 String alias = trustedCertificateStore.getCertificateAlias(caCert); in installVpnAndAppsTrustAnchors()
/packages/modules/IPsec/src/java/android/net/eap/
DEapSessionConfig.java866 X509Certificate caCert = null; in fromPersistableBundle() local
869 caCert = IkeCertUtils.certificateFromByteArray(encodedCert); in fromPersistableBundle()
878 return new EapTtlsConfig(caCert, eapSessionConfig); in fromPersistableBundle()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp57 const std::vector<std::string>& tlsServers, const std::string& caCert) { in makeResolverParamsParcel() argument
80 paramsParcel.caCertificate = caCert; in makeResolverParamsParcel()
Ddns_responder_client_ndk.h130 const std::vector<std::string>& tlsServers, const std::string& caCert = "");
/packages/modules/DnsResolver/
DPrivateDnsConfiguration.cpp61 const std::string& caCert) { in set() argument
74 server->certificate = caCert; in set()
DPrivateDnsConfiguration.h80 const std::string& name, const std::string& caCert) EXCLUDES(mPrivateDnsLock);
/packages/modules/DnsResolver/tests/
Dresolv_gold_test.cpp97 const std::string& caCert = "") { argument
110 caCert),
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController2.java704 String caCert = (String) mEapCaCertSpinner.getSelectedItem(); in getConfig() local
708 if (caCert.equals(mUnspecifiedCertString)) { in getConfig()
710 } else if (caCert.equals(mUseSystemCertsString)) { in getConfig()
712 } else if (caCert.equals(mMultipleCertSetString)) { in getConfig()
724 config.enterpriseConfig.setCaCertificateAliases(new String[] {caCert}); in getConfig()
741 if (caCert.equals(mUnspecifiedCertString)) { in getConfig()
DWifiConfigController.java718 String caCert = (String) mEapCaCertSpinner.getSelectedItem(); in getConfig() local
722 if (caCert.equals(mUnspecifiedCertString)) { in getConfig()
724 } else if (caCert.equals(mUseSystemCertsString)) { in getConfig()
726 } else if (caCert.equals(mMultipleCertSetString)) { in getConfig()
739 config.enterpriseConfig.setCaCertificateAliases(new String[] {caCert}); in getConfig()
756 if (caCert.equals(mUnspecifiedCertString)) { in getConfig()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java1410 private void verifyCaCert(X509Certificate caCert) in verifyCaCert() argument
1415 CertPath path = factory.generateCertPath(Arrays.asList(caCert)); in verifyCaCert()