ChallengeValidator

Deprecated

To be folded into AttestationChallengeValidator with Warden Supreme 1.3

Replace with

AttestationChallengeValidator

Invoked from AttestationVerifier.verifyAttestation. Required to match against in-transit attestation processes.

See also

Inheritors

Functions

Link copied to clipboard
abstract suspend fun store(challenge: AttestationChallenge)

The contract of this function is that it stores challenges regardless of their contents and performs no sanity checks. Reason: Strong cryptographic nonces are assumed, making collisions unrealistic

Link copied to clipboard
abstract suspend fun validate(csr: Pkcs10CertificationRequest): ChallengeValidationResult

The contract of this function is that it returns a ChallengeValidationResult.Success iff a valid challenge matching the passed signed CSR from the client is found. In all other cases, it must return a ChallengeValidationResult.Failure: