Home
last modified time | relevance | path

Searched refs:PARAM_CHALLENGE (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/AttestationVerificationTest/src/com/android/server/security/
DAttestationVerificationPeerDeviceVerifierTest.kt6 import android.security.attestationverification.AttestationVerificationManager.PARAM_CHALLENGE
68 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in verifyAttestation_returnsSuccessTypeChallenge()
84 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in verifyAttestation_returnsSuccessLocalPatchOlderThanOneYear()
120 challengeRequirements.putByteArray(PARAM_CHALLENGE, "activeUnlockValid".encodeToByteArray()) in verifyAttestation_returnsSuccessOwnedBySystem()
138 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in verifyAttestation_returnsFailureOwnedBySystem()
155 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in verifyAttestation_returnsFailurePatchDateNotWithinOneYearLocalPatch()
171 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in verifyAttestation_returnsFailureTrustedAnchorEmpty()
193 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in verifyAttestation_returnsFailureTrustedAnchorMismatch()
208 challengeRequirements.putByteArray(PARAM_CHALLENGE, "wrong".encodeToByteArray()) in verifyAttestation_returnsFailureChallenge()
/frameworks/base/services/core/java/com/android/server/security/
DAttestationVerificationSelfTrustedVerifierForTesting.java19 …ort static android.security.attestationverification.AttestationVerificationManager.PARAM_CHALLENGE;
189 if (!requirements.containsKey(PARAM_CHALLENGE)) { in validateRequirements()
190 debugVerboseLog("Requirements does not contain key: " + PARAM_CHALLENGE); in validateRequirements()
206 if (Arrays.equals(requirements.getByteArray(PARAM_CHALLENGE), challenge)) { in checkLeafChallenge()
DAttestationVerificationPeerDeviceVerifier.java19 …ort static android.security.attestationverification.AttestationVerificationManager.PARAM_CHALLENGE;
285 if (localBindingType == TYPE_CHALLENGE && !requirements.containsKey(PARAM_CHALLENGE)) { in validateAttestationParameters()
286 debugVerboseLog("Requirements does not contain key: " + PARAM_CHALLENGE); in validateAttestationParameters()
365 attestationAttributes, requirements.getByteArray(PARAM_CHALLENGE)); in checkLocalBindingRequirements()
/frameworks/base/services/companion/java/com/android/server/companion/securechannel/
DAttestationVerifier.java19 …ort static android.security.attestationverification.AttestationVerificationManager.PARAM_CHALLENGE;
64 requirements.putByteArray(PARAM_CHALLENGE, attestationChallenge); in verifyAttestation()
/frameworks/base/tests/AttestationVerificationTest/src/android/security/attestationverification/
DPeerDeviceSystemAttestationVerificationTest.kt5 import android.security.attestationverification.AttestationVerificationManager.PARAM_CHALLENGE in <lambda>()
87 challengeRequirements.putByteArray(PARAM_CHALLENGE, "challengeStr".encodeToByteArray()) in <lambda>()
129 challengeRequirements.putByteArray(PARAM_CHALLENGE, "player456".encodeToByteArray()) in <lambda>()
DSystemAttestationVerificationTest.kt14 import android.security.attestationverification.AttestationVerificationManager.PARAM_CHALLENGE in <lambda>()
117 wrongChallengeRequirements.putByteArray(PARAM_CHALLENGE, "wrong".encodeToByteArray()) in <lambda>()
186 requirements.putByteArray(PARAM_CHALLENGE, challengeByteArray) in <lambda>()
/frameworks/base/core/java/android/security/attestationverification/
DAttestationVerificationManager.java323 public static final String PARAM_CHALLENGE = "localbinding.challenge"; field in AttestationVerificationManager