.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.

EncryptionType Enum

Lists the encryption types available for the current document.

Namespace: DevExpress.XtraRichEdit.API.Native

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


public enum EncryptionType
Public Enum EncryptionType


Name Description

Standard encryption for OpenXml (.docx) files that uses a binary EncryptionInfo structure. The encryption algorithm is Advanced Encryption Standard (AES) and SHA-1 is used as the hashing algorithm. For binary (.doc) files, the algorithm is RC4. Supported in Microsoft Word 2007 and higher.


Agile encryption for OpenXml (.docs) files that uses an XML EncryptionInfo structure. Default encryption algorithm is AES-128. Supported in Microsoft Word 2010 and higher.


The DocumentEncryption.Type property uses values listed by this enumeration.

See Also