| GnuPGContextGetPublicKey Method |
Get the public key associated with the mailbox address.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax protected virtual PgpPublicKey GetPublicKey(
MailboxAddress mailbox
)
Parameters
- mailbox MailboxAddress
- The mailbox.
Return Value
PgpPublicKeyThe public encryption key.
Exceptions Remarks
Gets a valid public key associated with the mailbox address that can be used for encryption.
See Also