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.
DeclarationTask<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.
DeclarationTask<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.
DeclarationTask<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.
DeclarationTask<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.
DeclarationTask<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.
DeclarationTask<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 AlsoRetroSearch 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