Click or drag to resize
MimeKit

SecureMimeContextImportAsync(X509Crl, CancellationToken) Method

Asynchronously import a certificate revocation list.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public virtual Task ImportAsync(
	X509Crl crl,
	CancellationToken cancellationToken = default
)

Parameters

crl  X509Crl
The certificate revocation list.
cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

Task
An asynchronous task context.
Exceptions
ExceptionCondition
ArgumentNullExceptioncrl is null.
OperationCanceledException The operation was cancelled via the cancellation token.
Remarks
Asynchronously imports a certificate revocation list.
See Also