GnuPGContextSaveSecretKeyRingBundle Method

Saves the secret key-ring bundle.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
protected void SaveSecretKeyRingBundle()

Remarks

Atomically saves the secret key-ring bundle to the path specified by SecretKeyRingPath.

Called by Import(PgpSecretKeyRingBundle, CancellationToken) if any secret keys were successfully imported.

Exceptions

IOException An error occured while saving the secret key-ring bundle.

See Also