Constructors constructor new Controller ( bran , tier , ridx ? , state ? ) : Controller Parameters bran : string ridx : number = 0 state : any = null Properties Private
keys keys : string []
Private
nsigner nsigner : any
Accessors event get event( ) : any [] Returns any [] pre get pre( ) : string Returns string verfers get verfers( ) : [ ] Returns [ ] Methods approve Delegation approve Delegation ( _agent ) : any [] Returns any [] recrypt recrypt ( enc , decrypter , encrypter ) : any Returns any rotate rotate ( bran , aids ) : { keys : Record < any , any > ; rot : Dict < any > ; sigs : any [] ; sxlt : any ; } Returns { keys : Record < any , any > ; rot : Dict < any > ; sigs : any [] ; sxlt : any ; } keys : Record < any , any > rot : Dict < any > sigs : any [] sxlt : any
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