/frameworks/base/core/tests/coretests/apks/keyset/ |
D | Android.mk | 7 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/keyset_A 14 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/keyset_A 21 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/keyset_A 28 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/keyset_A 35 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/keyset_A 42 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/keyset_A 49 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/keyset_A 57 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/keyset_B 64 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/keyset_B 71 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/keyset_B [all …]
|
/frameworks/base/core/java/android/security/net/config/ |
D | RootTrustManager.java | 60 public void checkClientTrusted(X509Certificate[] certs, String authType, Socket socket) in checkClientTrusted() argument 65 config.getTrustManager().checkClientTrusted(certs, authType, socket); in checkClientTrusted() 69 public void checkClientTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkClientTrusted() argument 74 config.getTrustManager().checkClientTrusted(certs, authType, engine); in checkClientTrusted() 78 public void checkServerTrusted(X509Certificate[] certs, String authType, Socket socket) in checkServerTrusted() argument 88 config.getTrustManager().checkServerTrusted(certs, authType, socket); in checkServerTrusted() 91 checkServerTrusted(certs, authType); in checkServerTrusted() 96 public void checkServerTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkServerTrusted() argument 104 config.getTrustManager().checkServerTrusted(certs, authType, engine); in checkServerTrusted() 108 public void checkServerTrusted(X509Certificate[] certs, String authType) in checkServerTrusted() argument [all …]
|
D | NetworkSecurityTrustManager.java | 73 public void checkClientTrusted(X509Certificate[] certs, String authType, Socket socket) in checkClientTrusted() argument 75 mDelegate.checkClientTrusted(certs, authType, socket); in checkClientTrusted() 79 public void checkClientTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkClientTrusted() argument 81 mDelegate.checkClientTrusted(certs, authType, engine); in checkClientTrusted() 85 public void checkServerTrusted(X509Certificate[] certs, String authType) in checkServerTrusted() argument 87 checkServerTrusted(certs, authType, (String) null); in checkServerTrusted() 91 public void checkServerTrusted(X509Certificate[] certs, String authType, Socket socket) in checkServerTrusted() argument 94 mDelegate.getTrustedChainForServer(certs, authType, socket); in checkServerTrusted() 99 public void checkServerTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkServerTrusted() argument 102 mDelegate.getTrustedChainForServer(certs, authType, engine); in checkServerTrusted() [all …]
|
D | DirectoryCertificateSource.java | 72 Set<X509Certificate> certs = new ArraySet<X509Certificate>(); in getCertificates() local 80 certs.add(cert); in getCertificates() 84 mCertificates = certs; in getCertificates() 142 Set<X509Certificate> certs = null; 156 if (certs == null) { 157 certs = new ArraySet<X509Certificate>(); 159 certs.add(cert); 162 return certs != null ? certs : Collections.<X509Certificate>emptySet();
|
D | ResourceCertificateSource.java | 56 Collection<? extends Certificate> certs; in ensureInitialized() local 61 certs = factory.generateCertificates(in); in ensureInitialized() 69 for (Certificate cert : certs) { in ensureInitialized() 112 Set<X509Certificate> certs = new ArraySet<X509Certificate>(anchors.size()); in findAllByIssuerAndSignature() local 114 certs.add(anchor.getTrustedCert()); in findAllByIssuerAndSignature() 116 return certs; in findAllByIssuerAndSignature()
|
D | KeyStoreCertificateSource.java | 102 Set<X509Certificate> certs = new ArraySet<X509Certificate>(anchors.size()); in findAllByIssuerAndSignature() local 104 certs.add(anchor.getTrustedCert()); in findAllByIssuerAndSignature() 106 return certs; in findAllByIssuerAndSignature()
|
D | NetworkSecurityConfig.java | 144 Set<X509Certificate> certs = new ArraySet<X509Certificate>(); in findAllCertificatesByIssuerAndSignature() local 146 certs.addAll(ref.findAllCertificatesByIssuerAndSignature(cert)); in findAllCertificatesByIssuerAndSignature() 148 return certs; in findAllCertificatesByIssuerAndSignature()
|
/frameworks/base/core/tests/coretests/apks/version/ |
D | Android.mk | 7 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/unit_test 14 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/unit_test 21 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/unit_test 28 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/unit_test_diff 35 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/unit_test_diff
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | OSUClient.java | 154 Map<OSUCertType, List<X509Certificate>> certs = new HashMap<>(); in provision() local 165 certs.put(OSUCertType.CA, estHandler.getCACerts()); in provision() 166 certs.put(OSUCertType.Client, estHandler.getClientCerts()); in provision() 199 retrieveCerts(moData.getMOTree().getRoot(), certs, network, km, mKeyStore); in provision() local 200 osuManager.provisioningComplete(mOSUInfo, moData, certs, clientKey, network); in provision() 226 Map<OSUCertType, List<X509Certificate>> certs = null; in remediate() local 276 certs = new HashMap<>(); in remediate() 281 certs.put(OSUCertType.CA, estHandler.getCACerts()); in remediate() 282 certs.put(OSUCertType.Client, estHandler.getClientCerts()); in remediate() 287 httpHandler.renegotiate(certs, clientKey); in remediate() [all …]
|
D | ClientKeyManager.java | 39 public void reloadKeys(Map<OSUCertType, List<X509Certificate>> certs, PrivateKey key) in reloadKeys() argument 41 List<X509Certificate> clientCerts = certs.get(OSUCertType.Client); in reloadKeys() 88 List<X509Certificate> certs = new ArrayList<>(); in getCertificateChain() local 92 certs.add((X509Certificate) certificate); in getCertificateChain() 95 return certs.toArray(new X509Certificate[certs.size()]); in getCertificateChain()
|
D | OSUManager.java | 218 Set<X509Certificate> certs = new HashSet<>(); in readCertsFromDisk() local 228 certs.add((X509Certificate) cert); in readCertsFromDisk() 236 return certs; in readCertsFromDisk() 849 MOData moData, Map<OSUCertType, List<X509Certificate>> certs, in provisioningComplete() argument 858 Integer spNwk = mWifiNetworkAdapter.addNetwork(homeSP, certs, privateKey, osuNetwork); in provisioningComplete() 865 X509Certificate remCert = getCert(certs, OSUCertType.Remediation); in provisioningComplete() 866 X509Certificate polCert = getCert(certs, OSUCertType.Policy); in provisioningComplete() 868 X509Certificate cltCert = getCert(certs, OSUCertType.Client); in provisioningComplete() 915 List<X509Certificate> certs = certMap.get(certType); in getCert() local 916 if (certs == null || certs.isEmpty()) { in getCert() [all …]
|
D | WiFiKeyManager.java | 150 List<X509Certificate> certs = new ArrayList<>(); in getCertificateChain() local 153 certs.add((X509Certificate) certificate); in getCertificateChain() 156 return certs.toArray(new X509Certificate[certs.size()]); in getCertificateChain()
|
D | HTTPHandler.java | 67 public void renegotiate(Map<OSUCertType, List<X509Certificate>> certs, PrivateKey key) in renegotiate() argument 72 if (certs != null) { in renegotiate() 73 mSocketFactory.reloadKeys(certs, key); in renegotiate()
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | TestCertificateSource.java | 62 Set<X509Certificate> certs = new ArraySet<X509Certificate>(); in findAllByIssuerAndSignature() local 64 certs.add(anchor.getTrustedCert()); in findAllByIssuerAndSignature() 66 return certs; in findAllByIssuerAndSignature()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AndroidAppAsset.java | 181 private List<String> sortAndDeDuplicate(List<String> certs) { in sortAndDeDuplicate() argument 182 if (certs.size() <= 1) { in sortAndDeDuplicate() 183 return certs; in sortAndDeDuplicate() 185 HashSet<String> set = new HashSet<>(certs); in sortAndDeDuplicate()
|
D | AndroidAppAssetMatcher.java | 42 Set<String> certs = new HashSet<String>(mQuery.getCertFingerprints()); in matches() local 44 if (certs.contains(cert)) { in matches()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiEnterpriseConfig.java | 254 X509Certificate[] certs = null; 257 certs = new X509Certificate[len]; 259 certs[i] = readCertificate(in); 262 return certs; 703 public void setCaCertificates(@Nullable X509Certificate[] certs) { in setCaCertificates() argument 704 if (certs != null) { in setCaCertificates() 705 X509Certificate[] newCerts = new X509Certificate[certs.length]; in setCaCertificates() 706 for (int i = 0; i < certs.length; i++) { in setCaCertificates() 707 if (certs[i].getBasicConstraints() >= 0) { in setCaCertificates() 708 newCerts[i] = certs[i]; in setCaCertificates()
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | AbstractVerifier.java | 99 Certificate[] certs = session.getPeerCertificates(); in verify() local 100 X509Certificate x509 = (X509Certificate) certs[0]; in verify() 106 Certificate[] certs = session.getPeerCertificates(); in verify() local 107 X509Certificate x509 = (X509Certificate) certs[0]; in verify()
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV2Verifier.java | 224 X509Certificate[] certs = verifySigner(signer, contentDigests, certFactory); in verify() local 225 signerCerts.add(certs); in verify() 359 List<X509Certificate> certs = new ArrayList<>(); in verifySigner() local 372 certs.add(certificate); in verifySigner() 375 if (certs.isEmpty()) { in verifySigner() 378 X509Certificate mainCertificate = certs.get(0); in verifySigner() 385 return certs.toArray(new X509Certificate[certs.size()]); in verifySigner()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
D | WifiNetworkAdapter.java | 217 public Integer addNetwork(HomeSP homeSP, Map<OSUCertType, List<X509Certificate>> certs, in addNetwork() argument 221 List<X509Certificate> aaaTrust = certs.get(OSUCertType.AAA); in addNetwork() 223 aaaTrust = certs.get(OSUCertType.CA); // Get the CAs from the EST flow. in addNetwork() 228 certs.get(OSUCertType.Client), privateKey); in addNetwork()
|
/frameworks/base/core/tests/coretests/apks/version_nosys/ |
D | Android.mk | 7 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/unit_test
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 165 Certificate[] certs = new Certificate[count]; in getCertificates() local 168 System.arraycopy(chain, 0, certs, i, chain.length); in getCertificates() 172 return certs; in getCertificates()
|
/frameworks/base/core/java/android/net/ |
D | SSLCertificateSocketFactory.java | 79 public void checkClientTrusted(X509Certificate[] certs, String authType) { } 80 public void checkServerTrusted(X509Certificate[] certs, String authType) { }
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 878 private void asserCaCertsAliasesMatch(X509Certificate[] certs, String[] aliases) { in asserCaCertsAliasesMatch() argument 879 assertEquals(certs.length, aliases.length); in asserCaCertsAliasesMatch() 882 for (int i = 0; i < certs.length; i++) { in asserCaCertsAliasesMatch() 883 byte[] certPem = Credentials.convertToPem(certs[i]); in asserCaCertsAliasesMatch() 947 public EnterpriseConfig setCaCerts(X509Certificate[] certs) { in setCaCerts() argument 948 enterpriseConfig.setCaCertificates(certs); in setCaCerts() 949 caCerts = certs; in setCaCerts()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SELinuxMMAC.java | 502 Signature[] certs = mCerts.toArray(new Signature[0]); in getMatchedSeinfo() local 503 if (!Signature.areExactMatch(certs, pkg.mSignatures)) { in getMatchedSeinfo()
|