present

suspend fun present(signingKey: AsymmetricKey, nonce: String, audience: String, creationTime: Instant = Clock.System.now()): SdJwtKb

Presents an SD-JWT to a verifier, using SD-JWT's associated signing key.

This generates a SD-JWT+KB from the SD-JWT by simply appending a Key-Binding JWT.

Parameters

signingKey

private key associated with this SD-JWT.

nonce

the nonce, obtained from the verifier.

audience

the audience, obtained from the verifier.

creationTime

the time the presentation was made.