Exemplo n.º 1
0
        public async Task <IKey> CreateAsync(string name, string keyType, int size, CancellationToken cancel = default(CancellationToken))
        {
            var keyChain = await ipfs.KeyChainAsync(cancel).ConfigureAwait(false);

            return(await keyChain.CreateAsync(name, keyType, size, cancel).ConfigureAwait(false));
        }