OfficeDecryptor Class
Properties Methods Events Configuration Settings Errors
The OfficeDecryptor class decrypts Office documents.
Syntax
SecureBlackboxOfficeDecryptor
SecureBlackboxOfficeDecryptorSwift
Remarks
OfficeDecryptor decrypts encrypted Office documents, with support for several different Office formats.
Property List
The following is the full list of the properties of the class with short descriptions. Click on the links for further details.
- documentFormat | Defines the format of the Office document. |
- encryptionAlgorithm | The encryption algorithm used to encrypt the document. |
- encryptionType | The encryption type used to encrypt the document. |
- inputBytes | Use this property to pass the input to class in the byte array form. |
- inputFile | The Office file to be decrypted. |
- outputBytes | Use this property to read the output the class object has produced. |
- outputFile | Defines where to save the decrypted document. |
- password | The password used for decryption. |
Method List
The following is the full list of the methods of the class with short descriptions. Click on the links for further details.
- config | Sets or retrieves a configuration setting. |
- decrypt | Decrypts the whole document. |
Event List
The following is the full list of the events fired by the class with short descriptions. Click on the links for further details.
- onDecryptionPasswordNeeded | Request to provide decryption password during decryption. |
- onError | Information about errors during signing. |
- onNotification | This event notifies the application about an underlying control flow event. |
Configuration Settings
The following is a list of configuration settings for the class with short descriptions. Click on the links for further details.
ChecksumAlgorithm | Specifies checksum algorithm that should be used. |
EncryptDocumentProperties | Specifies if document properties should be encrypted. |
HardenedKeyGeneration | Specifies if hardened Key generation should be used. |
HashAlgorithm | Specifies hash algorithm that should be used. |
RC4KeyBits | Specifies the number of key bits used for RC4 algorithm. |
SaltSize | Specifies salt size that should be used. |
SpinCount | Specifies spin count that should be used. |
StartKeyGenerationAlgorithm | Specifies start key generation algorithm that should be used. |
TempPath | Location where the temporary files are stored. |
CheckKeyIntegrityBeforeUse | Enables or disable private key integrity check before use. |
CookieCaching | Specifies whether a cookie cache should be used for HTTP(S) transports. |
Cookies | Gets or sets local cookies for the class (supported for HTTPClient, RESTClient and SOAPClient only). |
DefDeriveKeyIterations | Specifies the default key derivation algorithm iteration count. |
EnableClientSideSSLFFDHE | Enables or disables finite field DHE key exchange support in TLS clients. |
GlobalCookies | Gets or sets global cookies for all the HTTP transports. |
HttpUserAgent | Specifies the user agent name to be used by all HTTP clients. |
LogDestination | Specifies the debug log destination. |
LogDetails | Specifies the debug log details to dump. |
LogFile | Specifies the debug log filename. |
LogFilters | Specifies the debug log filters. |
LogFlushMode | Specifies the log flush mode. |
LogLevel | Specifies the debug log level. |
LogMaxEventCount | Specifies the maximum number of events to cache before further action is taken. |
LogRotationMode | Specifies the log rotation mode. |
MaxASN1BufferLength | Specifies the maximal allowed length for ASN.1 primitive tag data. |
MaxASN1TreeDepth | Specifies the maximal depth for processed ASN.1 trees. |
OCSPHashAlgorithm | Specifies the hash algorithm to be used to identify certificates in OCSP requests. |
UseOwnDNSResolver | Specifies whether the client classes should use own DNS resolver. |
UseSharedSystemStorages | Specifies whether the validation engine should use a global per-process copy of the system certificate stores. |
UseSystemOAEPAndPSS | Enforces or disables the use of system-driven RSA OAEP and PSS computations. |
UseSystemRandom | Enables or disables the use of the OS PRNG. |