Package-level declarations

Types

Link copied to clipboard

A key-bound ISO/IEC 18013-5 mdoc credential bound to an authentication key stored in a SecureArea.

Link copied to clipboard

A non-key-bound (keyless) ISO/IEC 18013-5 mdoc credential.

Link copied to clipboard
interface MdocCredential

An ISO/IEC 18013-5 mdoc credential (either key-bound via KeyBoundMdocCredential or non-key-bound via KeylessMdocCredential).

Functions

Link copied to clipboard
suspend fun MdocCredential.validate(now: Instant? = Clock.System.now()): ValidationResult

Validates this certified mdoc credential against its current issuer-provided data.

suspend fun MdocCredential.validate(issuerProvidedAuthenticationData: ByteString, now: Instant? = Clock.System.now()): ValidationResult

Validates candidate issuer-provided static authentication data against this mdoc credential.