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.java432 Attestation attestation = new Attestation(attestationCert); in testRsaAttestation() local
434 checkRsaKeyDetails(attestation, keySize, purposes, ImmutableSet.copyOf(paddingModes)); in testRsaAttestation()
437 attestation); in testRsaAttestation()
486 Attestation attestation = new Attestation(attestationCert); in testEcAttestation() local
488 checkEcKeyDetails(attestation, ecCurve, keySize); in testEcAttestation()
491 attestation); in testEcAttestation()
497 private void checkAttestationApplicationId(Attestation attestation) in checkAttestationApplicationId() argument
500 int kmVersion = attestation.getKeymasterVersion(); in checkAttestationApplicationId()
501 assertNull(attestation.getTeeEnforced().getAttestationApplicationId()); in checkAttestationApplicationId()
502 aaid = attestation.getSoftwareEnforced().getAttestationApplicationId(); in checkAttestationApplicationId()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java351 private void validateAttestationRecord(List<Certificate> attestation, in validateAttestationRecord() argument
353 assertNotNull(attestation); in validateAttestationRecord()
354 assertTrue(attestation.size() >= 2); in validateAttestationRecord()
355 X509Certificate leaf = (X509Certificate) attestation.get(0); in validateAttestationRecord()
435 List<Certificate> attestation = generated.getAttestationRecord(); in generateKeyAndCheckAttestation() local
436 validateAttestationRecord(attestation, attestationChallenge); in generateKeyAndCheckAttestation()
437 validateSignatureChain(attestation, keyPair.getPublic()); in generateKeyAndCheckAttestation()
438 return attestation.get(0); in generateKeyAndCheckAttestation()
500 Certificate attestation = generateKeyAndCheckAttestation( in testAllVariationsOfDeviceIdAttestation() local
505 if (attestation == null && !isDeviceIdAttestationSupported()) { in testAllVariationsOfDeviceIdAttestation()
[all …]