Click or drag to resize
MimeKit

GnuPGContextEnumerateSecretKeyRings(MailboxAddress) Method

Enumerate the secret keyrings for a particular mailbox.

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

Parameters

mailbox  MailboxAddress
The mailbox address.

Return Value

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