| ICryptographyContextCanSignAsync Method |
Asynchronously check whether a particular mailbox address can be used for signing.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax Task<bool> CanSignAsync(
MailboxAddress signer,
CancellationToken cancellationToken = default
)
Parameters
- signer MailboxAddress
- The signer.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskBoolean if the mailbox address can be used for signing; otherwise,
.
Exceptions Remarks
Checks whether as particular mailbocx address can be used for signing.
See Also