Verifier

@ThreadSafe
open class Verifier(trustAnchorsSource: () -> Set<TrustAnchor>, revokedSerialsSource: () -> Set<String>, instantSource: InstantSource)

Verifier for Android Key Attestation certificate chain.

https://developer.android.com/privacy-and-security/security-key-attestation

Parameters

anchor

a TrustAnchor to use for certificate path verification.

Constructors

Link copied to clipboard
constructor(trustAnchorsSource: () -> Set<TrustAnchor>, revokedSerialsSource: () -> Set<String>, instantSource: InstantSource)

Functions

Link copied to clipboard
fun verify(chain: List<X509Certificate>, challengeChecker: ChallengeChecker? = null, log: LogHook? = null): VerificationResult

Verifies an Android Key Attestation certificate chain.