/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 | 74 Set<X509Certificate> certs = new ArraySet<X509Certificate>(); in getCertificates() local 82 certs.add(cert); in getCertificates() 86 mCertificates = certs; in getCertificates() 144 Set<X509Certificate> certs = null; 161 if (certs == null) { 162 certs = new ArraySet<X509Certificate>(); 164 certs.add(cert); 167 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/wifi/java/android/net/wifi/ |
D | ParcelUtil.java | 135 public static void writeCertificates(Parcel dest, X509Certificate[] certs) { in writeCertificates() argument 136 if (certs == null || certs.length == 0) { in writeCertificates() 141 dest.writeInt(certs.length); in writeCertificates() 142 for (int i = 0; i < certs.length; i++) { in writeCertificates() 143 writeCertificate(dest, certs[i]); in writeCertificates() 159 X509Certificate[] certs = new X509Certificate[length]; in readCertificates() local 161 certs[i] = readCertificate(in); in readCertificates() 163 return certs; in readCertificates()
|
D | WifiEnterpriseConfig.java | 694 public void setCaCertificates(@Nullable X509Certificate[] certs) { in setCaCertificates() argument 695 if (certs != null) { in setCaCertificates() 696 X509Certificate[] newCerts = new X509Certificate[certs.length]; in setCaCertificates() 697 for (int i = 0; i < certs.length; i++) { in setCaCertificates() 698 if (certs[i].getBasicConstraints() >= 0) { in setCaCertificates() 699 newCerts[i] = certs[i]; in setCaCertificates()
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV3Verifier.java | 346 List<X509Certificate> certs = new ArrayList<>(); in verifySigner() local 360 certs.add(certificate); in verifySigner() 363 if (certs.isEmpty()) { in verifySigner() 366 X509Certificate mainCertificate = certs.get(0); in verifySigner() 386 return verifyAdditionalAttributes(additionalAttrs, certs, certFactory); in verifySigner() 392 List<X509Certificate> certs, CertificateFactory certFactory) throws IOException { in verifyAdditionalAttributes() argument 393 X509Certificate[] certChain = certs.toArray(new X509Certificate[certs.size()]); in verifyAdditionalAttributes() 413 if (por.certs.size() > 0 in verifyAdditionalAttributes() 414 && !Arrays.equals(por.certs.get(por.certs.size() - 1).getEncoded(), in verifyAdditionalAttributes() 440 List<X509Certificate> certs = new ArrayList<>(); in verifyProofOfRotationStruct() local [all …]
|
D | ApkSignatureVerifier.java | 81 Certificate[][] signerCerts = new Certificate[][] { vSigner.certs }; in verify() 87 pastSignerSigs = new Signature[vSigner.por.certs.size()]; in verify() 90 pastSignerSigs[i] = new Signature(vSigner.por.certs.get(i).getEncoded()); in verify() 281 public static Signature[] convertToSignatures(Certificate[][] certs) in convertToSignatures() argument 283 final Signature[] res = new Signature[certs.length]; in convertToSignatures() 284 for (int i = 0; i < certs.length; i++) { in convertToSignatures() 285 res[i] = new Signature(certs[i]); in convertToSignatures() 323 Certificate[][] signerCerts = new Certificate[][] { vSigner.certs }; in plsCertsNoVerifyOnlyCerts() 329 pastSignerSigs = new Signature[vSigner.por.certs.size()]; in plsCertsNoVerifyOnlyCerts() 332 pastSignerSigs[i] = new Signature(vSigner.por.certs.get(i).getEncoded()); in plsCertsNoVerifyOnlyCerts() [all …]
|
D | ApkSignatureSchemeV2Verifier.java | 111 return vSigner.certs; in verify() 126 return vSigner.certs; in plsCertsNoVerifyOnlyCerts() 193 X509Certificate[] certs = verifySigner(signer, contentDigests, certFactory); in verify() local 194 signerCerts.add(certs); in verify() 333 List<X509Certificate> certs = new ArrayList<>(); in verifySigner() local 347 certs.add(certificate); in verifySigner() 350 if (certs.isEmpty()) { in verifySigner() 353 X509Certificate mainCertificate = certs.get(0); in verifySigner() 363 return certs.toArray(new X509Certificate[certs.size()]); in verifySigner() 455 public final X509Certificate[][] certs; field in ApkSignatureSchemeV2Verifier.VerifiedSigner [all …]
|
/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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | WfaCertBuilder.java | 44 Set<X509Certificate> certs = new HashSet<>(); in loadCertsFromDisk() local 49 return certs; in loadCertsFromDisk() 56 certs.add((X509Certificate) cert); in loadCertsFromDisk() 63 return certs; in loadCertsFromDisk()
|
D | WfaKeyStore.java | 54 Set<X509Certificate> certs = WfaCertBuilder.loadCertsFromDisk(DEFAULT_WFA_CERT_DIR); in load() local 55 for (X509Certificate cert : certs) { in load()
|
/frameworks/support/compat/src/main/java/androidx/core/content/res/ |
D | FontResourcesParserCompat.java | 206 List<List<byte[]>> certs = readCerts(resources, certsId); in readFamily() local 208 new FontRequest(authority, providerPackage, query, certs), strategy, timeoutMs); in readFamily() 232 List<List<byte[]>> certs = null; in readCerts() local 236 certs = new ArrayList<>(); in readCerts() 243 certs.add(certsList); in readCerts() 248 certs.add(certsList); in readCerts() 253 return certs != null ? certs : Collections.<List<byte[]>>emptyList(); in readCerts()
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 53 @NonNull String query, @Nullable List<List<String>> certs) { in ProviderResourceEntry() argument 57 mCerts = certs; in ProviderResourceEntry() 170 List<List<String>> certs = null; in readFamily() local 174 certs = new ArrayList<>(); in readFamily() 181 certs.add(certsList); in readFamily() 186 certs.add(certsList); in readFamily() 190 return new ProviderResourceEntry(authority, providerPackage, query, certs); in readFamily()
|
/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/core/tests/coretests/src/android/content/res/ |
D | FontResourcesParserTest.java | 123 List<String> certs = certList.get(0); in testParseDownloadableFont_singleCerts() local 124 assertEquals(2, certs.size()); in testParseDownloadableFont_singleCerts() 125 assertEquals("123456789", certs.get(0)); in testParseDownloadableFont_singleCerts() 126 assertEquals("987654321", certs.get(1)); in testParseDownloadableFont_singleCerts()
|
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProvisioningTestUtil.java | 92 List<X509Certificate> certs = getOsuCertsForTest(); in createFakeKeyStore() local 93 for (X509Certificate cert : certs) { in createFakeKeyStore()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiKeyStore.java | 180 public boolean putCertsInKeyStore(String name, Certificate[] certs) { in putCertsInKeyStore() argument 182 byte[] certData = Credentials.convertToPem(certs); in putCertsInKeyStore() 184 Log.d(TAG, "putting " + certs.length + " certificate(s) " in putCertsInKeyStore()
|
/frameworks/base/core/tests/coretests/apks/version_nosys/ |
D | Android.mk | 7 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/unit_test
|