| SecureMimeContextImportAsync(Stream, CancellationToken) Method |
Asynchronously import certificates (as from a certs-only application/pkcs-mime part)
from the specified stream.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax public override Task ImportAsync(
Stream stream,
CancellationToken cancellationToken = default
)
Parameters
- stream Stream
- The raw key data.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskAn asynchronous task context.
Exceptions Remarks
Asynchronously imports certificates (as from a certs-only application/pkcs-mime part)
from the specified stream.
See Also