A KiltCredentialV1 type verifiable credential.
Options map.
Optional
cOne or more CType definitions to be used for validation. If loadCTypes
is set to false
, validation will fail if the definition of the credential's CType is not given.
Optional
loadCTypes?: false | CTypeLoaderA function to load CType definitions that are not in cTypes
. Defaults to using the CachingCTypeLoader. If set to false
or undefined
, no additional CTypes will be loaded.
Validates the claims in the VC's
credentialSubject
against a CType definition.