Ejemplo n.º 1
0
 public ShhSymKey(IClient client) : base(client)
 {
     AddSymKey    = new ShhAddSymKey(client);
     DeleteSymKey = new ShhDeleteSymKey(client);
     GenerateSymKeyFromPassword = new ShhGenerateSymKeyFromPassword(client);
     GetSymKey = new ShhGetSymKey(client);
     HasSymKey = new ShhHasSymKey(client);
     NewSymKey = new ShhNewSymKey(client);
 }
Ejemplo n.º 2
0
        public override async Task <string> ExecuteAsync(IClient client)
        {
            var shhNewKeyPair = new ShhNewSymKey(client);

            return(await shhNewKeyPair.SendRequestAsync());
        }