All docs
V19.2
19.2
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

RichEditDecryptionError Enum

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

Namespace: DevExpress.XtraRichEdit

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

Declaration

public enum RichEditDecryptionError
Public Enum RichEditDecryptionError
public enum RichEditDecryptionError
Public Enum RichEditDecryptionError
public enum RichEditDecryptionError
Public Enum RichEditDecryptionError

Members

Name Description
EncryptionTypeNotSupported

Indicates that the encryption type is not supported. Only the RC4 algorithm is implemented. Other encryption algorithms which create XOR obfuscated and RC4 CryptoAPI encrypted files are not supported, so they throw this error.

IntegrityCheckFailed

Indicates that the document did not pass the HMAC verification.

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.

Remarks

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

See Also