Class SignIdentityAbstract

An Identity that can sign blobs.

Implements

Constructors

Properties

_principal: undefined | types.Principal

Methods

  • Returns the public key that would match this identity's signature.

    Returns utils.agent.PublicKey

  • Get the principal represented by this identity. Normally should be a Principal.selfAuthenticating().

    Returns types.Principal

  • Transform a request into a signed version of the request. This is done last after the transforms on the body of a request. The returned object can be anything, but must be serializable to CBOR.

    Parameters

    Returns Promise<unknown>