EncryptionType Property
The encryption type used to encrypt the document.
Syntax
int GetEncryptionType();
int SetEncryptionType(int iEncryptionType);
Possible Values
OET_DEFAULT(0),
OET_BINARY_RC4(1),
OET_BINARY_RC4CRYPTO_API(2),
OET_OPEN_XMLSTANDARD(3),
OET_OPEN_XMLAGILE(4),
OET_OPEN_DOCUMENT(5)
Default Value
0
Remarks
This property contains the encryption type used to encrypt the Office document.
Supported values:
oetDefault uses default encryption depending on Office document format.
oetBinaryRC4 uses RC4 encryption for Binary Office documents.
oetBinaryRC4CryptoAPI uses RC4 Crypto API encryption for Binary Office documents.
oetOpenXMLStandard uses standard encryption for OpenXML Office documents.
oetOpenXMLAgile uses agile encryption for OpenXML Office documents.
oetOpenDocument uses standard encryption for OpenOffice documents.
Data Type
Integer