/cts/hostsidetests/appsecurity/res/pkgsigverify/ |
D | generate-apks.sh | 5 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/dsa-3072.pk8 --cert cts/hostsidetests/ap… 6 …led --key cts/hostsidetests/appsecurity/certs/pkgsigverify/ec-p256.pk8 --cert cts/hostsidetests/ap… 7 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/rsa-2048.pk8 --cert cts/hostsidetests/ap… 8 …led --key cts/hostsidetests/appsecurity/certs/pkgsigverify/ec-p384.pk8 --cert cts/hostsidetests/ap… 9 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/rsa-4096.pk8 --cert cts/hostsidetests/ap… 12 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/dsa-3072.pk8 --cert cts/hostsidetests/ap… 13 …led --key cts/hostsidetests/appsecurity/certs/pkgsigverify/ec-p256.pk8 --cert cts/hostsidetests/ap… 14 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/rsa-2048.pk8 --cert cts/hostsidetests/ap… 17 …ed --key cts/hostsidetests/appsecurity/certs/pkgsigverify/dsa-3072.pk8 --cert cts/hostsidetests/ap… 18 …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 | 131 X509Certificate[] certs = new X509Certificate[certChain.size()]; in verifyCertificateChain() local 132 certs = certChain.toArray(certs); in verifyCertificateChain() 133 X509Certificate parent = certs[certs.length - 1]; in verifyCertificateChain() 134 for (int i = certs.length - 1; i >= 0; i--) { in verifyCertificateChain() 135 X509Certificate cert = certs[i]; in verifyCertificateChain()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CertBlacklistTest.java | 93 X509Certificate[] certs = new X509Certificate[collection.size()]; in loadCertificates() local 96 certs[i++] = (X509Certificate) cert; in loadCertificates() 98 return certs; in loadCertificates() 121 private static void assertTrusted(X509Certificate[] certs, X509TrustManager tm) in assertTrusted() argument 123 tm.checkServerTrusted(certs, "RSA"); in assertTrusted() 126 private static void assertUntrusted(X509Certificate[] certs, X509TrustManager tm) { in assertUntrusted() argument 128 tm.checkServerTrusted(certs, "RSA"); in assertUntrusted()
|
D | ConscryptIntermediateVerificationTest.java | 41 Collection<? extends Certificate> certs; in loadCertificates() local 44 certs = certFactory.generateCertificates(is); in loadCertificates() 53 for (Certificate cert : certs) { in loadCertificates()
|
D | CertificateTest.java | 132 Set<X509Certificate> certs = new HashSet<>(); in loadCertsFromDisk() local 136 return certs; in loadCertsFromDisk() 143 certs.add((X509Certificate) cert); in loadCertsFromDisk() 147 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/networksecurityconfig/networksecurityconfig-resourcesrc/src/android/security/net/config/cts/ |
D | ResourceSourceTest.java | 63 Set<X509Certificate> certs = loadCertificates(R.raw.der_single); in testOnlyResourceCasPresent() local 64 certs.addAll(loadCertificates(R.raw.der_multiple)); in testOnlyResourceCasPresent() 65 certs.addAll(loadCertificates(R.raw.pem_single)); in testOnlyResourceCasPresent() 66 certs.addAll(loadCertificates(R.raw.pem_multiple)); in testOnlyResourceCasPresent() 67 MoreAsserts.assertEquals(certs, trusted); in testOnlyResourceCasPresent()
|
/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…
|
/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/hostsidetests/appsecurity/test-apps/SplitApp/libs/mips/ |
D | Android.mk | 32 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1 49 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/armeabi/ |
D | Android.mk | 32 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1 49 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/x86_64/ |
D | Android.mk | 32 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1 49 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/mips64/ |
D | Android.mk | 32 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1 49 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/x86/ |
D | Android.mk | 32 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1 49 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/arm64-v8a/ |
D | Android.mk | 32 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1 49 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/libs/armeabi-v7a/ |
D | Android.mk | 32 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1 49 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
|
/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 | 159 final Collection<Certificate> certs = loadCertificatesFromAsset(assetName); in loadCertificateChain() local 160 final ArrayList<Certificate> certChain = new ArrayList(certs); in loadCertificateChain() 162 assertThat(certs.size()).isGreaterThan(1); in loadCertificateChain() 685 List<Certificate> certs = new ArrayList<Certificate>(); in testCanSetKeyPairCert() local 686 certs.add(cert); in testCanSetKeyPairCert() 687 mDevicePolicyManager.setKeyPairCertificate(getWho(), alias, certs, true); in testCanSetKeyPairCert() local 692 assertThat(fetchedCerts.length).isEqualTo(certs.size()); in testCanSetKeyPairCert() 693 assertThat(fetchedCerts[0].getEncoded()).isEqualTo(certs.get(0).getEncoded()); in testCanSetKeyPairCert()
|
/cts/hostsidetests/atrace/AtraceTestApp/ |
D | Android.bp | 28 //LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
|
/cts/hostsidetests/appsecurity/ |
D | Android.bp | 79 srcs: ["certs/pkgsigverify/ec-p256-por_1_2-default-caps"],
|
/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/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 1023 List<Certificate> certs = new ArrayList(); in testSetKeyPairCertificate_failIfNotProfileOwner() local 1024 certs.add(cert); in testSetKeyPairCertificate_failIfNotProfileOwner() 1025 mDevicePolicyManager.setKeyPairCertificate(mComponent, "set-should-fail", certs, true); in testSetKeyPairCertificate_failIfNotProfileOwner()
|
/cts/hostsidetests/appsecurity/test-apps/tinyapp/ |
D | Android.mk | 19 cert_dir := cts/hostsidetests/appsecurity/certs/pkgsigverify
|