ICredentialWallet.createCredential() method
Creates a W3C verifiable Credential object
Signature:
createCredential(issuer: DID, request: CredentialRequest, schema: JSONSchema): W3CCredential;
Parameters
Parameter | Type | Description |
---|---|---|
issuer | DID | issuer identity |
request | CredentialRequest | specification of claim creation parameters |
schema | JSONSchema | JSON schema for W3C Verifiable Credential |
Returns:
W3CCredential