Class Credential<PublicKey, Signature, SignatureParams>Abstract

Type Parameters

  • PublicKey
  • Signature
  • SignatureParams

Hierarchy (view full)

Constructors

Properties

_version: string
credentialStatus?: object

Each credential references the schema which is included as an attribute

signature: Signature
subject: object | object[]
topLevelFields: Map<string, unknown>

Accessors

Methods

  • A credential will have at least some proof metadata like the type or purpose. This adds those defaults to the given object.

    Parameters

    • _s: object

    Returns void

  • Protected

    Ensure proof type is correct

    Parameters

    • typ: string

    Returns void