ChallengeMatcher

class ChallengeMatcher(expectedChallenge: ByteString) : ChallengeChecker

A basic implementation of ChallengeChecker that checks if the challenge in the attestation certificate is equal to the expected challenge.

Constructors

Link copied to clipboard
constructor(expectedChallenge: ByteArray)
constructor(expectedChallenge: ByteString)

Functions

Link copied to clipboard
open override fun checkChallenge(challenge: ByteString): Boolean

Checks the given challenge for validity.