Open Pgp ContextAllow Unauthenticated Decryption 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
to allow legacy unprotected data; otherwise, .
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public bool AllowUnauthenticatedDecryption { get; set; }Property Value
Booleanto 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.