/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | DynamicAuthTest.java | 139 Collection<X509Certificate> certificates = null; in dynamicAuthTest() local 140 certificates = credential.getAuthKeysNeedingCertification(); in dynamicAuthTest() 141 assertEquals(5, certificates.size()); in dynamicAuthTest() 147 assertArrayEquals(certificates.toArray(), certificates2.toArray()); in dynamicAuthTest() 151 X509Certificate key0Cert = certificates.iterator().next(); in dynamicAuthTest() 167 certificates = credential.getAuthKeysNeedingCertification(); in dynamicAuthTest() 172 assertEquals(4, certificates.size()); in dynamicAuthTest() 175 X509Certificate key4Cert = new ArrayList<X509Certificate>(certificates).get( in dynamicAuthTest() 176 certificates.size() - 1); in dynamicAuthTest() 190 certificates = credential.getAuthKeysNeedingCertification(); in dynamicAuthTest() [all …]
|
D | NoSessionEncryptionTest.java | 75 Collection<X509Certificate> certificates = credential.getAuthKeysNeedingCertification(); in noSessionEncryption() local 76 for (X509Certificate certificate : certificates) { in noSessionEncryption() 79 PublicKey expectedAuthKey = certificates.iterator().next().getPublicKey(); in noSessionEncryption()
|
D | MultiDocumentPresentationTest.java | 84 Collection<X509Certificate> certificates = credential.getAuthKeysNeedingCertification(); in createAuthKeys() local 85 for (X509Certificate certificate : certificates) { in createAuthKeys() 88 return certificates; in createAuthKeys()
|
D | ProvisioningTest.java | 1218 Collection<X509Certificate> certificates = credential.getAuthKeysNeedingCertification(); in testUpdateCredential() local 1219 assertEquals(3, certificates.size()); in testUpdateCredential() 1220 for (X509Certificate cert : certificates) { in testUpdateCredential()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CertificateTest.java | 189 Set<String> certificates = new HashSet<>(); in getDeviceWfaCertificates() local 197 certificates.add(fingerprint); in getDeviceWfaCertificates() 199 return certificates; in getDeviceWfaCertificates() 210 Set<String> certificates = new HashSet<String>(); in getDeviceCertificates() local 218 certificates.add(fingerprint); in getDeviceCertificates() 220 return certificates; in getDeviceCertificates()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyAttestationTest.java | 394 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testEcAttestation_NoChallenge() local 395 assertEquals(1, certificates.length); in testEcAttestation_NoChallenge() 397 X509Certificate attestationCert = (X509Certificate) certificates[0]; in testEcAttestation_NoChallenge() 434 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testEcAttestation_DeviceLocked() local 435 verifyCertificateChain(certificates, expectStrongBox); in testEcAttestation_DeviceLocked() 437 X509Certificate attestationCert = (X509Certificate) certificates[0]; in testEcAttestation_DeviceLocked() 512 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testAttestationKmVersionMatchesFeatureVersion() local 513 verifyCertificateChain(certificates, isStrongBox /* expectStrongBox */); in testAttestationKmVersionMatchesFeatureVersion() 514 X509Certificate attestationCert = (X509Certificate) certificates[0]; in testAttestationKmVersionMatchesFeatureVersion() 615 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testEcAttestation_UniqueIdWorksWithCorrectPermission() local [all …]
|
D | DeviceOwnerKeyManagementTest.java | 588 Certificate []certificates = keyStore.getCertificateChain(keystoreAlias); in checkDeviceLocked() local 589 verifyCertificateChain(certificates, false); in checkDeviceLocked() 591 X509Certificate attestationCert = (X509Certificate) certificates[0]; in checkDeviceLocked()
|
/cts/tools/utils/ |
D | java-cert-list-generator.sh | 53 CERT_DIRECTORY=$ANDROID_BUILD_TOP/system/ca-certificates/files/ 68 CERT_DIRECTORY=$ANDROID_BUILD_TOP/system/ca-certificates/wfa_certs/files/
|
/cts/tests/appsearch/certs/ |
D | README | 2 # These files shouldn't need to change unless you want to generate new certificates to sign the APKs
|
/cts/hostsidetests/appsecurity/res/pkgsigverify/ |
D | README.md | 21 which test certificates were used to generate a proof-of-rotation object, 23 capabilities of those certificates according to APK Signature Scheme v3.
|
/cts/hostsidetests/appsearch/certs/ |
D | README | 2 # These files shouldn't need to change unless you want to generate new certificates to sign the APKs
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | KeystoreAttestationDeviceInfo.java | 135 Certificate[] certificates = keystore.getCertificateChain(testAlias); in loadCertAndCollectAttestation() local 136 assertTrue(certificates.length >= 1); in loadCertAndCollectAttestation() 142 for (Certificate certificate : certificates) { in loadCertAndCollectAttestation()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CredentialManagementAppTest.java | 257 List<Certificate> certificates = Arrays.asList(CERTIFICATE); in setKeyPairCertificate_isCredentialManagementApp_success() local 258 sDevicePolicyManager.setKeyPairCertificate(/* admin = */ null, ALIAS, certificates, in setKeyPairCertificate_isCredentialManagementApp_success() 266 assertThat(fetchedCerts.length).isEqualTo(certificates.size()); in setKeyPairCertificate_isCredentialManagementApp_success() 267 assertThat(fetchedCerts[0].getEncoded()).isEqualTo(certificates.get(0).getEncoded()); in setKeyPairCertificate_isCredentialManagementApp_success()
|
D | KeyManagementTest.java | 45 import com.android.bedstead.nene.certificates.Certificates; 82 TestApis.certificates().generateRSAPrivateKey(FakeKeys.FAKE_RSA_1.privateKey); 84 TestApis.certificates().generateCertificate(FakeKeys.FAKE_RSA_1.caCertificate); 635 Certificate[] certificates = KeyChain.getCertificateChain(sContext, RSA_ALIAS); in grantKeyPair_validCertificate() local 637 assertThat(certificates).asList().containsExactly(CERTIFICATE); in grantKeyPair_validCertificate()
|
D | WifiTest.java | 62 import com.android.bedstead.nene.certificates.Certificates; 109 TestApis.certificates().generateRSAPrivateKey(FakeKeys.FAKE_RSA_1.privateKey); 111 TestApis.certificates().generateCertificate(FakeKeys.FAKE_RSA_1.caCertificate);
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/certificates/ |
D | Certificates.java | 17 package com.android.bedstead.nene.certificates;
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | CertInstallerReceiver.java | 168 private static boolean containsCertificate(List<byte[]> certificates, byte[] toMatch) in containsCertificate() argument 171 for (byte[] certBuffer : certificates) { in containsCertificate()
|
D | DirectDelegatedCertInstallerTest.java | 279 private static boolean containsCertificate(List<byte[]> certificates, byte[] toMatch) in containsCertificate() argument 282 for (byte[] certBuffer : certificates) { in containsCertificate()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/ |
D | TestApis.kt | 25 import com.android.bedstead.nene.certificates.Certificates 175 fun certificates(): Certificates = Certificates.sInstance method
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiHotspot2Test.java | 316 X509Certificate[] certificates = new X509Certificate[]{FakeKeys.CLIENT_CERT}; in testCredentialClientCertificateChain() local 317 credential.setClientCertificateChain(certificates); in testCredentialClientCertificateChain() 319 assertTrue(Arrays.equals(certificates, credential.getClientCertificateChain())); in testCredentialClientCertificateChain()
|
/cts/hostsidetests/appsecurity/test-apps/tinyapp/ |
D | Android.bp | 426 // signing key with the trusted certificates being ec-p256 and ec-p256_3.
|