| ICryptographyContextCanSign Method |
Check whether or not a particular mailbox address can be used for signing.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax bool CanSign(
MailboxAddress signer,
CancellationToken cancellationToken = default
)
Parameters
- signer MailboxAddress
- The signer.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
Booleantrue if the mailbox address can be used for signing; otherwise,
false.
Exceptions Remarks
Checks whether or not as particular mailbocx address can be used for signing.
See Also