PDFDecryptor Component
Properties Methods Events Configuration Settings Errors
The PDFDecryptor component decrypts PDF documents.
Syntax
TsbxPDFDecryptor
Remarks
PDFDecryptor decrypts PDF documents encrypted with passwords or certificates.
Property List
The following is the full list of the properties of the component with short descriptions. Click on the links for further details.
DecryptionCertificateBytes | Returns raw certificate data in DER format. |
DecryptionCertificateHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
DecryptionCertCount | The number of records in the DecryptionCert arrays. |
DecryptionCertBytes | Returns raw certificate data in DER format. |
DecryptionCertHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
Encrypted | Indicates if the PDF document is encrypted. |
EncryptionAlgorithm | The symmetric algorithm used to encrypt the document. |
EncryptionType | The document encryption type. |
ExternalCryptoCustomParams | Custom parameters to be passed to the signing service (uninterpreted). |
ExternalCryptoData | Additional data to be included in the async state and mirrored back by the requestor. |
ExternalCryptoExternalHashCalculation | Specifies whether the message hash is to be calculated at the external endpoint. |
ExternalCryptoHashAlgorithm | Specifies the request's signature hash algorithm. |
ExternalCryptoKeyID | The ID of the pre-shared key used for DC request authentication. |
ExternalCryptoKeySecret | The pre-shared key used for DC request authentication. |
ExternalCryptoMethod | Specifies the asynchronous signing method. |
ExternalCryptoMode | Specifies the external cryptography mode. |
ExternalCryptoPublicKeyAlgorithm | Provide public key algorithm here if the certificate is not available on the pre-signing stage. |
InputBytes | Use this property to pass the input to component in the byte array form. |
InputFile | The PDF file to be decrypted. |
MetadataEncrypted | Indicates if the document metadata is encrypted. |
OutputBytes | Use this property to read the output the component object has produced. |
OutputFile | The file to save the decrypted document to. |
Password | The decryption password. |
PermsAnnotations | Indicates whether the viewer may add annotations to the document. |
PermsAssemble | Indicates if the viewer may assemble a new document on the basis of the encrypted one. |
PermsExtract | Indicates if the user may extract (copy) pictures and text from the encrypted document. |
PermsExtractAcc | Indicates if the user may extract pictures/text from the document for accessibility purposes. |
PermsFillInForms | Indicates if the user may fill in forms in the document. |
PermsHighQualityPrint | Indicates if the document may be printed in high quality. |
PermsLowQualityPrint | Indicates if the document may be printed in low quality. |
PermsModify | Indicates if the document may be modified. |
Method List
The following is the full list of the methods of the component with short descriptions. Click on the links for further details.
Config | Sets or retrieves a configuration setting. |
Decrypt | Decrypts a PDF document. |
Event List
The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.
DecryptionInfoNeeded | Requests decryption information during decryption, signing, or validation. |
Error | Information about errors during signing/validation. |
ExternalDecrypt | Handles remote or external decryption. |
Notification | This event notifies the application about an underlying control flow event. |
RecipientFound | Provides recipient certificate details to the application. |
Configuration Settings
The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.
EncryptionHandlerName | Specifies the custom security handler PDF-name. |
HardenedKeyGeneration | Specifies if hardened Key generation should be used. |
RC4KeyBits | Specifies the number of key bits used for RC4 algorithm. |
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 component (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 components 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. |