Class PdfByteRangeDocument
java.lang.Object
eu.europa.esig.dss.pades.validation.PdfByteRangeDocument
- All Implemented Interfaces:
Serializable
Internal representation of a PDF document. Used to reduce memory overloading during the execution.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPdfByteRangeDocument(eu.europa.esig.dss.model.DSSDocument pdfDocument, ByteRange byteRange) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns theByteRangeof the documenteu.europa.esig.dss.model.DigestgetDigest(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) byte[]getDigestValue(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) eu.europa.esig.dss.enumerations.MimeTypegetName()inthashCode()voidvoidsetMimeType(eu.europa.esig.dss.enumerations.MimeType arg0) voidtoString()voidwriteTo(OutputStream arg0)
-
Field Details
-
digestMap
-
mimeType
protected eu.europa.esig.dss.enumerations.MimeType mimeType -
name
-
-
Constructor Details
-
PdfByteRangeDocument
-
-
Method Details
-
getByteRange
-
openStream
-
equals
-
hashCode
public int hashCode() -
save
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
getMimeType
public eu.europa.esig.dss.enumerations.MimeType getMimeType() -
setMimeType
public void setMimeType(eu.europa.esig.dss.enumerations.MimeType arg0) -
getName
-
setName
-
getDigest
public eu.europa.esig.dss.model.Digest getDigest(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) -
getDigestValue
public byte[] getDigestValue(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) -
toString
-