A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://richardschneider.github.io/net-ipfs-core/api/Ipfs.CoreApi.IKeyApi.html below:

Interface IKeyApi

Manages cryptographic keys.

Namespace: Ipfs.CoreApi Assembly: Ipfs.Core.dll Syntax Methods | Improve this Doc View Source CreateAsync(String, String, Int32, CancellationToken)

Creates a new key.

Declaration
Task<IKey> CreateAsync(string name, string keyType, int size, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<IKey>

A task that represents the asynchronous operation. The task's result is the key that was created.

| Improve this Doc View Source ExportAsync(String, Char[], CancellationToken)

Export a key to a PEM encoded password protected PKCS #8 container.

Declaration
Task<string> ExportAsync(string name, char[] password, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<String>

A task that represents the asynchronous operation. The task's result is the password protected PEM string.

| Improve this Doc View Source ImportAsync(String, String, Char[], CancellationToken)

Import a key from a PEM encoded password protected PKCS #8 container.

Declaration
Task<IKey> ImportAsync(string name, string pem, char[] password = null, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<IKey>

A task that represents the asynchronous operation. The task's result is the newly imported key.

| Improve this Doc View Source ListAsync(CancellationToken)

List all the keys.

Declaration
Task<IEnumerable<IKey>> ListAsync(CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<IEnumerable<IKey>>

A task that represents the asynchronous operation. The task's result is a sequence of IPFS keys.

| Improve this Doc View Source RemoveAsync(String, CancellationToken)

Delete the specified key.

Declaration
Task<IKey> RemoveAsync(string name, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<IKey>

A task that represents the asynchronous operation. The task's result is the key that was deleted.

| Improve this Doc View Source RenameAsync(String, String, CancellationToken)

Rename the specified key.

Declaration
Task<IKey> RenameAsync(string oldName, string newName, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<IKey>

A task that represents the asynchronous operation. The task's result is a sequence of IPFS keys that were renamed.

See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4