Searched refs:attestation (Results 1 – 2 of 2) sorted by relevance
437 Attestation attestation = new Attestation(attestationCert); in testRsaAttestation() local439 checkRsaKeyDetails(attestation, keySize, purposes, ImmutableSet.copyOf(paddingModes)); in testRsaAttestation()442 attestation); in testRsaAttestation()491 Attestation attestation = new Attestation(attestationCert); in testEcAttestation() local493 checkEcKeyDetails(attestation, ecCurve, keySize); in testEcAttestation()496 attestation); in testEcAttestation()502 private void checkAttestationApplicationId(Attestation attestation) in checkAttestationApplicationId() argument505 int kmVersion = attestation.getKeymasterVersion(); in checkAttestationApplicationId()506 assertNull(attestation.getTeeEnforced().getAttestationApplicationId()); in checkAttestationApplicationId()507 aaid = attestation.getSoftwareEnforced().getAttestationApplicationId(); in checkAttestationApplicationId()[all …]
399 private void validateAttestationRecord(List<Certificate> attestation, byte[] providedChallenge) in validateAttestationRecord() argument401 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() local494 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() local591 if (attestation == null && !isDeviceIdAttestationSupported()) { in assertAllVariantsOfDeviceIdAttestation()[all …]