| OpenPgpContextGetSigningKeyAsync Method |
Asynchronously get the signing key associated with the mailbox address.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public virtual Task<PgpSecretKey> GetSigningKeyAsync(
MailboxAddress mailbox,
CancellationToken cancellationToken = default
)
Parameters
- mailbox MailboxAddress
- The mailbox.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskPgpSecretKeyThe signing key.
Exceptions Remarks
Asynchronously gets the signing key associated with the mailbox address.
See Also