Searched refs:attestation (Results 1 – 2 of 2) sorted by relevance
432 Attestation attestation = new Attestation(attestationCert); in testRsaAttestation() local434 checkRsaKeyDetails(attestation, keySize, purposes, ImmutableSet.copyOf(paddingModes)); in testRsaAttestation()437 attestation); in testRsaAttestation()486 Attestation attestation = new Attestation(attestationCert); in testEcAttestation() local488 checkEcKeyDetails(attestation, ecCurve, keySize); in testEcAttestation()491 attestation); in testEcAttestation()497 private void checkAttestationApplicationId(Attestation attestation) in checkAttestationApplicationId() argument500 int kmVersion = attestation.getKeymasterVersion(); in checkAttestationApplicationId()501 assertNull(attestation.getTeeEnforced().getAttestationApplicationId()); in checkAttestationApplicationId()502 aaid = attestation.getSoftwareEnforced().getAttestationApplicationId(); in checkAttestationApplicationId()[all …]
351 private void validateAttestationRecord(List<Certificate> attestation, in validateAttestationRecord() argument353 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() local436 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() local505 if (attestation == null && !isDeviceIdAttestationSupported()) { in testAllVariationsOfDeviceIdAttestation()[all …]