.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

RichEditDecryptionError Enum

Lists possible errors which occur while attempting to load a password-encrypted document.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

public enum RichEditDecryptionError

Members

Name Description
PasswordRequired

Indicates that the file is encrypted and you should set the RichEditDocumentImportOptions.EncryptionPassword or EncryptedFilePasswordRequestedEventArgs.Password property to a password string

WrongPassword

The password specified by the RichEditDocumentImportOptions.EncryptionPassword property is incorrect.

EncryptionTypeNotSupported

Indicates that the encryption type is not supported. For example, this error occurs when you open a DOC file encrypted by RC4 CryptoAPI encryption method.

IntegrityCheckFailed

Indicates that the document did not pass the HMAC verification.

Remarks

The EncryptedFilePasswordCheckFailedEventArgs.Error and RichEditDecryptionException.Error properties use the RichEditDecryptionError enumeration to specify the error type.

See Also