コード例 #1
0
ファイル: KeyApi.cs プロジェクト: thulyacloud/net-ipfs-engine
        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));
        }