Home
last modified time | relevance | path

Searched refs:attestation (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java560 Attestation attestation = new Attestation(attestationCert); in testRsaAttestation() local
562 checkRsaKeyDetails(attestation, keySize, purposes, ImmutableSet.copyOf(paddingModes)); in testRsaAttestation()
565 devicePropertiesAttestation, attestation); in testRsaAttestation()
619 Attestation attestation = new Attestation(attestationCert); in testEcAttestation() local
621 checkEcKeyDetails(attestation, ecCurve, keySize); in testEcAttestation()
624 devicePropertiesAttestation, attestation); in testEcAttestation()
630 private void checkAttestationApplicationId(Attestation attestation) in checkAttestationApplicationId() argument
633 int kmVersion = attestation.getKeymasterVersion(); in checkAttestationApplicationId()
634 assertNull(attestation.getTeeEnforced().getAttestationApplicationId()); in checkAttestationApplicationId()
635 aaid = attestation.getSoftwareEnforced().getAttestationApplicationId(); in checkAttestationApplicationId()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java399 private void validateAttestationRecord(List<Certificate> attestation, byte[] providedChallenge) in validateAttestationRecord() argument
401 assertThat(attestation).isNotNull(); in validateAttestationRecord()
402 assertThat(attestation.size()).isGreaterThan(1); in validateAttestationRecord()
403 X509Certificate leaf = (X509Certificate) attestation.get(0); in validateAttestationRecord()
493 List<Certificate> attestation = generated.getAttestationRecord(); in generateKeyAndCheckAttestation() local
494 validateAttestationRecord(attestation, attestationChallenge); in generateKeyAndCheckAttestation()
495 validateSignatureChain(attestation, keyPair.getPublic()); in generateKeyAndCheckAttestation()
496 return attestation.get(0); in generateKeyAndCheckAttestation()
586 Certificate attestation = generateKeyAndCheckAttestation( in assertAllVariantsOfDeviceIdAttestation() local
591 if (attestation == null && !isDeviceIdAttestationSupported()) { in assertAllVariantsOfDeviceIdAttestation()
[all …]