create

suspend fun create(document: Document, asReplacementForIdentifier: String?, domain: String, secureArea: SecureArea, vct: String, createKeySettings: CreateKeySettings): KeyBoundSdJwtVcCredential

Create a KeyBoundSdJwtVcCredential.

Return

an uncertified Credential which has been added to document.

Parameters

document

The document to add the credential to.

asReplacementForIdentifier

the identifier for the Credential this will replace when certified.

domain

The domain for the credential.

secureArea

The SecureArea to use for creating a key.

vct

The Verifiable Credential Type for the credential.

createKeySettings

The settings to use for key creation, including algorithm parameters.