invoke
Configures and initializes an AttestationVerifier using the provided configuration, nonce generator, and challenge verifier.
Note that the nonce validity will always be the longest validity duration over SupremeConfiguration.android and SupremeConfiguration.ios. If only an Android configuration without a nonce validity duration is provided, this will default to IosAttestationConfiguration.DEFAULT_VALIDITY_SECONDS.
Return
An instance of AttestationVerifier configured with the provided parameters.
Parameters
The SupremeConfiguration object containing Android and/or iOS attestation configurations, attestation proof OID, generic device name OID, default key constraints, and verification time offset.
A NonceGenerator instance to generate unique challenges for verification. Defaults to WardenDefaults.nonceGenerator.
A lambda function that initializes a ChallengeValidator based on:
the provided SupremeConfiguration.Clock.timeSource
the inverse SupremeConfiguration.verificationTimeOffset because drift in the opposite direction relative to the back end. Passing the inverse here means straight-forward challenge validation logic without the need to account for who sees what inverted and who doesn't.
configuration. Defaults to using an InMemoryChallengeCache.