Home
last modified time | relevance | path

Searched refs:certs (Results 1 – 25 of 27) sorted by relevance

12

/cts/hostsidetests/appsecurity/res/pkgsigverify/
Dgenerate-apks.sh5 …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/
DAttestationTest.java131 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/
DCertBlacklistTest.java93 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()
DConscryptIntermediateVerificationTest.java41 Collection<? extends Certificate> certs; in loadCertificates() local
44 certs = certFactory.generateCertificates(is); in loadCertificates()
53 for (Certificate cert : certs) { in loadCertificates()
DCertificateTest.java132 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/
Dgenerate-client-cert-chain.sh20 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 \
Dca.conf10 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/
DResourceSourceTest.java63 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/
Dreadme.txt13 …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/
DPreSelectedKeyAccessTest.java54 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/
DAndroid.mk32 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/
DAndroid.mk32 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/
DAndroid.mk32 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/
DAndroid.mk32 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/
DAndroid.mk32 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/
DAndroid.mk32 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/
DAndroid.mk32 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/
Dbuild20 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/
DKeyManagementTest.java159 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/
DAndroid.bp28 //LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
/cts/hostsidetests/appsecurity/
DAndroid.bp79 srcs: ["certs/pkgsigverify/ec-p256-por_1_2-default-caps"],
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiEnterpriseConfigTest.java728 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/
Dbuild_libs.sh112 LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java1023 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/
DAndroid.mk19 cert_dir := cts/hostsidetests/appsecurity/certs/pkgsigverify

12