create

suspend fun create(document: Document, asReplacementForIdentifier: String?, domain: String, vct: String): KeylessSdJwtVcCredential

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.

vct

The Verifiable Credential Type for the credential.