Home
last modified time | relevance | path

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

/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationTest.java171 Attestation attestation = new Attestation(attestationCert); in testEcAttestation() local
172 if (!Arrays.equals(attestation.getAttestationChallenge(), challenge)) { in testEcAttestation()
174 challenge, attestation.getAttestationChallenge()); in testEcAttestation()
177 if (attestation.getAttestationSecurityLevel() != 1) { in testEcAttestation()
179 1, attestation.getAttestationSecurityLevel()); in testEcAttestation()
181 if (attestation.getKeymasterSecurityLevel() != 1) { in testEcAttestation()
183 1, attestation.getKeymasterSecurityLevel()); in testEcAttestation()
186 checkRootOfTrust(attestation); in testEcAttestation()
274 private void checkRootOfTrust(Attestation attestation) { in checkRootOfTrust() argument
275 RootOfTrust rootOfTrust = attestation.getTeeEnforced().getRootOfTrust(); in checkRootOfTrust()
/tools/security/remote_provisioning/attestation_testing/
DREADME1 Run the following commands to run this attestation test on device. From the root of the tree: