ISecure |
Task ImportAsync( Stream stream, string password, CancellationToken cancellationToken = default )
Exception | Condition |
---|---|
ArgumentNullException | stream is null. -or- password is null. |
NotSupportedException | Importing keys is not supported by this cryptography context. |
OperationCanceledException | The operation was cancelled via the cancellation token. |