IOS

abstract class IOS(val clientData: ByteArray?) : AttestationResult(source)

Successful iOS attestation. If AttestationService.verifyKeyAttestation returned this, clientData contains the encoded attested public key. The Warden, returns IOS.Verified, also setting IOS.Verified.attestation. The NoopAttestationService returns IOS.NOOP (which is useful to as it enables skipping any and all attestation checks for unit testing, when used with dependency injection, for example).

Inheritors

Constructors

Link copied to clipboard
constructor(clientData: ByteArray?)

Types

Link copied to clipboard
class NOOP(val clientData: ByteArray?) : AttestationResult.IOS
Link copied to clipboard
class Verified(val attestation: ValidatedAttestation, val iosVersion: ParsedVersions, val assertedClientData: Pair<ByteArray, Assertion>?) : AttestationResult.IOS, AttestationResult.Verified

Properties

Link copied to clipboard
Link copied to clipboard
abstract val iosDetails: String

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String