Back to Devexpress

RichEditDecryptionError Enum

officefileapi-devexpress-dot-xtrarichedit-ac95f66d.md

latest2.3 KB
Original Source

RichEditDecryptionError Enum

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

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public enum RichEditDecryptionError
vb
Public Enum RichEditDecryptionError

Members

NameDescription
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 that uses RC4 CryptoAPI encryption with third-party cryptographic service providers.

| | IntegrityCheckFailed |

Indicates that the document did not pass the HMAC verification.

|

The following properties accept/return RichEditDecryptionError values:

Remarks

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

See Also

DevExpress.XtraRichEdit Namespace