OpenPgpContextAllowUnauthenticatedDecryption Property

Get or set whether encrypted data without integrity protection may be decrypted.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public bool AllowUnauthenticatedDecryption { get; set; }

Property Value

Boolean
to allow legacy unprotected data; otherwise, .

Remarks

The default is . Enable this only for compatibility with legacy OpenPGP messages whose contents cannot be checked for tampering. Integrity-protected messages are always checked, even when this option is enabled.

See Also