@voidmerge/voidmerge-client
    Preparing search index...

    Class VmSignType

    A base encoding/decoding type for cryptographic signing data.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get "[toStringTag]"(): string

      Try to show the string repr when debugging.

      Returns string

    Methods

    • Get the algorithm.

      Returns string

    • Get the full encoded version of this type.

      Returns Uint8Array

    • Is this a public key?

      Returns boolean

    • Is this a secret key?

      Returns boolean

    • Is this a signature?

      Returns boolean

    • Get the material portion of this type.

      Returns Uint8Array

    • Also use the string repr for JSON.

      Returns string

    • Stringify this type into the base64url repr.

      Returns string

    • Get the typ.

      Returns Uint8Array

    • Parameters

      • alg: string
      • typ: Uint8Array
      • material: Uint8Array

      Returns VmSignType