validate

abstract suspend fun validate(attestationProof: AttestationProof): ChallengeValidationResult(source)

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


open suspend override fun validate(csr: Pkcs10CertificationRequest): ChallengeValidationResult(source)

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: