Click or drag to resize
MimeKit

GnuPGContextEnumeratePublicKeyRings(MailboxAddress) Method

Enumerate the public keyrings for a particular mailbox.

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

Parameters

mailbox  MailboxAddress
Mailbox.

Return Value

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