Class VersionConforming
- Namespace
- iText.Kernel.Pdf
- Assembly
- itext.kernel.dll
public class VersionConforming
- Inheritance
-
VersionConforming
- Inherited Members
-
Constructors
VersionConforming()
public VersionConforming()
Fields
DEPRECATED_AES256_REVISION
public const string DEPRECATED_AES256_REVISION = "It seems that PDF 1.7 document encrypted with AES256 was updated to PDF 2.0 version and StampingProperties#preserveEncryption flag was set: encryption shall be updated via WriterProperties#setStandardEncryption method. Standard security handler was found with revision 5, which is deprecated and shall not be used in PDF 2.0 documents."
Field Value
- string
DEPRECATED_ENCRYPTION_ALGORITHMS
public const string DEPRECATED_ENCRYPTION_ALGORITHMS = "Encryption algorithms STANDARD_ENCRYPTION_40, STANDARD_ENCRYPTION_128 and ENCRYPTION_AES_128 (see com.itextpdf.kernel.pdf.EncryptionConstants) are deprecated in PDF 2.0. It is highly recommended not to use it."
Field Value
- string
DEPRECATED_NEED_APPEARANCES_IN_ACROFORM
public const string DEPRECATED_NEED_APPEARANCES_IN_ACROFORM = "NeedAppearances has been deprecated in PDF 2.0. Appearance streams are required in PDF 2.0."
Field Value
- string
DEPRECATED_XFA_FORMS
public const string DEPRECATED_XFA_FORMS = "XFA is deprecated in PDF 2.0. The XFA form will not be written to the document"
Field Value
- string
Methods
ValidatePdfVersionForDeprecatedFeatureLogError(PdfDocument, PdfVersion, string)
public static bool ValidatePdfVersionForDeprecatedFeatureLogError(PdfDocument document, PdfVersion expectedVersion, string deprecatedFeatureLogMessage)
Parameters
document
PdfDocument
expectedVersion
PdfVersion
deprecatedFeatureLogMessage
string
Returns
- bool
ValidatePdfVersionForDeprecatedFeatureLogWarn(PdfDocument, PdfVersion, string)
public static bool ValidatePdfVersionForDeprecatedFeatureLogWarn(PdfDocument document, PdfVersion expectedVersion, string deprecatedFeatureLogMessage)
Parameters
document
PdfDocument
expectedVersion
PdfVersion
deprecatedFeatureLogMessage
string
Returns
- bool
ValidatePdfVersionForDictEntry(PdfDocument, PdfVersion, PdfName, PdfName)
public static bool ValidatePdfVersionForDictEntry(PdfDocument document, PdfVersion expectedVersion, PdfName entryKey, PdfName dictType)
Parameters
document
PdfDocument
expectedVersion
PdfVersion
entryKey
PdfName
dictType
PdfName
Returns
- bool