EncryptionType Property
The encryption type used to encrypt the document.
Syntax
public int getEncryptionType(); public void setEncryptionType(int encryptionType);
Enumerated values: public final static int oetDefault = 0; public final static int oetBinaryRC4 = 1; public final static int oetBinaryRC4CryptoAPI = 2; public final static int oetOpenXMLStandard = 3; public final static int oetOpenXMLAgile = 4; public final static int oetOpenDocument = 5;
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.
Default Value
0