pamoja for TypeScript - v0.1.17
    Preparing search index...

    Class DeviceIdentity

    A device's private signing identity.

    Index
    • Returns the short hex fingerprint of this identity, for logs and displays.

      Returns string

    • Returns the public key matching this identity, safe to share.

      Returns Buffer

    • Signs a payload, returning the 64-byte detached signature.

      Parameters

      • payload: Buffer

      Returns Buffer

    • Signs a payload and returns the signature followed by the payload, as one message.

      Parameters

      • payload: Buffer

      Returns Buffer