Click or drag to resize
MimeKit

GnuPGContextEnumerateSecretKeys(MailboxAddress) Method

Enumerate the secret keys for a particular mailbox.

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

Parameters

mailbox  MailboxAddress
The mailbox address.

Return Value

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