signify-ts
    Preparing search index...

    Class Controller

    Controller is responsible for managing signing keys for the client and agent. The client signing key represents the Account for the client on the agent

    Index

    Constructors

    • Creates a Signify Controller starting at key index 0 that generates keys in memory based on the provided seed, or bran, the tier, and the rotation index.

      The rotation index is used as follows:

      Parameters

      • bran: string
      • tier: Tier
      • ridx: number = 0
      • state: any = null

      Returns Controller

    Properties

    ndigs: string[]

    Digests of the next public keys formatted in fully-qualified Base64.

    ridx: number

    The rotation index used during key generation by this Controller.

    salter: any

    The salter is a cryptographic salt used to derive the controller's cryptographic key pairs and is deterministically derived from the bran and the security tier.

    serder: Serder

    Either the current establishment event, inception or rotation, or the interaction event used for delegation approval.

    signer: any

    The current signing key used to sign requests for this controller.

    stem: string

    The stem is the prefix for the stretched input bytes the controller's cryptographic key pairs are derived from.

    tier: Tier

    The security tier for the identifiers created by this Controller.

    Accessors

    Methods

    • Parameters

      • bran: string
      • aids: any[]

      Returns { keys: Record<any, any>; rot: Dict<any>; sigs: any[]; sxlt: any }