/cts/hostsidetests/appsecurity/res/pkgsigverify/ |
D | generate-apks.sh | 8 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/dsa-3072.pk8 --cert cts/hostsidetests/ap… 9 …led --key cts/hostsidetests/appsecurity/certs/pkgsigverify/ec-p256.pk8 --cert cts/hostsidetests/ap… 10 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/rsa-2048.pk8 --cert cts/hostsidetests/ap… 11 …led --key cts/hostsidetests/appsecurity/certs/pkgsigverify/ec-p384.pk8 --cert cts/hostsidetests/ap… 12 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/rsa-4096.pk8 --cert cts/hostsidetests/ap… 15 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/dsa-3072.pk8 --cert cts/hostsidetests/ap… 16 …led --key cts/hostsidetests/appsecurity/certs/pkgsigverify/ec-p256.pk8 --cert cts/hostsidetests/ap… 17 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/rsa-2048.pk8 --cert cts/hostsidetests/ap… 20 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/dsa-3072.pk8 --cert cts/hostsidetests/ap… 21 …led --key cts/hostsidetests/appsecurity/certs/pkgsigverify/ec-p256.pk8 --cert cts/hostsidetests/ap… [all …]
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | AttestationTest.java | 133 X509Certificate[] certs = new X509Certificate[certChain.size()]; in verifyCertificateChain() local 134 certs = certChain.toArray(certs); in verifyCertificateChain() 135 X509Certificate parent = certs[certs.length - 1]; in verifyCertificateChain() 136 for (int i = certs.length - 1; i >= 0; i--) { in verifyCertificateChain() 137 X509Certificate cert = certs[i]; in verifyCertificateChain()
|
D | DynamicAuthTest.java | 894 Collection<X509Certificate> certs = credential.getAuthKeysNeedingCertification(); in dynamicAuthMultipleGetEntries() local 895 assertEquals(5, certs.size()); in dynamicAuthMultipleGetEntries() 899 X509Certificate key0Cert = new ArrayList<X509Certificate>(certs).get(0); in dynamicAuthMultipleGetEntries() 901 X509Certificate key1Cert = new ArrayList<X509Certificate>(certs).get(1); in dynamicAuthMultipleGetEntries() 961 Collection<X509Certificate> certs = credential.getAuthKeysNeedingCertification(); in dynamicAuthNoUsageCountIncrement() local 962 assertEquals(5, certs.size()); in dynamicAuthNoUsageCountIncrement() 966 X509Certificate key0Cert = new ArrayList<X509Certificate>(certs).get(0); in dynamicAuthNoUsageCountIncrement() 968 X509Certificate key1Cert = new ArrayList<X509Certificate>(certs).get(1); in dynamicAuthNoUsageCountIncrement()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CertBlocklistTest.java | 103 X509Certificate[] certs = new X509Certificate[collection.size()]; in loadCertificates() local 106 certs[i++] = (X509Certificate) cert; in loadCertificates() 108 return certs; in loadCertificates() 131 private static void assertTrusted(X509Certificate[] certs, X509TrustManager tm) in assertTrusted() argument 133 tm.checkServerTrusted(certs, "RSA"); in assertTrusted() 136 private static void assertUntrusted(X509Certificate[] certs, X509TrustManager tm) { in assertUntrusted() argument 138 tm.checkServerTrusted(certs, "RSA"); in assertUntrusted()
|
D | ConscryptIntermediateVerificationTest.java | 47 Collection<? extends Certificate> certs; in loadCertificates() local 50 certs = certFactory.generateCertificates(is); in loadCertificates() 59 for (Certificate cert : certs) { in loadCertificates()
|
D | CVE_2021_0341.java | 61 private Certificate[] certs = null; field in CVE_2021_0341_SSLSession 66 certs = xc; in CVE_2021_0341_SSLSession() 107 assumeFalse("peer not authenticated", (certs == null)); in getPeerCertificates() 108 return certs; in getPeerCertificates()
|
D | CertificateTest.java | 165 Set<X509Certificate> certs = new HashSet<>(); in loadCertsFromDisk() local 169 return certs; in loadCertsFromDisk() 176 certs.add((X509Certificate) cert); in loadCertsFromDisk() 180 return certs; in loadCertsFromDisk()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/scripts/ |
D | generate-client-cert-chain.sh | 20 mkdir -p rootca/{certs,crl,newcerts,private} 33 -out certs/ca.cert.pem 37 mkdir intermediate intermediate/{certs,crl,csr,newcerts,private} 59 -out intermediate/certs/intermediate.cert.pem 85 "$WORKDIR"/intermediate/certs/intermediate.cert.pem \ 86 "$WORKDIR"/rootca/certs/ca.cert.pem \
|
D | ca.conf | 10 certs = $dir/certs 19 certificate = $dir/certs/ca.cert.pem 39 certs = $dir/certs 48 certificate = $dir/certs/intermediate.cert.pem
|
/cts/tests/tests/content/data/ |
D | readme.txt | 13 …se --key cts/hostsidetests/appsecurity/certs/pkgsigverify/dsa-3072.pk8 --cert cts/hostsidetests/ap… 14 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/dsa-3072.pk8 --cert cts/hostsidetests/ap… 15 …led --key cts/hostsidetests/appsecurity/certs/pkgsigverify/ec-p384.pk8 --cert cts/hostsidetests/ap… 16 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/dsa-3072.pk8 --cert cts/hostsidetests/ap… 42 cts-testkey1.x509.pem is a copy of cts/hostsidetests/appsecurity/certs/cts-testkey1.x509.pem
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-resourcesrc/src/android/security/net/config/cts/ |
D | ResourceSourceTest.java | 80 Set<X509Certificate> certs = loadCertificates(R.raw.der_single); in testOnlyResourceCasPresent() local 81 certs.addAll(loadCertificates(R.raw.der_multiple)); in testOnlyResourceCasPresent() 82 certs.addAll(loadCertificates(R.raw.pem_single)); in testOnlyResourceCasPresent() 83 certs.addAll(loadCertificates(R.raw.pem_multiple)); in testOnlyResourceCasPresent() 84 MoreAsserts.assertEquals(certs, trusted); in testOnlyResourceCasPresent()
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | PreSelectedKeyAccessTest.java | 54 X509Certificate[] certs = KeyChain.getCertificateChain(getContext(), PRE_SELECTED_ALIAS); in testAccessingPreSelectedAliasExpectingSuccess() local 55 assertThat(certs).isNotEmpty(); in testAccessingPreSelectedAliasExpectingSuccess() 57 PublicKey publicKey = certs[0].getPublicKey(); in testAccessingPreSelectedAliasExpectingSuccess()
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/src/android/security/net/config/cts/ |
D | DownloadManagerTest.java | 139 Collection<? extends Certificate> certs; in bindTLSServer() local 141 certs = fact.generateCertificates(is); in bindTLSServer() 143 X509Certificate[] chain = new X509Certificate[certs.size()]; in bindTLSServer() 145 for (Certificate cert : certs) { in bindTLSServer()
|
/cts/hostsidetests/appsecurity/test-apps/CorruptApkTests/compressed_arsc/ |
D | build | 20 TEST_CERT_PK8=${ANDROID_BUILD_TOP}/cts/hostsidetests/appsecurity/certs/cts-testkey1.pk8 21 TEST_CERT_PEM=${ANDROID_BUILD_TOP}/cts/hostsidetests/appsecurity/certs/cts-testkey1.x509.pem
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 163 final Collection<Certificate> certs = loadCertificatesFromAsset(assetName); in loadCertificateChain() local 164 final ArrayList<Certificate> certChain = new ArrayList(certs); in loadCertificateChain() 166 assertThat(certs.size()).isGreaterThan(1); in loadCertificateChain() 681 List<Certificate> certs = new ArrayList<Certificate>(); in testCanSetKeyPairCert() local 682 certs.add(cert); in testCanSetKeyPairCert() 683 mDevicePolicyManager.setKeyPairCertificate(getWho(), alias, certs, true); in testCanSetKeyPairCert() local 688 assertThat(fetchedCerts.length).isEqualTo(certs.size()); in testCanSetKeyPairCert() 689 assertThat(fetchedCerts[0].getEncoded()).isEqualTo(certs.get(0).getEncoded()); in testCanSetKeyPairCert()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | DeviceOwnerKeyManagementTest.java | 146 private void validateDeviceIdAttestationData(Certificate[] certs, in validateDeviceIdAttestationData() argument 156 for (int i = certs.length - 1; i >= 0; i--) { in validateDeviceIdAttestationData() 159 record = Attestation.loadFromCertificate((X509Certificate) certs[i]); in validateDeviceIdAttestationData() 166 assertThat(i).isNotEqualTo(certs.length - 1); in validateDeviceIdAttestationData() 246 private void validateDeviceIdAttestationDataUsingExtLib(Certificate[] certs, in validateDeviceIdAttestationDataUsingExtLib() argument 255 Arrays.stream(certs) in validateDeviceIdAttestationDataUsingExtLib()
|
/cts/hostsidetests/atrace/AtraceTestApp/ |
D | Android.bp | 28 //LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
|
/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 459 List<Certificate> certs = new ArrayList(); in testSetKeyPairCertificate_failIfNotProfileOwner() local 460 certs.add(cert); in testSetKeyPairCertificate_failIfNotProfileOwner() 461 mDevicePolicyManager.setKeyPairCertificate(mComponent, "set-should-fail", certs, true); in testSetKeyPairCertificate_failIfNotProfileOwner()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiEnterpriseConfigTest.java | 728 X509Certificate[] certs = config.getCaCertificates(); in testSettersAndGetters() local 729 assertTrue(cert1.getSerialNumber().equals(certs[0].getSerialNumber())); in testSettersAndGetters() 730 assertTrue(cert2.getSerialNumber().equals(certs[1].getSerialNumber())); in testSettersAndGetters()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/ |
D | build_libs.sh | 112 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | AppEnumerationTests.java | 1534 ArrayList<Certificate> certs = new ArrayList<>(signatures.length); in convertSignaturesToCertificates() local 1538 certs.add(cert); in convertSignaturesToCertificates() 1540 return certs; in convertSignaturesToCertificates()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ChecksumsTest.java | 1420 ArrayList<Certificate> certs = new ArrayList<>(signatures.length); in convertSignaturesToCertificates() local 1424 certs.add(cert); in convertSignaturesToCertificates() 1426 return certs; in convertSignaturesToCertificates()
|
/cts/hostsidetests/appsecurity/test-apps/tinyapp/ |
D | Android.bp | 460 // string-array resource for the trusted certs.
|