Uses of Class
eu.europa.esig.dss.validation.ByteRange
Package | Description |
---|---|
eu.europa.esig.dss.pades | |
eu.europa.esig.dss.pades.validation | |
eu.europa.esig.dss.pades.validation.scope | |
eu.europa.esig.dss.pdf |
-
Uses of ByteRange in eu.europa.esig.dss.pades
Methods in eu.europa.esig.dss.pades with parameters of type ByteRange Modifier and Type Method Description static byte[]
PAdESUtils. getSignedContent(DSSDocument dssDocument, ByteRange byteRange)
Returns a signed content according to the provided byteRangestatic InMemoryDocument
PAdESUtils. retrievePreviousPDFRevision(DSSDocument document, ByteRange byteRange)
Retrieves the PDF document up to the previous PDF Revision, an empty document if such revision is not found -
Uses of ByteRange in eu.europa.esig.dss.pades.validation
Methods in eu.europa.esig.dss.pades.validation that return ByteRange Modifier and Type Method Description ByteRange
PdfSignatureDictionary. getByteRange()
Gets the signed/timestamped ByteRange -
Uses of ByteRange in eu.europa.esig.dss.pades.validation.scope
Constructors in eu.europa.esig.dss.pades.validation.scope with parameters of type ByteRange Constructor Description PdfByteRangeSignatureScope(String name, ByteRange byteRange, Digest digest)
-
Uses of ByteRange in eu.europa.esig.dss.pdf
Methods in eu.europa.esig.dss.pdf that return ByteRange Modifier and Type Method Description ByteRange
PdfCMSRevision. getByteRange()
Gets the signed byte rangeByteRange
PdfSigDictWrapper. getByteRange()
Methods in eu.europa.esig.dss.pdf with parameters of type ByteRange Modifier and Type Method Description protected byte[]
AbstractPDFSignatureService. extractBeforeSignatureValue(ByteRange byteRange, byte[] signedContent)
Extract the content before the signature valueprotected byte[]
AbstractPDFSignatureService. getSignatureValue(DSSDocument dssDocument, ByteRange byteRange)
Gets the SignatureValue from thedssDocument
according to thebyteRange
Example: extracts bytes from 841 to 959. [0, 840, 960, 1200]protected boolean
AbstractPDFSignatureService. isContentValueEqualsByteRangeExtraction(DSSDocument document, ByteRange byteRange, byte[] cms, List<String> signatureFieldNames)
Checks if the of the value incorporated into /Contents matches the range defined in thebyteRange
NOTE: used for SIWA detection