Click or drag to resize
MimeKit

GnuPGContextEnumeratePublicKeys(MailboxAddress) Method

Enumerate the public keys for a particular mailbox.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public virtual IEnumerable<PgpPublicKey> EnumeratePublicKeys(
	MailboxAddress mailbox
)

Parameters

mailbox  MailboxAddress
The mailbox address.

Return Value

IEnumerablePgpPublicKey
The public keys.
Exceptions
ExceptionCondition
ArgumentNullExceptionmailbox is null.
Remarks
Enumerates all public keys for the specified mailbox.
See Also