Deprecated API
Contents
-
Deprecated ClassesClassDescriptionin favour of
EncodingUtil.toBase64(byte[])andEncodingUtil.fromBase64(String)in favour ofTuple2the AES-CBC cipher is a low-level cryptographic primitive that requires careful understanding to use it safely. This class is only a thin wrapper and is not intended for general use. Instead, use API provided by cryptography libraries directly or rely on high-level PDF encryption functionality.in favor ofPdfUA1AnnotationCheckerin favor ofPdfUA1AnnotationChecker.PdfUA1AnnotationHandlerin favor ofBCP47Validatorin favour ofPdfUA1FormCheckerin favour ofPdfUA1FormChecker.PdfUA1FormTagHandlerin favor ofPdfUA1FormulaCheckerin favor ofPdfUA1HeadingsCheckerin favor ofPdfUA1HeadingsChecker.PdfUA1HeadingHandlerin favor ofPdfUA1NotesCheckerin favor ofPdfUA1NotesChecker.PdfUA1NotesTagHandlerin favour ofPdfUA1XfaCheckUtilstarting from 9.0.0.CertificateChainValidatorshould be used instead.starting from 8.0.5.CertificateChainValidatorshould be used instead.starting from 8.0.5.CRLValidatorshould be used instead.starting from 8.0.5.SignatureValidatorshould be used instead.starting from 8.0.5.OCSPValidatorshould be used instead.starting from 8.0.5.CertificateChainValidatorshould be used instead.starting from 8.0.5.ReportItemshould be used instead.useCssAtRuleFactoryinsteadAs of releasev1.14.1, this class is deprecated in favour ofSafelist. The name has been changed with the intent of promoting more inclusive language.Safelistis a drop-in replacement, and no further changes other than updating the name in your code are required to cleanly migrate. This class will be removed inv1.15.1. Until that release, this class acts as a shim to maintain code compatibility (source and binary).For a clear rationale of the removal of this change, please see Terminology, Power, and Inclusive Language in Internet-Drafts and RFCs
-
Deprecated Exception ClassesException ClassDescriptionstarting from 9.0.0 since all the classes that use this one are also deprecated in favour of new signature validation logic in the
com.itextpdf.signatures.validationpackage.
-
Deprecated FieldsFieldDescription
-
Deprecated MethodsMethodDescriptionin favour of
ElementPropertyContainer.getTransparentStrokeColor()which should be renamed togetStrokeColorafter this method will be removedin favour ofPdfCheckersUtil.getFormFields(PdfArray)in favour ofPdfCheckersUtil.checkFlag(int, int)PdfSigner.signDeferred(PdfReader, String, OutputStream, IExternalSignatureContainer)should be used instead.PdfTwoPhaseSigner.addSignatureToPreparedDocument(PdfReader, String, OutputStream, byte[])should be used instead.PdfTwoPhaseSigner.addSignatureToPreparedDocument(PdfReader, String, OutputStream, CMSContainer)should be used instead.useCssTypesValidationUtils.isInlineData(String)instead.as of 1.14.1.as of 1.14.1.as of 1.14.1.as of 1.14.1.Unused, and will be removed in 1.15.1.was replaced bygetSvgImageXObject().generate(PdfDocument)in favour ofSvgDrawContext.getRootTransform()was replaced bySvgDrawContext.getSvgTextProperties()in favour ofSvgDrawContext.setRootTransform(AffineTransform)was replaced bySvgDrawContext.setSvgTextProperties(SvgTextProperties)can be replaced byDouble.toString(float)can be replaced byFloat.toString(float)will be removed together withTextLeafSvgNodeRenderer.getTextContentLength(float, PdfFont)not used anymore
-
Deprecated ConstructorsConstructorDescriptionin favour of
PdfUAPage(PdfDictionary, PdfUAChecker)in favour ofPdfUAPage(PdfDocument, PageSize, PdfUAChecker)in favour ofPdfUAPageFactory(PdfUAChecker)useCssSemicolonAtRule(String, String)constructor insteaduseCssParserStateController(String)constructoras of 1.14.1.