Gnu PGContextEnumerate Secret Key Rings(Mailbox Address) Method
Enumerate the secret keyrings for a particular mailbox.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
The secret keys.
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
IEnumerablePgpSecretKeyRingThe secret keys.
Remarks
Enumerates all secret keyrings for the specified mailbox.
Exceptions
| ArgumentNullException | mailbox is . |