Home
last modified time | relevance | path

Searched refs:certificates (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/identity/src/android/security/identity/cts/
DDynamicAuthTest.java134 Collection<X509Certificate> certificates = null; in dynamicAuthTest() local
135 certificates = credential.getAuthKeysNeedingCertification(); in dynamicAuthTest()
136 assertEquals(5, certificates.size()); in dynamicAuthTest()
142 assertArrayEquals(certificates.toArray(), certificates2.toArray()); in dynamicAuthTest()
146 X509Certificate key0Cert = certificates.iterator().next(); in dynamicAuthTest()
162 certificates = credential.getAuthKeysNeedingCertification(); in dynamicAuthTest()
167 assertEquals(4, certificates.size()); in dynamicAuthTest()
170 X509Certificate key4Cert = new ArrayList<X509Certificate>(certificates).get( in dynamicAuthTest()
171 certificates.size() - 1); in dynamicAuthTest()
185 certificates = credential.getAuthKeysNeedingCertification(); in dynamicAuthTest()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DCertificateTest.java158 Set<String> certificates = new HashSet<>(); in getDeviceWfaCertificates() local
166 certificates.add(fingerprint); in getDeviceWfaCertificates()
168 return certificates; in getDeviceWfaCertificates()
179 Set<String> certificates = new HashSet<String>(); in getDeviceCertificates() local
187 certificates.add(fingerprint); in getDeviceCertificates()
189 return certificates; in getDeviceCertificates()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java231 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testEcAttestation_NoChallenge() local
232 assertEquals(1, certificates.length); in testEcAttestation_NoChallenge()
234 X509Certificate attestationCert = (X509Certificate) certificates[0]; in testEcAttestation_NoChallenge()
269 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testEcAttestation_DeviceLocked() local
270 verifyCertificateChain(certificates, TestUtils.hasStrongBox(getContext())); in testEcAttestation_DeviceLocked()
272 X509Certificate attestationCert = (X509Certificate) certificates[0]; in testEcAttestation_DeviceLocked()
399 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testRsaAttestation_NoChallenge() local
400 assertEquals(1, certificates.length); in testRsaAttestation_NoChallenge()
402 X509Certificate attestationCert = (X509Certificate) certificates[0]; in testRsaAttestation_NoChallenge()
438 Certificate certificates[] = keyStore.getCertificateChain(keystoreAlias); in testRsaAttestation_DeviceLocked() local
[all …]
/cts/tools/utils/
Djava-cert-list-generator.sh55 CERT_DIRECTORY=$ANDROID_BUILD_TOP/system/ca-certificates/files/
70 CERT_DIRECTORY=$ANDROID_BUILD_TOP/system/ca-certificates/wfa_certs/files/
/cts/hostsidetests/appsecurity/res/pkgsigverify/
DREADME.txt17 which test certificates were used to generate a proof-of-rotation object,
19 capabilities of those certificates according to APK Signature Scheme v3.
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DCertInstallDelegateTest.java174 private static boolean containsCertificate(List<byte[]> certificates, byte[] toMatch) in containsCertificate() argument
177 for (byte[] certBuffer : certificates) { in containsCertificate()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerReceiver.java158 private static boolean containsCertificate(List<byte[]> certificates, byte[] toMatch) in containsCertificate() argument
161 for (byte[] certBuffer : certificates) { in containsCertificate()
DDirectDelegatedCertInstallerTest.java234 private static boolean containsCertificate(List<byte[]> certificates, byte[] toMatch) in containsCertificate() argument
237 for (byte[] certBuffer : certificates) { in containsCertificate()