| WarningCategory Enumeration |
The warning category
The category of the warning of
Warning.
Namespace: PdfTools.SignAssembly: PdfTools (in PdfTools.dll) Version: 1.7.0+cfcc11b476b3e1eb4320f0f37269191f64e36bd8
Syntax public enum WarningCategory
Members Member name | Value | Description |
---|
PdfARemoved | 1 |
PDF/A conformance of input file removed due to file encryption (i.e. Encryption is not ).
Removal of PDF/A conformance is necessary, because encryption is not allowed by the PDF/A standard.
|
SignedDocEncryptionUnchanged | 2 |
When processing signed documents, their encryption parameters (user password, owner password, permissions) cannot be changed.
Therefore, the property Encryption has no effect.
This warning is generated so that the following situations can be detected:
-
If Encryption is and the input document is encrypted.
The output document is also encrypted.
-
If Encryption not and the input document is encrypted using different encryption parameters.
The output document is also encrypted, preserving the encryption parameters of the input document.
-
If Encryption not and the input document is not encrypted.
The output document is not encrypted.
Encryption parameters of signed documents can be changed by removing all existing signatures using the property RemoveSignatures.
In this case, this warning is not generated.
|
AddValidationInformationFailed | 3 |
Error adding validation information to existing signatures of input document as requested by
AddValidationInformation.
The warning's context contains a description of the affected signature.
Potential causes of this warning are:
- Missing issuer certificate:
All certificates of the trust chain are required to add validation information.
Preferably, the certificates should be present in the cryptographic provider's certificate store.
Alternatively, if supported by the certificate,
the issuer certificate is downloaded from the certificate authority's server and
stored in the user's Certificates directory (see Provider).
- Network problem:
The network must allow OCSP and CRL responses to be downloaded from the certificate authority's server.
Make sure your proxy configuration (see Proxy) is correct.
|
See Also