GnuPGContextEnumerateSecretKeyRings(MailboxAddress) Method

Enumerate the secret keyrings for a particular mailbox.

Definition

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

Parameters

mailbox  MailboxAddress
The mailbox address.

Return Value

IEnumerablePgpSecretKeyRing
The secret keys.

Remarks

Enumerates all secret keyrings for the specified mailbox.

Exceptions

ArgumentNullException mailbox is .

See Also