GnuPGContextSavePublicKeyRingBundle Method

Saves the public key-ring bundle.

Definition

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

Remarks

Atomically saves the public key-ring bundle to the path specified by PublicKeyRingPath.

Called by Import(PgpPublicKeyRingBundle, CancellationToken) if any public keys were successfully imported.

Exceptions

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

See Also