@blockchaincommons/components - v1.0.0-beta.4
    Preparing search index...

    Class PublicKeys

    PublicKeys - Container for a signing public key and an encapsulation public key.

    This type provides a convenient way to share public keys for both signature verification and encryption operations.

    Implements

    Index
    • Get string representation.

      PublicKeys(<short_reference>, <signing_public_key>, <encapsulation_public_key>)

      The earlier short form (PublicKeys(<short_reference>)) was observable in envelope notation as a missing key fingerprint trail in the GSTP 'sender': XID(...) [ 'key': PublicKeys(...) ] format-pin.

      Returns string

    • The CBOR tags this type decodes from; the first one is used to encode.

      Returns Tag[]

    • Returns the untagged CBOR encoding.

      Format: [, ]

      Returns Cbor

    • The tagged CBOR form.

      Returns Cbor

    • As a UR, typed by the first tag's name.

      Returns UR

    • Decodes a tagged PublicKeys; an untagged or foreign-tagged value is a Cbor failure.

      Parameters

      • cborValue: Cbor

      Returns PublicKeys