EncryptionType Property
The encryption type used to encrypt the document.
Syntax
public val encryptionType: OfficedecryptorEncryptionTypes
public enum class OfficedecryptorEncryptionTypes(val value: Int) {
oetDefault(0),
oetBinaryRC4(1),
oetBinaryRC4CryptoAPI(2),
oetOpenXMLStandard(3),
oetOpenXMLAgile(4),
oetOpenDocument(5);
}
Default Value
0
Remarks
This property contains the encryption type used to encrypt the Office document.
Supported values:
oetDefault | 0 | Uses default encryption depending on Office document format |
oetBinaryRC4 | 1 | Uses RC4 encryption for Binary Office documents |
oetBinaryRC4CryptoAPI | 2 | Uses RC4 Crypto API encryption for Binary Office documents |
oetOpenXMLStandard | 3 | Uses standard encryption for OpenXML Office documents |
oetOpenXMLAgile | 4 | Uses agile encryption for OpenXML Office documents |
oetOpenDocument | 5 | Uses standard encryption for OpenOffice documents |
This property is read-only and not available at design time.