NoopAttestationService
NOOP attestation service. Useful during unit tests for disabling attestation integrated into service endpoints. Simply forwards inputs but performs no attestation whatsoever.
Do not use in production!
Properties
Functions
Link copied to clipboard
inline fun <T : PublicKey, R> KeyAttestation<T>.foldTyped(onError: (AttestationResult.Error) -> R, onSuccess: (T, AttestationResult.NOOP) -> R): R
Link copied to clipboard
suspend fun verifyKeyAttestation(attestationProof: Attestation, challenge: ByteArray): KeyAttestation<PublicKey>
suspend fun <T : PublicKey>
Verifies key attestation for both Android and Apple devices.
suspend fun
Same as verifyKeyAttestation, but taking an encoded (either ANSI X9.63 or DER) publix key as a byte array
Link copied to clipboard
fun verifyKeyAttestationBlocking(attestationProof: Attestation, challenge: ByteArray): KeyAttestation<PublicKey>
fun <T : PublicKey>
Verifies key attestation for both Android and Apple devices.
suspend fun
Same as verifyKeyAttestation, but taking an encoded (either ANSI X9.63 or DER) publix key as a byte array