Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "src/util"

Index

Functions

Const generateIdentitySummary

  • Given an identity, returns an object satisfying the IdentitySummary interface.

    dev

    Currently used with the {@link IssuerCard} component

    note

    In case the identity does not contain a Public Profile credential, the function will return a minimal default which can be rendered.

    Parameters

    • identity: Identity

      Instance of identity to generate the summary for

    Returns IdentitySummary

generateSecureRandomBytes

  • generateSecureRandomBytes(length: number): Promise<Buffer>
  • Parameters

    • length: number

    Returns Promise<Buffer>

Generated using TypeDoc