Skip to main content

ICredentialStatusManager.credentialStatusGenerate() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Generates a credentialStatus property for a future credential, not yet signed.

This method is used during the creation of a VerifiableCredential in order to make it capable of having its status updated later (to be revoked).

Signature:

credentialStatusGenerate(args: CredentialStatusGenerateArgs): Promise<CredentialStatusReference>;

Parameters

ParameterTypeDescription
argsCredentialStatusGenerateArgsInput arguments for generating the credentialStatus field of a new credential

Returns:

Promise<CredentialStatusReference>