|  | OpenPgpContextGetPublicKeys Method | 
            Get the public keys for the specified mailbox addresses.
            
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.12.0
 Syntax
Syntaxpublic abstract IList<PgpPublicKey> GetPublicKeys(
	IEnumerable<MailboxAddress> mailboxes,
	CancellationToken cancellationToken = default
)
Parameters
- mailboxes  IEnumerableMailboxAddress
- The mailboxes.
- cancellationToken  CancellationToken  (Optional)
- The cancellation token.
Return Value
IListPgpPublicKeyThe encryption keys.
 Exceptions
Exceptions Remarks
Remarks
            Gets a list of valid public keys for the specified mailbox addresses that can be used for encryption.
            
 See Also
See Also