/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiKeyStore.java | 321 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()
|
D | WifiServiceImpl.java | 2799 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/ |
D | IkeSessionParamsTest.java | 776 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/ |
D | IkeSessionParams.java | 866 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/ |
D | WifiEnterpriseConfigTest.java | 163 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/ |
D | CredentialHelper.java | 336 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/ |
D | EapSessionConfig.java | 866 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/ |
D | dns_responder_client_ndk.cpp | 57 const std::vector<std::string>& tlsServers, const std::string& caCert) { in makeResolverParamsParcel() argument 80 paramsParcel.caCertificate = caCert; in makeResolverParamsParcel()
|
D | dns_responder_client_ndk.h | 130 const std::vector<std::string>& tlsServers, const std::string& caCert = "");
|
/packages/modules/DnsResolver/ |
D | PrivateDnsConfiguration.cpp | 61 const std::string& caCert) { in set() argument 74 server->certificate = caCert; in set()
|
D | PrivateDnsConfiguration.h | 80 const std::string& name, const std::string& caCert) EXCLUDES(mPrivateDnsLock);
|
/packages/modules/DnsResolver/tests/ |
D | resolv_gold_test.cpp | 97 const std::string& caCert = "") { argument 110 caCert),
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController2.java | 704 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()
|
D | WifiConfigController.java | 718 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/ |
D | PasspointManager.java | 1410 private void verifyCaCert(X509Certificate caCert) in verifyCaCert() argument 1415 CertPath path = factory.generateCertPath(Arrays.asList(caCert)); in verifyCaCert()
|