Uses of Interface
eu.europa.esig.dss.model.DSSDocument
Package
Description
-
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.extract
Modifier and TypeMethodDescriptionASiCWithCAdESContainerExtractorFactory.create
(DSSDocument asicContainer) boolean
ASiCWithCAdESContainerExtractorFactory.isSupported
(DSSDocument asicContainer) ModifierConstructorDescriptionThe default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.merge
Modifier and TypeMethodDescriptionprotected DSSDocument
AbstractASiCWithCAdESContainerMerger.mergeCmsSignatures
(List<DSSDocument> signatureDocuments) This method merges signature documents representing CMS signatures into single CMS signature document.Modifier and TypeMethodDescriptionprotected List
<DSSDocument> AbstractASiCWithCAdESContainerMerger.getAllSignatureDocuments
(ASiCContent... asicContents) This method returns all signature documents extracted from givenASiCContent
containersModifier and TypeMethodDescriptionASiCWithCAdESContainerMergerFactory.create
(DSSDocument... containers) protected DefaultASiCContainerExtractor
AbstractASiCWithCAdESContainerMerger.getContainerExtractor
(DSSDocument container) protected boolean
AbstractASiCWithCAdESContainerMerger.isSupported
(DSSDocument container) protected boolean
ASiCEWithCAdESContainerMerger.isSupported
(DSSDocument container) boolean
ASiCSWithCAdESContainerMerger.isSupported
(DSSDocument container) boolean
ASiCWithCAdESContainerMergerFactory.isSupported
(DSSDocument... containers) Modifier and TypeMethodDescriptionprotected DSSDocument
AbstractASiCWithCAdESContainerMerger.mergeCmsSignatures
(List<DSSDocument> signatureDocuments) This method merges signature documents representing CMS signatures into single CMS signature document.ModifierConstructorDescriptionprotected
AbstractASiCWithCAdESContainerMerger
(DSSDocument... containers) This constructor is used to create an ASiC With CAdES container merger from provided container documentsASiCEWithCAdESContainerMerger
(DSSDocument... containers) This constructor is used to create an ASiC-E With CAdES container merger from provided container documentsASiCSWithCAdESContainerMerger
(DSSDocument... containers) This constructor is used to create an ASiC-S With CAdES container merger from provided container documents -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.signature
Modifier and TypeMethodDescriptionASiCWithCAdESService.addSignaturePolicyStore
(DSSDocument asicContainer, SignaturePolicyStore signaturePolicyStore) Incorporates a Signature Policy Store as an unsigned property into the ASiC with CAdES SignatureASiCWithCAdESService.counterSignSignature
(DSSDocument asicContainer, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue) ASiCWithCAdESService.extendDocument
(DSSDocument toExtendDocument, ASiCWithCAdESSignatureParameters parameters) GetDataToSignASiCWithCAdESHelper.getToBeSigned()
Returns a signed file document NOTE: In CMS/CAdES, only one file can be signedASiCWithCAdESService.signDocument
(List<DSSDocument> toSignDocuments, ASiCWithCAdESSignatureParameters parameters, SignatureValue signatureValue) ASiCWithCAdESService.timestamp
(List<DSSDocument> toTimestampDocuments, ASiCWithCAdESTimestampParameters parameters) Modifier and TypeMethodDescriptionGetDataToSignASiCWithCAdESHelper.getDetachedContents()
Returns a list of detached documents NOTE: In case of ASiC-S signature, we need the detached contentprotected List
<DSSDocument> ASiCWithCAdESCounterSignatureHelper.getDetachedDocuments
(String signatureFilename) Modifier and TypeMethodDescriptionASiCWithCAdESService.addSignaturePolicyStore
(DSSDocument asicContainer, SignaturePolicyStore signaturePolicyStore) Incorporates a Signature Policy Store as an unsigned property into the ASiC with CAdES Signatureprotected void
ASiCWithCAdESCounterSignatureHelper.checkCounterSignaturePossible
(DSSDocument signatureDocument) ASiCWithCAdESService.counterSignSignature
(DSSDocument asicContainer, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue) ASiCWithCAdESService.extendDocument
(DSSDocument toExtendDocument, ASiCWithCAdESSignatureParameters parameters) protected DefaultASiCContainerExtractor
ASiCWithCAdESService.getArchiveExtractor
(DSSDocument archive) protected DefaultASiCContainerExtractor
ASiCWithCAdESASiCContentBuilder.getContainerExtractor
(DSSDocument archiveDocument) ASiCWithCAdESService.getDataToBeCounterSigned
(DSSDocument asicContainer, CAdESCounterSignatureParameters parameters) protected DocumentAnalyzer
ASiCWithCAdESCounterSignatureHelper.getDocumentAnalyzer
(DSSDocument signatureDocument) protected boolean
ASiCWithCAdESASiCContentBuilder.isAcceptableContainerFormat
(DSSDocument archiveDocument) protected boolean
ASiCWithCAdESSignatureExtension.isCoveredByManifest
(ASiCContent asicContent, DSSDocument signature) Verifies whether thesignature
document is covered by an Archive ManifestModifier and TypeMethodDescriptionASiCWithCAdESService.getContentTimestamp
(List<DSSDocument> toSignDocuments, ASiCWithCAdESSignatureParameters parameters) ASiCWithCAdESService.getDataToSign
(List<DSSDocument> toSignDocuments, ASiCWithCAdESSignatureParameters parameters) ASiCWithCAdESService.signDocument
(List<DSSDocument> toSignDocuments, ASiCWithCAdESSignatureParameters parameters, SignatureValue signatureValue) ASiCWithCAdESService.timestamp
(List<DSSDocument> toTimestampDocuments, ASiCWithCAdESTimestampParameters parameters) ModifierConstructorDescriptionprotected
ASiCWithCAdESCounterSignatureHelper
(DSSDocument asicContainer) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.signature.asice
ModifierConstructorDescriptionDataToSignASiCEWithCAdESHelper
(ASiCContent asicContent, DSSDocument toBeSigned) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.signature.asics
Modifier and TypeMethodDescriptionDataToSignASiCSWithCAdESFromArchive.getToBeSigned()
DataToSignASiCSWithCAdESFromFiles.getToBeSigned()
Modifier and TypeMethodDescriptionDataToSignASiCSWithCAdESFromArchive.getDetachedContents()
DataToSignASiCSWithCAdESFromFiles.getDetachedContents()
-
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.signature.manifest
Modifier and TypeMethodDescriptionprotected boolean
ASiCEWithCAdESArchiveManifestBuilder.isRootfile
(DSSDocument document) ModifierConstructorDescriptionASiCEWithCAdESArchiveManifestBuilder
(ASiCContent asicContent, DSSDocument lastArchiveManifest, DigestAlgorithm digestAlgorithm, String timestampFilename) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.timestamp
Modifier and TypeMethodDescriptionASiCWithCAdESTimestampService.timestamp
(List<DSSDocument> documents, ASiCWithCAdESTimestampParameters parameters) The method is used to timestamp a list ofdocuments
Modifier and TypeMethodDescriptionASiCWithCAdESTimestampService.timestamp
(List<DSSDocument> documents, ASiCWithCAdESTimestampParameters parameters) The method is used to timestamp a list ofdocuments
-
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.validation
Modifier and TypeMethodDescriptionstatic DSSDocument
ASiCWithCAdESUtils.getSignedDocument
(ASiCContent extractResult, String signatureFilename) Returns a list of signed documents by a signature with a givensignatureFilename
Modifier and TypeMethodDescriptionASiCContainerWithCAdESAnalyzer.getArchiveDocuments()
ASiCContainerWithCAdESAnalyzer.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionASiCContainerWithCAdESAnalyzerFactory.create
(DSSDocument document) ASiCContainerWithCAdESValidatorFactory.create
(DSSDocument document) boolean
ASiCContainerWithCAdESAnalyzer.isSupported
(DSSDocument dssDocument) boolean
ASiCContainerWithCAdESAnalyzerFactory.isSupported
(DSSDocument document) boolean
ASiCContainerWithCAdESValidatorFactory.isSupported
(DSSDocument document) Modifier and TypeMethodDescriptionstatic boolean
ASiCWithCAdESUtils.isCoveredByManifest
(List<DSSDocument> manifestDocuments, String filename) Checks if a document (e.g. a signature) with the given filename is covered by a manifestModifierConstructorDescriptionASiCContainerWithCAdESAnalyzer
(DSSDocument asicContainer) The default constructorASiCContainerWithCAdESValidator
(DSSDocument asicContainer) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.validation.scope
Modifier and TypeMethodDescriptionprotected List
<SignatureScope> ASiCWithCAdESTimestampScopeFinder.getTimestampSignatureScopeForDocument
(DSSDocument document) Modifier and TypeMethodDescriptionvoid
ASiCWithCAdESTimestampScopeFinder.setArchiveDocuments
(List<DSSDocument> archiveDocuments) Sets a list of package.zip archive documentsvoid
ASiCWithCAdESTimestampScopeFinder.setContainerDocuments
(List<DSSDocument> containerDocuments) Sets a list of container original documents -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.validation.timestamp
Modifier and TypeMethodDescriptionvoid
ASiCWithCAdESTimestampAnalyzer.setArchiveDocuments
(List<DSSDocument> archiveDocuments) Sets the document embedded inside package.zip, when applicablevoid
ASiCWithCAdESTimestampValidator.setArchiveDocuments
(List<DSSDocument> archiveDocuments) Sets the document embedded inside package.zip, when applicablevoid
ASiCWithCAdESTimestampAnalyzer.setOriginalDocuments
(List<DSSDocument> originalDocuments) Sets the original documents present in the ASiC containervoid
ASiCWithCAdESTimestampValidator.setOriginalDocuments
(List<DSSDocument> originalDocuments) Sets the original documents present in the ASiC containerModifierConstructorDescriptionASiCWithCAdESTimestampAnalyzer
(DSSDocument timestamp) Default constructorASiCWithCAdESTimestampAnalyzer
(DSSDocument timestamp, TimestampType type) Default constructor with a timestamp typeASiCWithCAdESTimestampValidator
(DSSDocument timestamp) Default constructorASiCWithCAdESTimestampValidator
(DSSDocument timestamp, TimestampType type) Default constructor with a timestamp type -
Uses of DSSDocument in eu.europa.esig.dss.asic.common
Modifier and TypeInterfaceDescriptioninterface
Contains metadata for a ZIP-container entryModifier and TypeClassDescriptionclass
Represents an entry within a ZIP archive, containing its metadata and file's content.class
Internal class that is used for performance purposes, accessing ZIP-archive entries on request, instead of loading all files into memory.Modifier and TypeMethodDescriptionAbstractASiCManifestBuilder.build()
Builds the ArchiveManifest and returns the Document NodeSecureContainerHandler.createZipArchive
(List<DSSDocument> containerEntries, Date creationTime, String zipComment) ZipContainerHandler.createZipArchive
(List<DSSDocument> containerEntries, Date creationTime, String zipComment) Creates a ZIP-Archive with the givencontainerEntries
ZipUtils.createZipArchive
(ASiCContent asicContent) Creates a ZIP-Archive with the givenasicContent
, indicating teh current creation timeZipUtils.createZipArchive
(ASiCContent asicContent, Date creationTime) Creates a ZIP-Archive with the givenasicContent
ZipUtils.createZipArchive
(List<DSSDocument> containerEntries, Date creationTime, String zipComment) Creates a ZIP-Archive with the givencontainerEntries
ASiCContent.getAsicContainer()
Gets the original ASiC containerASiCContent.getMimeTypeDocument()
Gets mimetype documentprotected DSSDocument
AbstractASiCManifestBuilder.toDSSDocument
(Document documentDom) TransformsDocument
toDSSDocument
Modifier and TypeMethodDescriptionSecureContainerHandler.extractContainerContent
(DSSDocument zipArchive) ZipContainerHandler.extractContainerContent
(DSSDocument zipArchive) Extracts a list ofDSSDocument
from the given ZIP-archiveZipUtils.extractContainerContent
(DSSDocument zipPackage) Extracts a list ofDSSDocument
from the given ZIP-archiveASiCContent.getAllDocuments()
Gets all documentsASiCContent.getAllManifestDocuments()
Returns a list of all found manifest documentsASiCContent.getArchiveManifestDocuments()
Gets archive manifest documents (ASiC with CAdES only)ASiCContent.getContainerDocuments()
Gets "package.zip" documentsASiCContent.getEvidenceRecordDocuments()
Gets evidence record documentsASiCContent.getEvidenceRecordManifestDocuments()
Gets evidence record manifest documentsASiCContent.getFolders()
Returns a list of folders present within the containerASiCContent.getManifestDocuments()
Gets manifest documentsstatic List
<DSSDocument> ASiCUtils.getRootLevelDocuments
(List<DSSDocument> documents) This method returns root-level documents across the provided list of documentsASiCContent.getRootLevelSignedDocuments()
This method returns a list of documents at the root level within the containerstatic List
<DSSDocument> ASiCUtils.getRootLevelSignedDocuments
(ASiCContent asicContent) This method retrieves signed document from a root level of the container (used for ASiC-E container)ASiCContent.getSignatureDocuments()
Gets signature documentsASiCContent.getSignedDocuments()
Gets signed documentsASiCContent.getTimestampDocuments()
Gets timestamp documents (ASiC with CAdES only)ASiCContent.getUnsupportedDocuments()
Gets unsupported documentsModifier and TypeMethodDescriptionprotected Element
AbstractASiCManifestBuilder.addDataObjectReference
(Document documentDom, Element asicManifestDom, DSSDocument document, DigestAlgorithm digestAlgorithm) Adds a<DataObjectReference>
elementstatic void
ASiCUtils.addOrReplaceDocument
(List<DSSDocument> documentList, DSSDocument newDocument) This method searches for a document in adocumentList
with a name ofnewDocumentVersion
and replaces the found entry with the updated version or adds the document to the given list if no such entry has been foundSecureContainerHandler.extractContainerContent
(DSSDocument zipArchive) ZipContainerHandler.extractContainerContent
(DSSDocument zipArchive) Extracts a list ofDSSDocument
from the given ZIP-archiveZipUtils.extractContainerContent
(DSSDocument zipPackage) Extracts a list ofDSSDocument
from the given ZIP-archiveSecureContainerHandler.extractEntryNames
(DSSDocument zipArchive) ZipContainerHandler.extractEntryNames
(DSSDocument zipArchive) Returns a list of ZIP archive entry namesZipUtils.extractEntryNames
(DSSDocument zipPackage) Returns a list of ZIP archive entry namesstatic ASiCContainerType
ASiCUtils.getContainerType
(DSSDocument archiveContainer) This method verifies type of the provided container documentstatic MimeType
ASiCUtils.getMimeType
(DSSDocument mimeTypeDocument) Extracts and returns MimeType from the documentstatic String
ASiCUtils.getZipComment
(DSSDocument archiveContainer) Returns a zip commentString
from the ASiC containerprotected ZipEntry
SecureContainerHandler.getZipEntry
(DSSDocument entry, Date creationTime) Creates a newZipEntry
for the givenDSSDocument
atcreationTime
static boolean
ASiCUtils.isASiCEContainer
(DSSDocument container) This method verifies whether the given container is of ASiC-E format typestatic boolean
ASiCUtils.isASiCSContainer
(DSSDocument container) This method verifies whether the given container is of ASiC-S format typestatic boolean
ASiCUtils.isContainerOpenDocument
(DSSDocument archiveContainer) Checks if the archive represents an OpenDocumentstatic boolean
ASiCUtils.isOpenDocument
(DSSDocument mimeTypeDoc) Checks if the mimeType document defines an OpenDocumentprotected boolean
AbstractASiCManifestBuilder.isRootfile
(DSSDocument document) Specifies whether thedocument
is a Rootfile documentstatic boolean
ASiCUtils.isZip
(DSSDocument document) Checks if thedocument
is a ZIP containervoid
ASiCContent.setAsicContainer
(DSSDocument asicContainer) Sets the original ASiC containervoid
ASiCContent.setMimeTypeDocument
(DSSDocument mimeTypeDocument) Sets mimetype documentModifier and TypeMethodDescriptionstatic void
ASiCUtils.addOrReplaceDocument
(List<DSSDocument> documentList, DSSDocument newDocument) This method searches for a document in adocumentList
with a name ofnewDocumentVersion
and replaces the found entry with the updated version or adds the document to the given list if no such entry has been foundprotected void
AbstractASiCFilenameFactory.assertFilenameValid
(String filename, List<DSSDocument> documentsOfType) This method verifies whether the givenfilename
represents a valid document name within a containerprotected void
SecureContainerHandler.buildZip
(List<DSSDocument> containerEntries, Date creationTime, String zipComment, ZipOutputStream zos) This method stores allcontainerEntries
in a given order to aZipOutputStream
with the given parametersSecureContainerHandler.createZipArchive
(List<DSSDocument> containerEntries, Date creationTime, String zipComment) ZipContainerHandler.createZipArchive
(List<DSSDocument> containerEntries, Date creationTime, String zipComment) Creates a ZIP-Archive with the givencontainerEntries
ZipUtils.createZipArchive
(List<DSSDocument> containerEntries, Date creationTime, String zipComment) Creates a ZIP-Archive with the givencontainerEntries
static List
<DSSDocument> ASiCUtils.getRootLevelDocuments
(List<DSSDocument> documents) This method returns root-level documents across the provided list of documentsvoid
ASiCContent.setArchiveManifestDocuments
(List<DSSDocument> archiveManifestDocuments) Sets archive manifest documents (ASiC with CAdES only)void
ASiCContent.setContainerDocuments
(List<DSSDocument> containerDocuments) Sets package.zip" documentsvoid
ASiCContent.setEvidenceRecordDocuments
(List<DSSDocument> evidenceRecordDocuments) Sets a list of evidence record documentsvoid
ASiCContent.setEvidenceRecordManifestDocuments
(List<DSSDocument> evidenceRecordManifestDocuments) Sets a list of evidence record manifest documentsvoid
ASiCContent.setFolders
(List<DSSDocument> folders) Sets a list of folders present within an archivevoid
ASiCContent.setManifestDocuments
(List<DSSDocument> manifestDocuments) Sets manifest documentsvoid
ASiCContent.setSignatureDocuments
(List<DSSDocument> signatureDocuments) Sets signature documentsvoid
ASiCContent.setSignedDocuments
(List<DSSDocument> signedDocuments) Sets signed documentsvoid
ASiCContent.setTimestampDocuments
(List<DSSDocument> timestampDocuments) Sets timestamp documents (ASiC with CAdES only)void
ASiCContent.setUnsupportedDocuments
(List<DSSDocument> unsupportedDocuments) Sets unsupported documentsstatic List
<ManifestEntry> ASiCUtils.toSimpleManifestEntries
(List<DSSDocument> documents) Transforms a list of given documents to a list of "simple" (only basic information) manifest entriesModifierConstructorDescriptionContainerEntryDocument
(DSSDocument content) Default constructorContainerEntryDocument
(DSSDocument content, DSSZipEntry zipEntry) Constructor with providedDSSZipEntry
-
Uses of DSSDocument in eu.europa.esig.dss.asic.common.evidencerecord
Modifier and TypeMethodDescriptionASiCContentDocumentFilter.filter
(ASiCContent asicContent) Returns a list of filteredDSSDocument
s according to the configurationprotected List
<DSSDocument> ASiCEvidenceRecordDigestBuilder.getDocumentListToComputeDigest()
This method executes anAsicContentDocumentFilter
and returns a list of documents to compute hashes forModifier and TypeMethodDescriptionZipContentEvidenceRecordDigestBuilder.computeDigestForDocuments
(List<DSSDocument> documents) Computes a list of digests for the given list ofDSSDocument
sModifierConstructorDescriptionASiCEvidenceRecordDigestBuilder
(DSSDocument asicContainer) Creates a ASiCEvidenceRecordDigestBuilder to build hashes from aDSSDocument
, represented by an ASiC container, using a default SHA-256 digest algorithmASiCEvidenceRecordDigestBuilder
(DSSDocument asicContainer, DigestAlgorithm digestAlgorithm) Creates a ASiCEvidenceRecordDigestBuilder to build hashes with the providedDigestAlgorithm
from aDSSDocument
, represented by an ASiC containerASiCEvidenceRecordManifestBuilder
(DSSDocument asicContainer, DigestAlgorithm digestAlgorithm, String evidenceRecordFilename) Constructor to build a manifest from aeu.europa.esig.dss.model.DSSDocument
representing the ASiC containerZipContentEvidenceRecordDigestBuilder
(DSSDocument zipContainer) Creates a ZipContentEvidenceRecordDigestBuilder to build hashes from aDSSDocument
, represented by a ZIP container, using a default SHA-256 digest algorithmZipContentEvidenceRecordDigestBuilder
(DSSDocument zipContainer, DigestAlgorithm digestAlgorithm) Creates a ZipContentEvidenceRecordDigestBuilder to build hashes with the providedDigestAlgorithm
from aDSSDocument
, represented by a ZIP container -
Uses of DSSDocument in eu.europa.esig.dss.asic.common.extract
Modifier and TypeMethodDescriptionASiCContainerExtractorFactory.create
(DSSDocument asicContainer) Creates a newASiCContainerExtractor
for the given ZIP-archive containerstatic ASiCContainerExtractor
DefaultASiCContainerExtractor.fromDocument
(DSSDocument asicContainer) Loads an implementation ofASiCContainerExtractor
corresponding toasicContainer
typeboolean
ASiCContainerExtractorFactory.isSupported
(DSSDocument asicContainer) Returns whether the format of given ASiC document is supported by the currentASiCContainerExtractor
ModifierConstructorDescriptionprotected
DefaultASiCContainerExtractor
(DSSDocument asicContainer) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.common.merge
Modifier and TypeMethodDescriptionASiCContainerMerger.merge()
Merges given containers to a new container document, when possibleDefaultContainerMerger.merge()
Modifier and TypeMethodDescriptionASiCContainerMergerFactory.create
(DSSDocument... containers) Creates a newASiCContainerMerger
for the given ZIP-archive containersstatic ASiCContainerMerger
DefaultContainerMerger.fromDocuments
(DSSDocument... containers) This method loads a relevantASiCContainerMerger
to be used to merge given container documentsprotected abstract DefaultASiCContainerExtractor
DefaultContainerMerger.getContainerExtractor
(DSSDocument container) This method returns a relevant ASiC container extractorboolean
ASiCContainerMerger.isSupported
(DSSDocument... containers) Returns whether the format of given containers is supported by the currentASiCContainerMerger
boolean
ASiCContainerMergerFactory.isSupported
(DSSDocument... containers) Returns whether the format of given containers is supported by the currentASiCContainerMerger
protected abstract boolean
DefaultContainerMerger.isSupported
(DSSDocument container) This method verifies whether the providedcontainer
is supported by the current classboolean
DefaultContainerMerger.isSupported
(DSSDocument... containers) ModifierConstructorDescriptionprotected
DefaultContainerMerger
(DSSDocument... containers) This constructor is used to create anASiCContainerMerger
from provided container documents -
Uses of DSSDocument in eu.europa.esig.dss.asic.common.signature
Modifier and TypeFieldDescriptionprotected final DSSDocument
ASiCCounterSignatureHelper.asicContainer
The document representing an ASiC containerModifier and TypeMethodDescriptionprotected DSSDocument
AbstractASiCSignatureService.buildASiCContainer
(ASiCContent asicContent, Date creationTime) Creates a ZIP-Archive by copying the provided documents to the new containerprotected DSSDocument
AbstractASiCDataToSignHelperBuilder.createPackageZip
(List<DSSDocument> documents, Date signingDate) Creates a zip with all files to be signedASiCCounterSignatureHelper.extractSignatureDocument
(String signatureId) Returns a file containing a signature with the given idprotected DSSDocument
AbstractASiCDataToSignHelperBuilder.getASiCSSignedDocument
(List<DSSDocument> filesToBeSigned, Date signingDate) This method returns a document to be signed in case of an ASiC-S containerAbstractASiCSignatureService.signDocument
(DSSDocument toSignDocument, SP parameters, SignatureValue signatureValue) AbstractASiCSignatureService.timestamp
(DSSDocument toTimestampDocument, TP parameters) Modifier and TypeMethodDescriptionprotected abstract List
<DSSDocument> ASiCCounterSignatureHelper.getDetachedDocuments
(String signatureFilename) Returns a list if detached documents for a signature with a given filenameModifier and TypeMethodDescriptionprotected void
ASiCCounterSignatureHelper.checkCounterSignaturePossible
(DSSDocument signatureDocument) This method verifies if a signatureDocument can be counter signed Throws an exception when an extension is not possibleprotected ASiCContent
AbstractASiCSignatureService.extractCurrentArchive
(DSSDocument archive) Extracts the content (documents) of the ASiC containerprotected abstract DefaultASiCContainerExtractor
AbstractASiCSignatureService.getArchiveExtractor
(DSSDocument archive) Returns a relevant ASiC container extractor for the given formatprotected abstract DefaultASiCContainerExtractor
AbstractASiCContentBuilder.getContainerExtractor
(DSSDocument archiveDocument) Returns an instance of a corresponding container extractor classAbstractASiCSignatureService.getContentTimestamp
(DSSDocument toSignDocument, SP parameters) AbstractASiCSignatureService.getDataToSign
(DSSDocument toSignDocument, SP parameters) protected abstract DocumentAnalyzer
ASiCCounterSignatureHelper.getDocumentAnalyzer
(DSSDocument signatureDocument) Gets a Document Validator relative to the current implementationprotected String
AbstractASiCSignatureService.getFinalArchiveName
(DSSDocument originalFile, SigningOperation operation, MimeType containerMimeType) Generates and returns a final name for the archive to createprotected abstract boolean
AbstractASiCContentBuilder.isAcceptableContainerFormat
(DSSDocument archiveDocument) Method verifies whether the givenarchiveDocument
has an acceptable to the format typeAbstractASiCSignatureService.signDocument
(DSSDocument toSignDocument, SP parameters, SignatureValue signatureValue) AbstractASiCSignatureService.timestamp
(DSSDocument toTimestampDocument, TP parameters) Modifier and TypeMethodDescriptionprotected void
AbstractASiCSignatureService.assertSignaturePossible
(List<DSSDocument> documentsToSign) This method verifies whether the signature creation is possible with the provided documentsAbstractASiCContentBuilder.build
(List<DSSDocument> documents, ASiCContainerType asicContainerType) Builds theASiCContent
from theprotected DSSDocument
AbstractASiCDataToSignHelperBuilder.createPackageZip
(List<DSSDocument> documents, Date signingDate) Creates a zip with all files to be signedprotected DSSDocument
AbstractASiCDataToSignHelperBuilder.getASiCSSignedDocument
(List<DSSDocument> filesToBeSigned, Date signingDate) This method returns a document to be signed in case of an ASiC-S containerModifierConstructorDescriptionprotected
ASiCCounterSignatureHelper
(DSSDocument asicContainer) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.common.validation
Modifier and TypeMethodDescriptionstatic DSSDocument
ASiCManifestParser.getLinkedManifest
(List<DSSDocument> manifestDocuments, String signatureName) Returns the relative manifests for the given signature nameAbstractASiCContainerAnalyzer.getMimeTypeDocument()
Returns a mimetype documentAbstractASiCContainerValidator.getMimeTypeDocument()
Returns a mimetype documentModifier and TypeMethodDescriptionAbstractASiCContainerAnalyzer.getAllDocuments()
Returns a list of all embedded documentsAbstractASiCContainerValidator.getAllDocuments()
Returns a list of all embedded documentsAbstractASiCContainerAnalyzer.getAllManifestDocuments()
Returns a list of all embedded manifest documentsAbstractASiCContainerValidator.getAllManifestDocuments()
Returns a list of all embedded manifest documentsAbstractASiCContainerAnalyzer.getArchiveDocuments()
Returns a list of archive documents embedded the containerAbstractASiCContainerValidator.getArchiveDocuments()
Returns a list of archive documents embedded the containerAbstractASiCContainerAnalyzer.getArchiveManifestDocuments()
Returns a list of embedded archive manifest documentsAbstractASiCContainerValidator.getArchiveManifestDocuments()
Returns a list of embedded archive manifest documentsAbstractASiCContainerAnalyzer.getEvidenceRecordDocuments()
Returns a list of embedded evidence record documentsAbstractASiCContainerValidator.getEvidenceRecordDocuments()
Returns a list of embedded evidence record documentsAbstractASiCContainerAnalyzer.getEvidenceRecordManifestDocuments()
Returns a list of embedded evidence record manifest documentsAbstractASiCContainerValidator.getEvidenceRecordManifestDocuments()
Returns a list of embedded evidence record manifest documentsAbstractASiCContainerAnalyzer.getManifestDocuments()
Returns a list of embedded signature manifest documentsAbstractASiCContainerValidator.getManifestDocuments()
Returns a list of embedded signature manifest documentsAbstractASiCContainerAnalyzer.getSignatureDocuments()
Returns a list of embedded signature documentsAbstractASiCContainerValidator.getSignatureDocuments()
Returns a list of embedded signature documentsAbstractASiCContainerAnalyzer.getSignedDocuments()
Returns a list of embedded signed documentsAbstractASiCContainerValidator.getSignedDocuments()
Returns a list of embedded signed documentsprotected List
<DSSDocument> AbstractASiCContainerAnalyzer.getSignedDocumentsASiCS
(List<DSSDocument> retrievedDocs) Returns a list of "package.zip" documentsAbstractASiCContainerAnalyzer.getTimestampDocuments()
Returns a list of embedded timestamp documentsAbstractASiCContainerValidator.getTimestampDocuments()
Returns a list of embedded timestamp documentsAbstractASiCContainerAnalyzer.getUnsupportedDocuments()
Returns a list of unsupported documents from the containerAbstractASiCContainerValidator.getUnsupportedDocuments()
Returns a list of unsupported documents from the containerModifier and TypeMethodDescriptionprotected void
AbstractASiCContainerAnalyzer.assertEvidenceRecordDocumentExtensionMatch
(DSSDocument evidenceRecordDocument, EvidenceRecordTypeEnum evidenceRecordTypeEnum) This method verifies whether the extension ofevidenceRecordDocument
is conformant to the applicable standard for the givenevidenceRecordTypeEnum
static ManifestFile
ASiCManifestParser.getManifestFile
(DSSDocument manifestDocument) Parses and convertsDSSDocument
toManifestFile
protected ManifestFile
AbstractASiCContainerAnalyzer.getValidatedManifestFile
(DSSDocument manifest) Returns a validatedManifestFile
for the givenmanifest
documentModifier and TypeMethodDescriptionstatic DSSDocument
ASiCManifestParser.getLinkedManifest
(List<DSSDocument> manifestDocuments, String signatureName) Returns the relative manifests for the given signature nameprotected List
<DSSDocument> AbstractASiCContainerAnalyzer.getSignedDocumentsASiCS
(List<DSSDocument> retrievedDocs) Returns a list of "package.zip" documentsModifierConstructorDescriptionprotected
AbstractASiCContainerAnalyzer
(DSSDocument document) The default constructorModifierConstructorDescriptionASiCManifestValidator
(ManifestFile manifest, List<DSSDocument> signedDocuments) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades
Modifier and TypeMethodDescriptionstatic List
<DSSDocument> OpenDocumentSupportUtils.getOpenDocumentCoverage
(ASiCContent asicContent) ODF 1.2 ch 3.16 An OpenDocument document that is stored in a package may have one or more digital signatures applied to the package.Modifier and TypeMethodDescriptionstatic boolean
OpenDocumentSupportUtils.isExternalDataDocument
(DSSDocument document) Verifies whether the document is located within "external-data/" folder within the archive -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.extract
Modifier and TypeMethodDescriptionASiCWithXAdESContainerExtractorFactory.create
(DSSDocument asicContainer) boolean
ASiCWithXAdESContainerExtractorFactory.isSupported
(DSSDocument asicContainer) ModifierConstructorDescriptionThe default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.merge
Modifier and TypeMethodDescriptionASiCWithXAdESContainerMergerFactory.create
(DSSDocument... containers) protected DefaultASiCContainerExtractor
AbstractASiCWithXAdESContainerMerger.getContainerExtractor
(DSSDocument container) protected boolean
AbstractASiCWithXAdESContainerMerger.isSupported
(DSSDocument container) protected boolean
ASiCEWithXAdESContainerMerger.isSupported
(DSSDocument container) protected boolean
ASiCSWithXAdESContainerMerger.isSupported
(DSSDocument container) boolean
ASiCWithXAdESContainerMergerFactory.isSupported
(DSSDocument... containers) ModifierConstructorDescriptionprotected
AbstractASiCWithXAdESContainerMerger
(DSSDocument... containers) This constructor is used to create an ASiC With XAdES container merger from provided container documentsASiCEWithXAdESContainerMerger
(DSSDocument... containers) This constructor is used to create an ASiC-E With XAdES container merger from provided container documentsASiCSWithXAdESContainerMerger
(DSSDocument... containers) This constructor is used to create an ASiC-S With XAdES container merger from provided container documents -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.signature
Modifier and TypeMethodDescriptionASiCWithXAdESService.addSignaturePolicyStore
(DSSDocument asicContainer, SignaturePolicyStore signaturePolicyStore) Incorporates a Signature Policy Store as an unsigned property into the ASiC with XAdES SignatureASiCWithXAdESService.counterSignSignature
(DSSDocument asicContainer, XAdESCounterSignatureParameters parameters, SignatureValue signatureValue) ASiCWithXAdESService.extendDocument
(DSSDocument toExtendDocument, ASiCWithXAdESSignatureParameters parameters) ASiCWithXAdESService.signDocument
(List<DSSDocument> toSignDocuments, ASiCWithXAdESSignatureParameters parameters, SignatureValue signatureValue) ASiCWithXAdESService.timestamp
(List<DSSDocument> toTimestampDocuments, XAdESTimestampParameters parameters) Modifier and TypeMethodDescriptionprotected List
<DSSDocument> ASiCWithXAdESService.getDetachedContents
(ASiCContent asicContent, boolean isOpenDocument) This method returns a detached contents to be used for a signature validationprotected List
<DSSDocument> ASiCWithXAdESCounterSignatureHelper.getDetachedDocuments
(String signatureFilename) GetDataToSignASiCWithXAdESHelper.getToBeSigned()
Returns a list of documents to be signed (XAdES allows signing multiple files)Modifier and TypeMethodDescriptionASiCWithXAdESService.addSignaturePolicyStore
(DSSDocument asicContainer, SignaturePolicyStore signaturePolicyStore) Incorporates a Signature Policy Store as an unsigned property into the ASiC with XAdES SignatureASiCWithXAdESService.counterSignSignature
(DSSDocument asicContainer, XAdESCounterSignatureParameters parameters, SignatureValue signatureValue) ASiCWithXAdESService.extendDocument
(DSSDocument toExtendDocument, ASiCWithXAdESSignatureParameters parameters) protected DefaultASiCContainerExtractor
ASiCWithXAdESService.getArchiveExtractor
(DSSDocument archive) protected DefaultASiCContainerExtractor
ASiCWithXAdESASiCContentBuilder.getContainerExtractor
(DSSDocument archiveDocument) ASiCWithXAdESService.getDataToBeCounterSigned
(DSSDocument asicContainer, XAdESCounterSignatureParameters parameters) protected DocumentAnalyzer
ASiCWithXAdESCounterSignatureHelper.getDocumentAnalyzer
(DSSDocument signatureDocument) protected boolean
ASiCWithXAdESASiCContentBuilder.isAcceptableContainerFormat
(DSSDocument archiveDocument) Modifier and TypeMethodDescriptionASiCWithXAdESService.getContentTimestamp
(List<DSSDocument> toSignDocuments, ASiCWithXAdESSignatureParameters parameters) ASiCWithXAdESService.getDataToSign
(List<DSSDocument> toSignDocuments, ASiCWithXAdESSignatureParameters parameters) ASiCWithXAdESService.signDocument
(List<DSSDocument> toSignDocuments, ASiCWithXAdESSignatureParameters parameters, SignatureValue signatureValue) ASiCWithXAdESService.timestamp
(List<DSSDocument> toTimestampDocuments, XAdESTimestampParameters parameters) ModifierConstructorDescriptionprotected
ASiCWithXAdESCounterSignatureHelper
(DSSDocument asicContainer) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.signature.asice
Modifier and TypeMethodDescriptionDataToSignASiCEWithXAdESHelper.getToBeSigned()
DataToSignOpenDocumentHelper.getToBeSigned()
Modifier and TypeMethodDescriptionASiCEWithXAdESManifestBuilder.setDocuments
(List<DSSDocument> documents) Sets documents to be included into the Manifest WARN: shall not be used together withsetEntries(entries)
-
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.signature.asics
-
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.validation
Modifier and TypeMethodDescriptionASiCContainerWithXAdESAnalyzer.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionASiCContainerWithXAdESAnalyzerFactory.create
(DSSDocument document) ASiCContainerWithXAdESValidatorFactory.create
(DSSDocument document) boolean
ASiCContainerWithXAdESAnalyzer.isSupported
(DSSDocument dssDocument) boolean
ASiCContainerWithXAdESAnalyzerFactory.isSupported
(DSSDocument document) boolean
ASiCContainerWithXAdESValidatorFactory.isSupported
(DSSDocument document) ModifierConstructorDescriptionASiCContainerWithXAdESAnalyzer
(DSSDocument asicContainer) The default constructorASiCContainerWithXAdESValidator
(DSSDocument asicContainer) The default constructorASiCEWithXAdESManifestParser
(DSSDocument manifestDocument) Constructor with a manifest document only (no assigned signature)ASiCEWithXAdESManifestParser
(DSSDocument signatureDocument, DSSDocument manifestDocument) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.cades
Modifier and TypeMethodDescriptionstatic DSSDocument
CMSUtils.getOriginalDocument
(org.bouncycastle.cms.CMSSignedData cmsSignedData, List<DSSDocument> detachedDocuments) Returns the original document from the providedcmsSignedData
Modifier and TypeMethodDescriptionstatic org.bouncycastle.cms.CMSTypedData
CMSUtils.getContentToBeSigned
(DSSDocument toSignData) Returns the content to be signedstatic org.bouncycastle.operator.DigestCalculatorProvider
CMSUtils.getDigestCalculatorProvider
(DSSDocument toSignDocument, DigestAlgorithm digestAlgorithm) Returns aDigestCalculatorProvider
Modifier and TypeMethodDescriptionstatic DSSDocument
CMSUtils.getOriginalDocument
(org.bouncycastle.cms.CMSSignedData cmsSignedData, List<DSSDocument> detachedDocuments) Returns the original document from the providedcmsSignedData
-
Uses of DSSDocument in eu.europa.esig.dss.cades.signature
Modifier and TypeMethodDescriptionCAdESService.addSignaturePolicyStore
(DSSDocument document, SignaturePolicyStore signaturePolicyStore) Incorporates a Signature Policy Store as an unsigned property into the CAdES SignatureCAdESSignaturePolicyStoreBuilder.addSignaturePolicyStore
(DSSDocument signatureDocument, SignaturePolicyStore signaturePolicyStore) Extends all signatures within the given document, matching the provided policy inSignaturePolicyStore
CAdESSignaturePolicyStoreBuilder.addSignaturePolicyStore
(DSSDocument signatureDocument, SignaturePolicyStore signaturePolicyStore, String signatureId) Adds a signaturePolicyStore to a signature with the givensignatureId
, if the signature policy identifier matches the policy provided withinSignaturePolicyStore
CAdESService.counterSignSignature
(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue) CAdESService.extendDocument
(DSSDocument toExtendDocument, CAdESSignatureParameters parameters) CAdESService.signDocument
(DSSDocument toSignDocument, CAdESSignatureParameters parameters, SignatureValue signatureValue) Modifier and TypeMethodDescriptionCAdESService.addSignaturePolicyStore
(DSSDocument document, SignaturePolicyStore signaturePolicyStore) Incorporates a Signature Policy Store as an unsigned property into the CAdES SignatureCAdESSignaturePolicyStoreBuilder.addSignaturePolicyStore
(DSSDocument signatureDocument, SignaturePolicyStore signaturePolicyStore) Extends all signatures within the given document, matching the provided policy inSignaturePolicyStore
CAdESSignaturePolicyStoreBuilder.addSignaturePolicyStore
(DSSDocument signatureDocument, SignaturePolicyStore signaturePolicyStore, String signatureId) Adds a signaturePolicyStore to a signature with the givensignatureId
, if the signature policy identifier matches the policy provided withinSignaturePolicyStore
org.bouncycastle.cms.SignerInfoGenerator
CMSSignerInfoGeneratorBuilder.build
(DSSDocument toSignDocument, CAdESSignatureParameters parameters, org.bouncycastle.operator.ContentSigner contentSigner) Builds aSignerInfoGenerator
for signing atoSignDocument
CAdESService.counterSignSignature
(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue) CAdESService.extendDocument
(DSSDocument toExtendDocument, CAdESSignatureParameters parameters) CadesLevelBaselineLTATimestampExtractor.getArchiveTimestampV3MessageImprint
(org.bouncycastle.cms.SignerInformation signerInformation, org.bouncycastle.asn1.cms.Attribute atsHashIndexAttribute, DSSDocument originalDocument, DigestAlgorithm digestAlgorithm) Computes a message-imprint for an archive-time-stamp-v3CAdESService.getContentTimestamp
(DSSDocument toSignDocument, CAdESSignatureParameters parameters) CAdESService.getDataToBeCounterSigned
(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters) CAdESService.getDataToSign
(DSSDocument toSignDocument, CAdESSignatureParameters parameters) protected org.bouncycastle.cms.SignerInfoGeneratorBuilder
CMSSignerInfoGeneratorBuilder.getSignerInfoGeneratorBuilder
(CAdESSignatureParameters parameters, DSSDocument contentToSign) This method creates a builder of SignerInfoGeneratororg.bouncycastle.cms.SignerInformation
CAdESCounterSignatureBuilder.getSignerInformationToBeCounterSigned
(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters) Returns aSignerInformation
to be counter-signedCAdESService.signDocument
(DSSDocument toSignDocument, CAdESSignatureParameters parameters, SignatureValue signatureValue) ModifierConstructorDescriptionCAdESLevelBaselineB
(DSSDocument documentToSign) The constructor for CAdESLevelBaselineB with adocumentToSign
-
Uses of DSSDocument in eu.europa.esig.dss.cades.validation
Modifier and TypeMethodDescriptionCAdESSignature.getOriginalDocument()
Returns the original signed documentprotected DSSDocument
CAdESSignature.getSignerDocumentContent()
This method extracts a document content that was signed NOTE: Some differences are possible with PAdESModifier and TypeMethodDescriptionCMSDocumentAnalyzer.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionCMSDocumentAnalyzerFactory.create
(DSSDocument document) CMSDocumentValidatorFactory.create
(DSSDocument document) boolean
CMSDocumentAnalyzer.isSupported
(DSSDocument dssDocument) boolean
CMSDocumentAnalyzerFactory.isSupported
(DSSDocument document) boolean
CMSDocumentValidatorFactory.isSupported
(DSSDocument document) ModifierConstructorDescriptionCMSDocumentAnalyzer
(DSSDocument document) The default constructor forCMSDocumentValidator
.CMSDocumentValidator
(DSSDocument document) The default constructor forCMSDocumentValidator
. -
Uses of DSSDocument in eu.europa.esig.dss.cades.validation.evidencerecord
Modifier and TypeFieldDescriptionprotected DSSDocument
CAdESEvidenceRecordDigestBuilder.detachedDocument
Original document in case of a detached signatureModifier and TypeMethodDescriptionCAdESEvidenceRecordDigestBuilder.setDetachedContent
(DSSDocument detachedDocument) Sets an original document in case of a detached signature.ModifierConstructorDescriptionCAdESEvidenceRecordDigestBuilder
(DSSDocument signatureDocument) Default constructor to instantiate CAdESEvidenceRecordDigestBuilder with a SHA-256 digest algorithmCAdESEvidenceRecordDigestBuilder
(DSSDocument signatureDocument, DigestAlgorithm digestAlgorithm) Constructor to instantiate CAdESEvidenceRecordDigestBuilder with a custom digest algorithm -
Uses of DSSDocument in eu.europa.esig.dss.cades.validation.scope
Modifier and TypeMethodDescriptionprotected DSSDocument
CAdESSignatureScopeFinder.getOriginalDocument
(CAdESSignature cadesSignature) Returns original document for the given CAdES signatureprotected DSSDocument
CAdESSignatureScopeFinder.getReferencedDocument
(ManifestEntry manifestEntry, List<DSSDocument> detachedDocuments) This method returns a document references from themanifestEntry
Modifier and TypeMethodDescriptionprotected List
<SignatureScope> CAdESSignatureScopeFinder.getSignatureScopeFromOriginalDocument
(CAdESSignature cadesSignature, DSSDocument originalDocument) Returns a list ofSignatureScope
s from the signed documentModifier and TypeMethodDescriptionprotected DSSDocument
CAdESSignatureScopeFinder.getReferencedDocument
(ManifestEntry manifestEntry, List<DSSDocument> detachedDocuments) This method returns a document references from themanifestEntry
-
Uses of DSSDocument in eu.europa.esig.dss.evidencerecord.asn1.digest
Modifier and TypeMethodDescriptionASN1ArchiveTimeStampSequenceDigestHelper.computeChainAndDocumentHash
(Digest archiveTimeStampChainHash, DSSDocument document) Computes a hash value for chain-hash and document-hashASN1EvidenceRecordDataObjectDigestBuilderFactory.create
(DSSDocument document) ASN1EvidenceRecordDataObjectDigestBuilderFactory.create
(DSSDocument document, DigestAlgorithm digestAlgorithm) Modifier and TypeMethodDescriptionASN1EvidenceRecordRenewalDigestBuilder.setDetachedContent
(List<DSSDocument> detachedContent) ModifierConstructorDescriptionConstructor to create a builder for computing digest on the given document using a SHA-256 digest algorithmASN1EvidenceRecordDataObjectDigestBuilder
(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given document using a provided digest algorithmCreates an instance ofASN1EvidenceRecordRenewalDigestBuilder
allowing to build hash for ASN.1 evidence recorddocument
's renewal.ASN1EvidenceRecordRenewalDigestBuilder
(DSSDocument document, DigestAlgorithm digestAlgorithm) Creates an instance ofASN1EvidenceRecordRenewalDigestBuilder
allowing to build hash for ASN.1 evidence recorddocument
's renewal, with the provideddigestAlgorithm
(see note below). -
Uses of DSSDocument in eu.europa.esig.dss.evidencerecord.asn1.validation
Modifier and TypeMethodDescriptionprotected DSSDocument
ASN1EvidenceRecordTimeStampSequenceVerifier.getMatchingDocument
(Digest digest, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedContents) This method returns a document with matchingDigest
from a provided list ofdetachedContents
Modifier and TypeMethodDescriptionASN1EvidenceRecordAnalyzerFactory.create
(DSSDocument document) ASN1EvidenceRecordValidatorFactory.create
(DSSDocument document) protected DataObjectDigestBuilder
ASN1EvidenceRecordTimeStampSequenceVerifier.getDataObjectDigestBuilder
(DSSDocument document, ArchiveTimeStampChainObject archiveTimeStampChain) boolean
ASN1EvidenceRecordAnalyzer.isSupported
(DSSDocument dssDocument) boolean
ASN1EvidenceRecordAnalyzerFactory.isSupported
(DSSDocument document) boolean
ASN1EvidenceRecordValidatorFactory.isSupported
(DSSDocument document) Modifier and TypeMethodDescriptionprotected List
<byte[]> ASN1EvidenceRecordTimeStampSequenceVerifier.getLastTimeStampSequenceHashList
(DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedDocuments) protected DSSDocument
ASN1EvidenceRecordTimeStampSequenceVerifier.getMatchingDocument
(Digest digest, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedContents) This method returns a document with matchingDigest
from a provided list ofdetachedContents
ModifierConstructorDescriptionASN1EvidenceRecord
(DSSDocument document) Constructor to instantiate an ASN.1 Evidence Record from aDSSDocument
ASN1EvidenceRecordAnalyzer
(DSSDocument document) The default constructor for ASN1EvidenceRecordValidator.ASN1EvidenceRecordValidator
(DSSDocument document) The default constructor for XMLEvidenceRecordValidator. -
Uses of DSSDocument in eu.europa.esig.dss.evidencerecord.common.digest
Modifier and TypeFieldDescriptionprotected final DSSDocument
AbstractDataObjectDigestBuilder.document
Document to compute digest onModifier and TypeFieldDescriptionprotected List
<DSSDocument> AbstractEvidenceRecordRenewalDigestBuilder.detachedContent
List of documents to compute hashes forModifier and TypeMethodDescriptionAbstractEvidenceRecordRenewalDigestBuilder.setDetachedContent
(List<DSSDocument> detachedContent) Sets detached content to be used for a digest group hash computation on hash-tree renewal NOTE : at least one of the documents from the original data group should be provided for a correct hash-tree renewalModifierConstructorDescriptionprotected
AbstractDataObjectDigestBuilder
(DSSDocument document) Constructor to create a builder for computing digest on the given document using a SHA-256 digest algorithmprotected
AbstractDataObjectDigestBuilder
(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given document using a provided digest algorithm -
Uses of DSSDocument in eu.europa.esig.dss.evidencerecord.common.validation
Modifier and TypeMethodDescriptionprotected DSSDocument
EvidenceRecordTimeStampSequenceVerifier.getMatchingDocument
(Digest digest, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedContents) This method returns a document with matchingDigest
from a provided list ofdetachedContents
protected DSSDocument
EvidenceRecordTimeStampSequenceVerifier.getMatchingDocument
(ManifestEntry manifestEntry, List<DSSDocument> detachedContents) This method returns a matching document for the givenmanifestEntry
Modifier and TypeMethodDescriptionDefaultEvidenceRecord.getDetachedContents()
DefaultEvidenceRecordAnalyzer.getOriginalDocuments
(AdvancedSignature advancedSignature) DefaultEvidenceRecordValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionEvidenceRecordValidatorFactory.create
(DSSDocument document) This method instantiates aEvidenceRecordValidator
with the given documentstatic EvidenceRecordAnalyzer
DefaultEvidenceRecordAnalyzer.fromDocument
(DSSDocument dssDocument) This method guesses the document format and returns an appropriate evidence record reader.DefaultEvidenceRecordValidator.fromDocument
(DSSDocument dssDocument) This method guesses the document format and returns an appropriate evidence record validator.protected abstract DataObjectDigestBuilder
EvidenceRecordTimeStampSequenceVerifier.getDataObjectDigestBuilder
(DSSDocument document, ArchiveTimeStampChainObject archiveTimeStampChain) ReturnsDataObjectDigestBuilder
corresponding to the current implementationprotected byte[]
EvidenceRecordTimeStampSequenceVerifier.getDocumentDigest
(DSSDocument document, ArchiveTimeStampChainObject archiveTimeStampChain) Returns digest value for the documentprotected ManifestEntry
EvidenceRecordTimeStampSequenceVerifier.getMatchingManifestEntry
(ManifestFile manifestFile, Digest digest, DSSDocument document) Returns a validated manifest entry matching the givendigest
ordocument
boolean
EvidenceRecordValidatorFactory.isSupported
(DSSDocument document) This method tests if the current implementation ofEvidenceRecordValidator
supports the given documentModifier and TypeMethodDescriptionprotected List
<byte[]> EvidenceRecordTimeStampSequenceVerifier.getLastTimeStampSequenceHashList
(DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedDocuments) Returns a list of hashes computed on a given previous time-stamp sequence hashprotected DSSDocument
EvidenceRecordTimeStampSequenceVerifier.getMatchingDocument
(Digest digest, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedContents) This method returns a document with matchingDigest
from a provided list ofdetachedContents
protected DSSDocument
EvidenceRecordTimeStampSequenceVerifier.getMatchingDocument
(ManifestEntry manifestEntry, List<DSSDocument> detachedContents) This method returns a matching document for the givenmanifestEntry
void
DefaultEvidenceRecord.setDetachedContents
(List<DSSDocument> detachedContents) Sets a list of detached documents covered by the reduced HashTree of the Evidence Recordprotected List
<ReferenceValidation> EvidenceRecordTimeStampSequenceVerifier.validateArchiveDataObjects
(DigestValueGroup digestValueGroup, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedContents, ManifestFile manifestFile) This method is used to verify archive data objects for presence document digests withindigestValueGroup
.ModifierConstructorDescriptionprotected
DefaultEvidenceRecordAnalyzer
(DSSDocument document) Instantiates the class with a document to be validated -
Uses of DSSDocument in eu.europa.esig.dss.evidencerecord.xml.digest
Modifier and TypeMethodDescriptionXMLEvidenceRecordDataObjectDigestBuilderFactory.create
(DSSDocument document) XMLEvidenceRecordDataObjectDigestBuilderFactory.create
(DSSDocument document, DigestAlgorithm digestAlgorithm) Modifier and TypeMethodDescriptionXMLEvidenceRecordRenewalDigestBuilder.setDetachedContent
(List<DSSDocument> detachedContent) ModifierConstructorDescriptionConstructor to create a builder for computing digest on the given document using a SHA-256 digest algorithmXMLEvidenceRecordDataObjectDigestBuilder
(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given document using a provided digest algorithmCreates an instance ofXMLEvidenceRecordRenewalDigestBuilder
allowing to build hash for XML evidence recorddocument
's renewal, with a default SHA256 digest algorithm to be used on hash-tree renewal computation (see note).XMLEvidenceRecordRenewalDigestBuilder
(DSSDocument document, DigestAlgorithm digestAlgorithm) Creates an instance ofXMLEvidenceRecordRenewalDigestBuilder
allowing to build hash for XML evidence recorddocument
's renewal, with the provideddigestAlgorithm
(see note below). -
Uses of DSSDocument in eu.europa.esig.dss.evidencerecord.xml.validation
Modifier and TypeMethodDescriptionXMLEvidenceRecordAnalyzerFactory.create
(DSSDocument document) XMLEvidenceRecordValidatorFactory.create
(DSSDocument document) protected DataObjectDigestBuilder
XmlEvidenceRecordTimeStampSequenceVerifier.getDataObjectDigestBuilder
(DSSDocument document, ArchiveTimeStampChainObject archiveTimeStampChain) boolean
XMLEvidenceRecordAnalyzer.isSupported
(DSSDocument dssDocument) boolean
XMLEvidenceRecordAnalyzerFactory.isSupported
(DSSDocument document) boolean
XMLEvidenceRecordValidatorFactory.isSupported
(DSSDocument document) ModifierConstructorDescriptionXmlEvidenceRecord
(DSSDocument document) This constructor is used to create aneu.europa.esig.dss.evidencerecord.xml.validation.XmlEvidenceRecord
from aeu.europa.esig.dss.model.DSSDocument
fileXMLEvidenceRecordAnalyzer
(DSSDocument document) The default constructor for XMLEvidenceRecordValidator.XMLEvidenceRecordValidator
(DSSDocument document) The default constructor for XMLEvidenceRecordValidator. -
Uses of DSSDocument in eu.europa.esig.dss.jades
Modifier and TypeClassDescriptionclass
The class represents an HTTP Header to be signed See ETSI TS 119 182-1 "5.2.8.2 Mechanism HttpHeaders" The class shall be used only for JAdES detachedSigDMechanism.HTTP_HEADERS
mechanismclass
An HTTP message body, which 'Digest' representation is being signed with 'sigD' HTTP_HEADERS mechanismModifier and TypeMethodDescriptionstatic DSSDocument
JWSConverter.fromEtsiUWithBase64UrlToClearJsonIncorporation
(DSSDocument document) Converts unprotected content of 'etsiU' header of JAdES signatures inside a document to its clear JSON incorporation formstatic DSSDocument
JWSConverter.fromEtsiUWithClearJsonToBase64UrlIncorporation
(DSSDocument document) Converts unprotected content of 'etsiU' header of JAdES signatures inside a document to its base64Url JSON incorporation formstatic DSSDocument
JWSConverter.fromJWSCompactToJSONFlattenedSerialization
(DSSDocument document) Converts a JWS Compact Serialization to a JSON Flattened Serialization.static DSSDocument
JWSConverter.fromJWSCompactToJSONSerialization
(DSSDocument document) Converts a JWS Compact Serialization to a JSON Serialization.JWSJsonSerializationGenerator.generate()
Generates theDSSDocument
HTTPHeaderDigest.getMessageBodyDocument()
Returns the original HTTP Message Body DocumentModifier and TypeMethodDescriptionstatic DSSDocument
JWSConverter.fromEtsiUWithBase64UrlToClearJsonIncorporation
(DSSDocument document) Converts unprotected content of 'etsiU' header of JAdES signatures inside a document to its clear JSON incorporation formstatic DSSDocument
JWSConverter.fromEtsiUWithClearJsonToBase64UrlIncorporation
(DSSDocument document) Converts unprotected content of 'etsiU' header of JAdES signatures inside a document to its base64Url JSON incorporation formstatic DSSDocument
JWSConverter.fromJWSCompactToJSONFlattenedSerialization
(DSSDocument document) Converts a JWS Compact Serialization to a JSON Flattened Serialization.static DSSDocument
JWSConverter.fromJWSCompactToJSONSerialization
(DSSDocument document) Converts a JWS Compact Serialization to a JSON Serialization.static byte[]
DSSJsonUtils.getDocumentOctets
(DSSDocument document, boolean isBase64UrlEncoded) This method returns binaries of thedocument
to be used for payload computation, depending on theisBase64UrlEncoded
parameter.static boolean
DSSJsonUtils.isAllowedSignatureDocumentType
(DSSDocument document) Checks if the signature document has an allowed type (bytes can be extracted)static boolean
DSSJsonUtils.isJsonDocument
(DSSDocument document) Checks if the provided document is JSON documentstatic String
DSSJsonUtils.toBase64Url
(DSSDocument document) Returns a base64Url encoded stringModifier and TypeMethodDescriptionstatic byte[]
DSSJsonUtils.concatenateDSSDocuments
(List<DSSDocument> documents, boolean isBase64UrlEncoded) Concatenates document octets to a single byte arraystatic void
DSSJsonUtils.writeDocumentsDigest
(List<DSSDocument> documents, boolean isBase64UrlEncoded, DSSMessageDigestCalculator digestCalculator) Writes digest on a concatenated binaries of provideddocuments
ModifierConstructorDescriptionHTTPHeaderDigest
(DSSDocument messageBodyDocument, DigestAlgorithm digestAlgorithm) The default constructorThe default constructorHTTPHeaderSignatureScope
(DSSDocument document) The default constructorJWSCompactSerializationParser
(DSSDocument document) The default constructorJWSJsonSerializationParser
(DSSDocument document) The default constructor for parser to extract a list of signatures and payload -
Uses of DSSDocument in eu.europa.esig.dss.jades.signature
Modifier and TypeMethodDescriptionJAdESService.addSignaturePolicyStore
(DSSDocument document, SignaturePolicyStore signaturePolicyStore) Incorporates a Signature Policy Store as a base64Url-encoded unsigned property into the JAdES SignatureJAdESService.addSignaturePolicyStore
(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance) Incorporates a Signature Policy Store as an unsigned property into the JAdES SignatureJAdESSignaturePolicyStoreBuilder.addSignaturePolicyStore
(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance) AddssignaturePolicyStore
to all signatures inside thedocument
matching the givenSignaturePolicyStore
.JAdESSignaturePolicyStoreBuilder.addSignaturePolicyStore
(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance, String signatureId) AddssignaturePolicyStore
to a signature inside thedocument
with the givensignatureId
JAdESBuilder.build
(SignatureValue signatureValue) Builds a signatureJAdESCompactBuilder.build
(SignatureValue signatureValue) Builds the concatenation of signed header and payload (dataTobeSigned string) in the way : BASE64URL(UTF8(JWS Protected Header)) || '.' || BASE64URL(JWS Payload)JAdESSerializationBuilder.build
(SignatureValue signatureValue) JAdESCounterSignatureBuilder.buildEmbeddedCounterSignature
(DSSDocument signatureDocument, DSSDocument counterSignature, JAdESCounterSignatureParameters parameters) Embeds and returns the embedded counter signature into the original JAdES signatureJAdESService.counterSignSignature
(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters, SignatureValue signatureValue) JAdESService.extendDocument
(DSSDocument toExtendDocument, JAdESSignatureParameters parameters) JAdESLevelBaselineT.extendSignatures
(DSSDocument document, JAdESSignatureParameters params) JAdESCounterSignatureBuilder.getSignatureValueToBeSigned
(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters) Extract SignatureValue binaries from the provided JAdES signatureJAdESService.signDocument
(DSSDocument toSignDocument, JAdESSignatureParameters parameters, SignatureValue signatureValue) JAdESService.signDocument
(List<DSSDocument> toSignDocuments, JAdESSignatureParameters parameters, SignatureValue signatureValue) JAdESService.timestamp
(List<DSSDocument> toTimestampDocuments, JAdESTimestampParameters parameters) Modifier and TypeMethodDescriptionJAdESService.addSignaturePolicyStore
(DSSDocument document, SignaturePolicyStore signaturePolicyStore) Incorporates a Signature Policy Store as a base64Url-encoded unsigned property into the JAdES SignatureJAdESService.addSignaturePolicyStore
(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance) Incorporates a Signature Policy Store as an unsigned property into the JAdES SignatureJAdESSignaturePolicyStoreBuilder.addSignaturePolicyStore
(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance) AddssignaturePolicyStore
to all signatures inside thedocument
matching the givenSignaturePolicyStore
.JAdESSignaturePolicyStoreBuilder.addSignaturePolicyStore
(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance, String signatureId) AddssignaturePolicyStore
to a signature inside thedocument
with the givensignatureId
JAdESCounterSignatureBuilder.buildEmbeddedCounterSignature
(DSSDocument signatureDocument, DSSDocument counterSignature, JAdESCounterSignatureParameters parameters) Embeds and returns the embedded counter signature into the original JAdES signatureJAdESService.counterSignSignature
(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters, SignatureValue signatureValue) JAdESService.extendDocument
(DSSDocument toExtendDocument, JAdESSignatureParameters parameters) JAdESLevelBaselineT.extendSignatures
(DSSDocument document, JAdESSignatureParameters params) JAdESService.getContentTimestamp
(DSSDocument toSignDocument, JAdESSignatureParameters parameters) JAdESService.getDataToBeCounterSigned
(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters) JAdESService.getDataToSign
(DSSDocument toSignDocument, JAdESSignatureParameters parameters) JAdESCounterSignatureBuilder.getSignatureValueToBeSigned
(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters) Extract SignatureValue binaries from the provided JAdES signatureJAdESService.signDocument
(DSSDocument toSignDocument, JAdESSignatureParameters parameters, SignatureValue signatureValue) Modifier and TypeMethodDescriptionJAdESService.getContentTimestamp
(List<DSSDocument> toSignDocuments, JAdESSignatureParameters parameters) This methods allows to create a TimestampToken for a detached JAdES (with a 'sigD' parameter).JAdESService.getDataToSign
(List<DSSDocument> toSignDocuments, JAdESSignatureParameters parameters) protected JAdESBuilder
JAdESService.getJAdESBuilder
(JAdESSignatureParameters parameters, List<DSSDocument> documentsToSign) Returns the JAdESBuilder to be usedJAdESService.signDocument
(List<DSSDocument> toSignDocuments, JAdESSignatureParameters parameters, SignatureValue signatureValue) JAdESService.timestamp
(List<DSSDocument> toTimestampDocuments, JAdESTimestampParameters parameters) ModifierConstructorDescriptionprotected
AbstractJAdESBuilder
(CertificateVerifier certificateVerifier, JAdESSignatureParameters parameters, List<DSSDocument> documentsToSign) Default constructorHttpHeadersPayloadBuilder
(List<DSSDocument> detachedContents, boolean isTimestamp) The default constructorJAdESCompactBuilder
(CertificateVerifier certificateVerifier, JAdESSignatureParameters parameters, List<DSSDocument> documentsToSign) The default constructorJAdESLevelBaselineB
(CertificateVerifier certificateVerifier, JAdESSignatureParameters parameters, List<DSSDocument> documentsToSign) The default constructorJAdESSerializationBuilder
(CertificateVerifier certificateVerifier, JAdESSignatureParameters parameters, List<DSSDocument> documentsToSign) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.jades.validation
Modifier and TypeMethodDescriptionAbstractJWSDocumentAnalyzer.getOriginalDocuments
(AdvancedSignature advancedSignature) JAdESSignature.getOriginalDocuments()
Returns a list of original documents signed by the signatureJAdESSignature.getSignedDocumentsByHTTPHeaderName()
Returns a list of signed documents by the list of URIs present in 'sigD' Keeps the original order according to 'pars' dictionary content Used in HTTPHeaders detached signature mechanismJAdESSignature.getSignedDocumentsForObjectIdByUriMechanism()
This method returns a list of documents for ObjectIdByUrl or ObjectIdByUriHash mechanisms Keeps the original order according to 'pars' dictionary contentModifier and TypeMethodDescriptionJAdESDocumentValidatorFactory.create
(DSSDocument document) JWSDocumentAnalyzerFactory.create
(DSSDocument document) boolean
JAdESDocumentValidatorFactory.isSupported
(DSSDocument document) boolean
JWSCompactDocumentAnalyzer.isSupported
(DSSDocument dssDocument) boolean
JWSDocumentAnalyzerFactory.isSupported
(DSSDocument document) boolean
JWSSerializationAnalyzerValidator.isSupported
(DSSDocument document) ModifierConstructorDescriptionprotected
AbstractJWSDocumentAnalyzer
(DSSDocument document) Default constructorJWSCompactDocumentAnalyzer
(DSSDocument document) Default constructorJWSCompactDocumentValidator
(DSSDocument document) Default constructorJWSSerializationAnalyzerValidator
(DSSDocument document) Default constructorJWSSerializationDocumentValidator
(DSSDocument document) Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.jades.validation.scope
Modifier and TypeMethodDescriptionprotected List
<DSSDocument> JAdESSignatureScopeFinder.getOriginalDocuments
(JAdESSignature jadesSignature) Returns original documents for the given JAdES signatureModifier and TypeMethodDescriptionprotected SignatureScope
JAdESSignatureScopeFinder.getSignatureScopeFromOriginalDocument
(DSSDocument originalDocument) Returns aSignatureScope
for the givenoriginalDocument
Modifier and TypeMethodDescriptionprotected List
<SignatureScope> JAdESSignatureScopeFinder.getSignatureScopeFromOriginalDocuments
(List<DSSDocument> originalDocuments) Extracts a SignatureScope list from a list of original documents -
Uses of DSSDocument in eu.europa.esig.dss.model
Modifier and TypeClassDescriptionclass
This class implements the default methods.class
Digest representation of aDSSDocument
.class
Document implementation stored on file-system.class
In memory representation of a documentModifier and TypeMethodDescriptionCommitmentQualifier.getContent()
Gets the content of the Commitment QualifierManifestFile.getDocument()
Gets theDSSDocument
representing the manifestSignaturePolicyStore.getSignaturePolicyContent()
Get policy store contentModifier and TypeMethodDescriptionvoid
CommitmentQualifier.setContent
(DSSDocument content) Sets the content of Commitment Qualifier.void
ManifestFile.setDocument
(DSSDocument document) Sets the manifest documentvoid
SignaturePolicyStore.setSignaturePolicyContent
(DSSDocument signaturePolicyContent) Set policy store content NOTE: one of signaturePolicyContent or sigPolDocLocalURI shall be used -
Uses of DSSDocument in eu.europa.esig.dss.model.identifier
ModifierConstructorDescriptionDataIdentifier
(String name, DSSDocument document) Constructor to build an identifier based onname
anddocument
-
Uses of DSSDocument in eu.europa.esig.dss.model.scope
ModifierConstructorDescriptionprotected
SignatureScope
(DSSDocument document) Default constructorprotected
SignatureScope
(String name, DSSDocument document) Default constructor with name provided -
Uses of DSSDocument in eu.europa.esig.dss.model.signature
Modifier and TypeMethodDescriptionSignaturePolicy.getPolicyContent()
Returns a DSSDocument with the signature policy contentModifier and TypeMethodDescriptionvoid
SignaturePolicy.setPolicyContent
(DSSDocument policyContent) Sets policy document content -
Uses of DSSDocument in eu.europa.esig.dss.model.tsl
Modifier and TypeMethodDescriptionDownloadInfoRecord.getDocument()
Returns the downloaded document -
Uses of DSSDocument in eu.europa.esig.dss.pades
Modifier and TypeMethodDescriptionSignatureImageParameters.getImage()
Returns aDSSDocument
image defined for displaying on the signature fieldstatic DSSDocument
PAdESUtils.getOriginalPDF
(PAdESSignature padesSignature) Returns the original signed content for thepadesSignature
static DSSDocument
PAdESUtils.getOriginalPDF
(PdfCMSRevision pdfRevision) Returns the original signed content for thepdfRevision
static DSSDocument
PAdESUtils.getPreviousRevision
(ByteRange byteRange, Collection<PdfByteRangeDocument> revisions) This method returns the best previous revision fromrevisions
collection corresponding to thebyteRange
static DSSDocument
PAdESUtils.getRevisionContent
(DSSDocument dssDocument, ByteRange byteRange) Returns the complete revision content according to the provided byteRange ([0]-[3])static DSSDocument
PAdESUtils.replaceSignature
(DSSDocument toBeSignedDocument, byte[] cmsSignedData, DSSResourcesHandlerBuilder resourcesHandlerBuilder) This method replaces /Contents field value with a givencmsSignedData
binariesModifier and TypeMethodDescriptionstatic void
PAdESUtils.assertPdfDocument
(DSSDocument document) This method verifies whether the provided document is a PDF.static List
<PdfByteRangeDocument> PAdESUtils.extractRevisions
(DSSDocument document) Parsesdocument
and extracts all revisions based on%%EOF
stringstatic DSSDocument
PAdESUtils.getRevisionContent
(DSSDocument dssDocument, ByteRange byteRange) Returns the complete revision content according to the provided byteRange ([0]-[3])static byte[]
PAdESUtils.getSignatureValue
(DSSDocument dssDocument, ByteRange byteRange) Gets the SignatureValue from thedssDocument
according to thebyteRange
Example: extracts bytes from 841 to 959. [0, 840, 960, 1200]static boolean
PAdESUtils.isPDFDocument
(DSSDocument document) Checks if the givenDSSDocument
represents a PDF documentstatic DSSDocument
PAdESUtils.replaceSignature
(DSSDocument toBeSignedDocument, byte[] cmsSignedData, DSSResourcesHandlerBuilder resourcesHandlerBuilder) This method replaces /Contents field value with a givencmsSignedData
binariesvoid
SignatureImageParameters.setImage
(DSSDocument image) Allows to set a custom image to display on a signature fieldModifierConstructorDescriptionDSSFileFont
(DSSDocument dssDocument) Constructor to load the font from DSSDocumentDSSFileFont
(DSSDocument dssDocument, float size) Constructor to load the font from DSSDocument with a size -
Uses of DSSDocument in eu.europa.esig.dss.pades.signature
Modifier and TypeMethodDescriptionPAdESService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters) This method allows to add a new signature field to an existing pdf documentPAdESService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, char[] passwordProtection) This method allows to add a new signature field to an encrypted pdf documentPAdESService.extendDocument
(DSSDocument toExtendDocument, PAdESSignatureParameters parameters) PAdESExtensionService.incorporateValidationData
(DSSDocument document) This method adds a DSS dictionary revision to the givendocument
without password-protection with the required validation data if needed and no VRI dictionary created.PAdESExtensionService.incorporateValidationData
(DSSDocument document, char[] passwordProtection) This method adds a DSS dictionary revision to the givendocument
protected by apasswordProtection
with the required validation data if needed, without VRI dictionary created.PAdESExtensionService.incorporateValidationData
(DSSDocument document, char[] passwordProtection, boolean includeVRIDict) This method adds a DSS dictionary revision to the givendocument
protected by apasswordProtection
with the required validation data if needed, and a VRI dictionary is defined.PAdESService.previewPageWithVisualSignature
(DSSDocument toSignDocument, PAdESSignatureParameters parameters) Returns a page preview with the visual signaturePAdESService.previewSignatureField
(DSSDocument toSignDocument, PAdESSignatureParameters parameters) Returns a preview of the signature fieldPAdESService.signDocument
(DSSDocument toSignDocument, PAdESSignatureParameters parameters, SignatureValue signatureValue) PAdESWithExternalCMSService.signDocument
(DSSDocument toSignDocument, PAdESSignatureParameters parameters, DSSDocument cmsDocument) This method embeds the provided externalcmsDocument
to a {code toSignDocument} within a new signature revision.PAdESService.timestamp
(DSSDocument toTimestampDocument, PAdESTimestampParameters parameters) Modifier and TypeMethodDescriptionPAdESService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters) This method allows to add a new signature field to an existing pdf documentPAdESService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, char[] passwordProtection) This method allows to add a new signature field to an encrypted pdf documentprotected DSSMessageDigest
PAdESService.computeDocumentDigest
(DSSDocument toSignDocument, PAdESSignatureParameters parameters) Computes digest of the document to be signedPAdESService.extendDocument
(DSSDocument toExtendDocument, PAdESSignatureParameters parameters) protected byte[]
PAdESService.generateCMSSignedData
(DSSDocument toSignDocument, PAdESSignatureParameters parameters, SignatureValue signatureValue) Generates the CMSSignedDataPAdESService.getAvailableSignatureFields
(DSSDocument document) This method returns not signed signature-fieldsPAdESService.getAvailableSignatureFields
(DSSDocument document, char[] passwordProtection) This method returns not signed signature-fields from an encrypted documentPAdESService.getContentTimestamp
(DSSDocument toSignDocument, PAdESSignatureParameters parameters) PAdESService.getDataToSign
(DSSDocument toSignDocument, PAdESSignatureParameters parameters) protected String
PAdESWithExternalCMSService.getFinalDocumentName
(DSSDocument originalFile, SignatureLevel level) Generates and returns a final name for the document to be createdPAdESWithExternalCMSService.getMessageDigest
(DSSDocument toSignDocument, PAdESSignatureParameters parameters) This method computes message-digest of the signature ByteRange to be used for CMS Signed Data creationPAdESExtensionService.incorporateValidationData
(DSSDocument document) This method adds a DSS dictionary revision to the givendocument
without password-protection with the required validation data if needed and no VRI dictionary created.PAdESExtensionService.incorporateValidationData
(DSSDocument document, char[] passwordProtection) This method adds a DSS dictionary revision to the givendocument
protected by apasswordProtection
with the required validation data if needed, without VRI dictionary created.PAdESExtensionService.incorporateValidationData
(DSSDocument document, char[] passwordProtection, boolean includeVRIDict) This method adds a DSS dictionary revision to the givendocument
protected by apasswordProtection
with the required validation data if needed, and a VRI dictionary is defined.boolean
PAdESWithExternalCMSService.isValidCMSSignedData
(DSSMessageDigest messageDigest, DSSDocument cms) This method verifies if thecms
is cryptographically validboolean
PAdESWithExternalCMSService.isValidPAdESBaselineCMSSignedData
(DSSMessageDigest messageDigest, DSSDocument cms) This method verifies if the givencms
signature is compliant for PAdES formatPAdESService.previewPageWithVisualSignature
(DSSDocument toSignDocument, PAdESSignatureParameters parameters) Returns a page preview with the visual signaturePAdESService.previewSignatureField
(DSSDocument toSignDocument, PAdESSignatureParameters parameters) Returns a preview of the signature fieldPAdESService.signDocument
(DSSDocument toSignDocument, PAdESSignatureParameters parameters, SignatureValue signatureValue) PAdESWithExternalCMSService.signDocument
(DSSDocument toSignDocument, PAdESSignatureParameters parameters, DSSDocument cmsDocument) This method embeds the provided externalcmsDocument
to a {code toSignDocument} within a new signature revision.PAdESService.timestamp
(DSSDocument toTimestampDocument, PAdESTimestampParameters parameters) -
Uses of DSSDocument in eu.europa.esig.dss.pades.timestamp
Modifier and TypeMethodDescriptionPAdESTimestampService.timestampDocument
(DSSDocument document, PAdESTimestampParameters params) Timestamp the documentModifier and TypeMethodDescriptionPAdESTimestampService.timestampDocument
(DSSDocument document, PAdESTimestampParameters params) Timestamp the document -
Uses of DSSDocument in eu.europa.esig.dss.pades.validation
Modifier and TypeClassDescriptionclass
Internal representation of a PDF document.Modifier and TypeMethodDescriptionPAdESSignature.getOriginalDocument()
protected DSSDocument
PAdESSignature.getSignerDocumentContent()
Modifier and TypeMethodDescriptionPDFDocumentAnalyzer.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionPDFDocumentAnalyzerFactory.create
(DSSDocument document) PDFDocumentValidatorFactory.create
(DSSDocument document) boolean
PDFDocumentAnalyzer.isSupported
(DSSDocument dssDocument) boolean
PDFDocumentAnalyzerFactory.isSupported
(DSSDocument document) boolean
PDFDocumentValidatorFactory.isSupported
(DSSDocument document) ModifierConstructorDescriptionPdfByteRangeDocument
(DSSDocument pdfDocument, ByteRange byteRange) Default constructorPDFDocumentAnalyzer
(DSSDocument document) The default constructor for PDFDocumentValidator.PDFDocumentValidator
(DSSDocument document) The default constructor for PDFDocumentValidator. -
Uses of DSSDocument in eu.europa.esig.dss.pades.validation.scope
ModifierConstructorDescriptionFullPdfByteRangeSignatureScope
(ByteRange byteRange, DSSDocument document) Default constructorPartialPdfByteRangeSignatureScope
(ByteRange byteRange, DSSDocument document) Default constructorprotected
PdfByteRangeSignatureScope
(String name, ByteRange byteRange, DSSDocument document) Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.pdf
Modifier and TypeMethodDescriptionAbstractPDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion) AbstractPDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd) PDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion) This method adds the DSS dictionary (Baseline-LT) to a document without password-protection and without VRI dictionary.PDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd) This method adds the DSS dictionary (Baseline-LT) to a password-protected document without inclusion of VRI dictionary.PDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd, boolean includeVRIDict) This method adds the DSS dictionary (Baseline-LT) to a password-protected document with a VRI dictionary if defined.AbstractPDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters) PDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters) This method allows to add a new signature field to an existing pdf documentPDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, char[] pwd) This method allows to add a new signature field to an existing encrypted pdf documentPdfCMSRevision.getPreviousRevision()
Gets PDF revision preceding to the current signature revisionPdfCMSRevision.getSignedData()
Gets the current signature revisionPdfSignatureCache.getToBeSignedDocument()
Gets ToBeSigned documentPDFSignatureService.previewPageWithVisualSignature
(DSSDocument toSignDocument, PAdESCommonParameters parameters) Returns a page preview with the visual signaturePDFSignatureService.previewSignatureField
(DSSDocument toSignDocument, PAdESCommonParameters parameters) Returns a preview of the signature fieldAbstractPDFSignatureService.sign
(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) PDFSignatureService.sign
(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) Signs a PDF documentprotected abstract DSSDocument
AbstractPDFSignatureService.signDocument
(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) This method creates a signed document from the originaltoSignDocument
, incorporating a new revision, enveloping the providedcmsSignedData
Modifier and TypeMethodDescriptionAbstractPDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion) AbstractPDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd) PDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion) This method adds the DSS dictionary (Baseline-LT) to a document without password-protection and without VRI dictionary.PDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd) This method adds the DSS dictionary (Baseline-LT) to a password-protected document without inclusion of VRI dictionary.PDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd, boolean includeVRIDict) This method adds the DSS dictionary (Baseline-LT) to a password-protected document with a VRI dictionary if defined.AbstractPDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters) PDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters) This method allows to add a new signature field to an existing pdf documentPDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, char[] pwd) This method allows to add a new signature field to an existing encrypted pdf documentprotected void
AbstractPDFSignatureService.analyzePdfModifications
(DSSDocument document, PdfCMSRevision pdfRevision, PdfDocumentReader finalRevisionReader, char[] pwd) This method performs a modification analysis for a single givenpdfRevision
void
AbstractPDFSignatureService.analyzePdfModifications
(DSSDocument document, List<AdvancedSignature> signatures, char[] pwd) void
PDFSignatureService.analyzePdfModifications
(DSSDocument document, List<AdvancedSignature> signatures, char[] pwd) Analyze the PDF revision and try to detect any modification (shadow attacks) for signaturesvoid
AbstractPDFSignatureService.analyzeTimestampPdfModifications
(DSSDocument document, List<TimestampToken> timestamps, char[] pwd) void
PDFSignatureService.analyzeTimestampPdfModifications
(DSSDocument document, List<TimestampToken> timestamps, char[] pwd) Analyze the PDF revision and try to detect any modification (shadow attacks) for PDf document timestampsprotected abstract DSSMessageDigest
AbstractPDFSignatureService.computeDigest
(DSSDocument toSignDocument, PAdESCommonParameters parameters) Computes digest on to be signed data computed on thetoSignDocument
respectively to the givenparameters
AbstractPDFSignatureService.getAvailableSignatureFields
(DSSDocument document) PDFSignatureService.getAvailableSignatureFields
(DSSDocument document) This method returns not signed signature-fieldsPDFSignatureService.getAvailableSignatureFields
(DSSDocument document, char[] pwd) Returns not-signed signature fields from an encrypted documentAbstractPDFSignatureService.getRevisions
(DSSDocument document, char[] pwd) PDFSignatureService.getRevisions
(DSSDocument document, char[] pwd) Retrieves revisions from a PDF documentprotected abstract PdfDocumentReader
AbstractPDFSignatureService.loadPdfDocumentReader
(DSSDocument dssDocument, char[] passwordProtection) LoadsPdfDocumentReader
instanceAbstractPDFSignatureService.messageDigest
(DSSDocument toSignDocument, PAdESCommonParameters parameters) PDFSignatureService.messageDigest
(DSSDocument toSignDocument, PAdESCommonParameters parameters) Returns the message-digest computed on PDF signature revision's ByteRangePDFSignatureService.previewPageWithVisualSignature
(DSSDocument toSignDocument, PAdESCommonParameters parameters) Returns a page preview with the visual signaturePDFSignatureService.previewSignatureField
(DSSDocument toSignDocument, PAdESCommonParameters parameters) Returns a preview of the signature fieldvoid
PdfSignatureCache.setToBeSignedDocument
(DSSDocument toBeSignedDocument) Sets ToBeSigned documentAbstractPDFSignatureService.sign
(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) PDFSignatureService.sign
(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) Signs a PDF documentprotected abstract DSSDocument
AbstractPDFSignatureService.signDocument
(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) This method creates a signed document from the originaltoSignDocument
, incorporating a new revision, enveloping the providedcmsSignedData
protected boolean
AbstractPDFSignatureService.validateByteRange
(ByteRange byteRange, DSSDocument document, byte[] cms) This method verifies the validity of /ByteRange field against the extracted from /Contents fieldcms
and the current pdfdocument
ModifierConstructorDescriptionprotected
PdfCMSRevision
(PdfSignatureDictionary signatureDictionary, List<PdfSignatureField> signatureFields, DSSDocument signedContent, DSSDocument previousRevision, boolean coverAllOriginalBytes) Default constructorPdfDocTimestampRevision
(PdfSignatureDictionary signatureDictionary, List<PdfSignatureField> timestampFields, DSSDocument signedContent, DSSDocument previousRevision, boolean coverCompleteRevision) Default constructor to create PdfDocTimestampInfoPdfSignatureRevision
(PdfSignatureDictionary signatureDictionary, PdfCompositeDssDictionary compositeDssDictionary, PdfDssDict dssDictionary, List<PdfSignatureField> signatureFields, DSSDocument signedContent, DSSDocument previousRevision, boolean coverCompleteRevision) Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.pdf.openpdf
Modifier and TypeMethodDescriptionITextPDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd, boolean includeVRIDict) ITextPDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, char[] pwd) ITextPDFSignatureService.previewPageWithVisualSignature
(DSSDocument toSignDocument, PAdESCommonParameters parameters) ITextPDFSignatureService.previewSignatureField
(DSSDocument toSignDocument, PAdESCommonParameters parameters) protected DSSDocument
ITextPDFSignatureService.signDocument
(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) Modifier and TypeMethodDescriptionITextPDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd, boolean includeVRIDict) ITextPDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, char[] pwd) protected DSSMessageDigest
ITextPDFSignatureService.computeDigest
(DSSDocument toSignDocument, PAdESCommonParameters parameters) ITextPDFSignatureService.getAvailableSignatureFields
(DSSDocument document, char[] pwd) protected PdfDocumentReader
ITextPDFSignatureService.loadPdfDocumentReader
(DSSDocument dssDocument, char[] passwordProtection) ITextPDFSignatureService.previewPageWithVisualSignature
(DSSDocument toSignDocument, PAdESCommonParameters parameters) ITextPDFSignatureService.previewSignatureField
(DSSDocument toSignDocument, PAdESCommonParameters parameters) protected DSSDocument
ITextPDFSignatureService.signDocument
(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) ModifierConstructorDescriptionITextDocumentReader
(DSSDocument dssDocument) Default constructor of the OpenPDF implementation of the ReaderITextDocumentReader
(DSSDocument dssDocument, byte[] passwordProtection) The OpenPDF implementation of the Reader -
Uses of DSSDocument in eu.europa.esig.dss.pdf.pdfbox
Modifier and TypeMethodDescriptionPdfBoxSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd, boolean includeVRIDict) PdfBoxSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, char[] pwd) static DSSDocument
PdfBoxUtils.generateScreenshot
(DSSDocument pdfDocument, char[] passwordProtection, int page) Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocument
PdfBoxUtils.generateScreenshot
(DSSDocument pdfDocument, char[] passwordProtection, int page, DSSResourcesHandler dssResourcesHandler) Generates a screenshot image of the specified page for the given PDF document using a providedeu.europa.esig.dss.signature.resources.DSSResourcesHandler
static DSSDocument
PdfBoxUtils.generateScreenshot
(DSSDocument pdfDocument, int page) Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocument
PdfBoxUtils.generateScreenshot
(DSSDocument pdfDocument, String passwordProtection, int page) Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocument
PdfBoxUtils.generateScreenshot
(DSSDocument pdfDocument, String passwordProtection, int page, DSSResourcesHandler dssResourcesHandler) Generates a screenshot image of the specified page for the given PDF document using a providedeu.europa.esig.dss.signature.resources.DSSResourcesHandler
static DSSDocument
PdfBoxUtils.generateSubtractionImage
(DSSDocument document1, char[] passwordDocument1, int pageDocument1, DSSDocument document2, char[] passwordDocument2, int pageDocument2) This method returns an image representing a subtraction result betweendocument1
anddocument2
for the defined pagesstatic DSSDocument
PdfBoxUtils.generateSubtractionImage
(DSSDocument document1, char[] passwordDocument1, int pageDocument1, DSSDocument document2, char[] passwordDocument2, int pageDocument2, DSSResourcesHandler dssResourcesHandler) This method returns an image representing a subtraction result betweendocument1
anddocument2
for the defined pages.static DSSDocument
PdfBoxUtils.generateSubtractionImage
(DSSDocument document1, DSSDocument document2, int page) This method returns an image representing a subtraction result betweendocument1
anddocument2
for the given page numberstatic DSSDocument
PdfBoxUtils.generateSubtractionImage
(DSSDocument document1, String passwordDocument1, int pageDocument1, DSSDocument document2, String passwordDocument2, int pageDocument2) This method returns an image representing a subtraction result betweendocument1
anddocument2
for the defined pagesstatic DSSDocument
PdfBoxUtils.generateSubtractionImage
(DSSDocument document1, String passwordDocument1, int pageDocument1, DSSDocument document2, String passwordDocument2, int pageDocument2, DSSResourcesHandler dssResourcesHandler) This method returns an image representing a subtraction result betweendocument1
anddocument2
for the defined pages.PdfBoxSignatureService.previewPageWithVisualSignature
(DSSDocument toSignDocument, PAdESCommonParameters parameters) PdfBoxSignatureService.previewSignatureField
(DSSDocument toSignDocument, PAdESCommonParameters parameters) protected DSSDocument
PdfBoxSignatureService.signDocument
(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) Modifier and TypeMethodDescriptionPdfBoxSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd, boolean includeVRIDict) PdfBoxSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, char[] pwd) protected DSSMessageDigest
PdfBoxSignatureService.computeDigest
(DSSDocument toSignDocument, PAdESCommonParameters parameters) static BufferedImage
PdfBoxUtils.generateBufferedImageScreenshot
(DSSDocument pdfDocument, char[] passwordProtection, int page) The method generates a BufferedImage for the specified page of the documentstatic BufferedImage
PdfBoxUtils.generateBufferedImageScreenshot
(DSSDocument pdfDocument, String passwordProtection, int page) The method generates a BufferedImage for the specified page of the document with String passwordstatic DSSDocument
PdfBoxUtils.generateScreenshot
(DSSDocument pdfDocument, char[] passwordProtection, int page) Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocument
PdfBoxUtils.generateScreenshot
(DSSDocument pdfDocument, char[] passwordProtection, int page, DSSResourcesHandler dssResourcesHandler) Generates a screenshot image of the specified page for the given PDF document using a providedeu.europa.esig.dss.signature.resources.DSSResourcesHandler
static DSSDocument
PdfBoxUtils.generateScreenshot
(DSSDocument pdfDocument, int page) Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocument
PdfBoxUtils.generateScreenshot
(DSSDocument pdfDocument, String passwordProtection, int page) Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocument
PdfBoxUtils.generateScreenshot
(DSSDocument pdfDocument, String passwordProtection, int page, DSSResourcesHandler dssResourcesHandler) Generates a screenshot image of the specified page for the given PDF document using a providedeu.europa.esig.dss.signature.resources.DSSResourcesHandler
static DSSDocument
PdfBoxUtils.generateSubtractionImage
(DSSDocument document1, char[] passwordDocument1, int pageDocument1, DSSDocument document2, char[] passwordDocument2, int pageDocument2) This method returns an image representing a subtraction result betweendocument1
anddocument2
for the defined pagesstatic DSSDocument
PdfBoxUtils.generateSubtractionImage
(DSSDocument document1, char[] passwordDocument1, int pageDocument1, DSSDocument document2, char[] passwordDocument2, int pageDocument2, DSSResourcesHandler dssResourcesHandler) This method returns an image representing a subtraction result betweendocument1
anddocument2
for the defined pages.static DSSDocument
PdfBoxUtils.generateSubtractionImage
(DSSDocument document1, DSSDocument document2, int page) This method returns an image representing a subtraction result betweendocument1
anddocument2
for the given page numberstatic DSSDocument
PdfBoxUtils.generateSubtractionImage
(DSSDocument document1, String passwordDocument1, int pageDocument1, DSSDocument document2, String passwordDocument2, int pageDocument2) This method returns an image representing a subtraction result betweendocument1
anddocument2
for the defined pagesstatic DSSDocument
PdfBoxUtils.generateSubtractionImage
(DSSDocument document1, String passwordDocument1, int pageDocument1, DSSDocument document2, String passwordDocument2, int pageDocument2, DSSResourcesHandler dssResourcesHandler) This method returns an image representing a subtraction result betweendocument1
anddocument2
for the defined pages.PdfBoxSignatureService.getAvailableSignatureFields
(DSSDocument document, char[] pwd) protected PdfDocumentReader
PdfBoxSignatureService.loadPdfDocumentReader
(DSSDocument dssDocument, char[] passwordProtection) PdfBoxSignatureService.previewPageWithVisualSignature
(DSSDocument toSignDocument, PAdESCommonParameters parameters) PdfBoxSignatureService.previewSignatureField
(DSSDocument toSignDocument, PAdESCommonParameters parameters) protected DSSDocument
PdfBoxSignatureService.signDocument
(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) ModifierConstructorDescriptionPdfBoxDocumentReader
(DSSDocument dssDocument) Default constructor of the PDFBox implementation of the ReaderPdfBoxDocumentReader
(DSSDocument dssDocument, String passwordProtection) The PDFBox implementation of the Reader -
Uses of DSSDocument in eu.europa.esig.dss.pdf.pdfbox.visible.defaultdrawer
Modifier and TypeMethodDescriptionstatic BufferedImage
DefaultImageDrawerUtils.toBufferedImage
(DSSDocument imageDocument) Reads and converts the given image document to aBufferedImage
-
Uses of DSSDocument in eu.europa.esig.dss.pdf.visible
Modifier and TypeMethodDescriptionstatic DSSDocument
ImageUtils.toDSSDocument
(BufferedImage bufferedImage) Transforms aBufferedImage
toDSSDocument
using in memory processingstatic DSSDocument
ImageUtils.toDSSDocument
(BufferedImage bufferedImage, DSSResourcesHandler dssResourcesHandler) Transforms aBufferedImage
toDSSDocument
, using a providedDSSResourcesHandler
Modifier and TypeMethodDescriptionstatic AnnotationBox
ImageUtils.getImageBoundaryBox
(DSSDocument imageDocument) Returns the AnnotationBox for the given image documentstatic ImageResolution
ImageUtils.readDisplayMetadata
(DSSDocument image) Reads image's metadatastatic BufferedImage
ImageUtils.toBufferedImage
(DSSDocument imageDocument) Reads the image document and returns aBufferedImage
-
Uses of DSSDocument in eu.europa.esig.dss.pdfa
Modifier and TypeMethodDescriptionPDFAStructureValidator.validate
(DSSDocument signedDocument) This method validates a PDF/A structure for the given PDF document -
Uses of DSSDocument in eu.europa.esig.dss.pdfa.validation
Modifier and TypeMethodDescriptionPDFADocumentAnalyzerFactory.create
(DSSDocument document) PDFADocumentValidatorFactory.create
(DSSDocument document) boolean
PDFADocumentAnalyzerFactory.isSupported
(DSSDocument document) boolean
PDFADocumentValidatorFactory.isSupported
(DSSDocument document) ModifierConstructorDescriptionPDFADocumentAnalyzer
(DSSDocument document) The default constructor for PDFADocumentValidator.PDFADocumentValidator
(DSSDocument document) The default constructor for PDFADocumentValidator. -
Uses of DSSDocument in eu.europa.esig.dss.service.http.commons
Modifier and TypeMethodDescriptionFileCacheDataLoader.getDocument
(String url) FileCacheDataLoader.getDocument
(String url, boolean refresh) This method allows to download aDSSDocument
from a specifiedurl
with a custom setting indicating whether therefresh
of the document's cache shall be enforced, when applicableFileCacheDataLoader.getDocumentFromCache
(String url) Modifier and TypeMethodDescriptionvoid
CommonsDataLoader.setSslKeystore
(DSSDocument sslKeyStore) Sets the SSL KeyStorevoid
CommonsDataLoader.setSslTruststore
(DSSDocument sslTrustStore) Sets the SSL trust store NOTE: different from KeyStore! -
Uses of DSSDocument in eu.europa.esig.dss.signature
Modifier and TypeMethodDescriptionCounterSignatureService.counterSignSignature
(DSSDocument signatureDocument, CSP parameters, SignatureValue signatureValue) Counter-signs thesignatureDocument
with the provided signatureValue.DocumentSignatureService.extendDocument
(DSSDocument toExtendDocument, SP parameters) Extends the level of the signatures in thetoExtendDocument
MultipleDocumentsSignatureService.extendDocument
(DSSDocument toExtendDocument, SP parameters) Extends the level of the signatures in thetoExtendDocument
SignatureExtension.extendSignatures
(DSSDocument document, SP params) Extends the level of the signatures contained in a document.DocumentSignatureService.signDocument
(DSSDocument toSignDocument, SP parameters, SignatureValue signatureValue) Signs the toSignDocument with the provided signatureValue.MultipleDocumentsSignatureService.signDocument
(List<DSSDocument> toSignDocuments, SP parameters, SignatureValue signatureValue) Signs the toSignDocuments with the provided signatureValue.AbstractSignatureService.timestamp
(DSSDocument toTimestampDocument, TP parameters) DocumentSignatureService.timestamp
(DSSDocument toTimestampDocument, TP parameters) This method allows to add a timestamp to an unsigned documentMultipleDocumentsSignatureService.timestamp
(List<DSSDocument> toTimestampDocuments, TP parameters) Timestamps the toSignDocuments with the provided signatureValue.Modifier and TypeMethodDescriptionAbstractSignatureParameters.getDetachedContents()
This method returns the documents to sign.ProfileParameters.getDetachedContents()
Gets the detached contentsModifier and TypeMethodDescriptionCounterSignatureService.counterSignSignature
(DSSDocument signatureDocument, CSP parameters, SignatureValue signatureValue) Counter-signs thesignatureDocument
with the provided signatureValue.DocumentSignatureService.extendDocument
(DSSDocument toExtendDocument, SP parameters) Extends the level of the signatures in thetoExtendDocument
MultipleDocumentsSignatureService.extendDocument
(DSSDocument toExtendDocument, SP parameters) Extends the level of the signatures in thetoExtendDocument
SignatureExtension.extendSignatures
(DSSDocument document, SP params) Extends the level of the signatures contained in a document.DocumentSignatureService.getContentTimestamp
(DSSDocument toSignDocument, SP parameters) This method allows to compute a content-timestamp (which is added in the signed properties)CounterSignatureService.getDataToBeCounterSigned
(DSSDocument signatureDocument, CSP parameters) Retrieves the bytes of the data that need to be counter-signed fromsignatureDocument
.DocumentSignatureService.getDataToSign
(DSSDocument toSignDocument, SP parameters) Retrieves the bytes of the data that need to be signed based on thetoSignDocument
andparameters
.protected String
AbstractSignatureService.getFinalDocumentName
(DSSDocument originalFile, SigningOperation operation, SignatureLevel level, MimeType containerMimeType) Generates and returns a final name for the document to createprotected String
AbstractSignatureService.getFinalDocumentName
(DSSDocument originalFile, SigningOperation operation, SignatureLevel level, SignaturePackaging packaging, MimeType containerMimeType) Generates and returns a final name for the document to createprotected String
AbstractSignatureService.getFinalFileName
(DSSDocument originalFile, SigningOperation operation) Returns the final name for the document to createprotected String
AbstractSignatureService.getFinalFileName
(DSSDocument originalFile, SigningOperation operation, SignatureLevel level) Returns the final name for the document to createprotected String
AbstractSignatureService.getFinalFileName
(DSSDocument originalFile, SigningOperation operation, SignatureLevel level, SignaturePackaging packaging) Returns the final name for the document to createDocumentSignatureService.signDocument
(DSSDocument toSignDocument, SP parameters, SignatureValue signatureValue) Signs the toSignDocument with the provided signatureValue.AbstractSignatureService.timestamp
(DSSDocument toTimestampDocument, TP parameters) DocumentSignatureService.timestamp
(DSSDocument toTimestampDocument, TP parameters) This method allows to add a timestamp to an unsigned documentModifier and TypeMethodDescriptionMultipleDocumentsSignatureService.getContentTimestamp
(List<DSSDocument> toSignDocuments, SP parameters) Creates a content-timestamp attribute (to be include in the signed-data)MultipleDocumentsSignatureService.getDataToSign
(List<DSSDocument> toSignDocuments, SP parameters) Retrieves the bytes of the data that need to be signed based on thetoSignDocuments
andparameters
.void
AbstractSignatureParameters.setDetachedContents
(List<DSSDocument> detachedContents) When signing this method is internally invoked by theAbstractSignatureService
and the related variabledetachedContent
is overwritten by the service parameter.void
ProfileParameters.setDetachedContents
(List<DSSDocument> detachedContents) Sets the detached contentsMultipleDocumentsSignatureService.signDocument
(List<DSSDocument> toSignDocuments, SP parameters, SignatureValue signatureValue) Signs the toSignDocuments with the provided signatureValue.MultipleDocumentsSignatureService.timestamp
(List<DSSDocument> toTimestampDocuments, TP parameters) Timestamps the toSignDocuments with the provided signatureValue. -
Uses of DSSDocument in eu.europa.esig.dss.signature.resources
Modifier and TypeMethodDescriptionDSSResourcesHandler.writeToDSSDocument()
This method creates a newDSSDocument
representing a signed document, based on the createdOutputStream
.InMemoryResourcesHandler.writeToDSSDocument()
TempFileResourcesHandler.writeToDSSDocument()
-
Uses of DSSDocument in eu.europa.esig.dss.spi
Modifier and TypeMethodDescriptionstatic DSSDocument
DSSUtils.getDocumentWithLastName
(List<DSSDocument> documents) Returns the last document in the alphabetical ascendant orderstatic DSSDocument
DSSUtils.getDocumentWithName
(List<DSSDocument> documents, String fileName) Returns a document with the givenfileName
from the list ofdocuments
, when presentstatic DSSDocument
DSSUtils.splitDocument
(DSSDocument origin, int start, int end) This method create a new document from a sub-part of another documentModifier and TypeMethodDescriptionstatic byte[]
DSSUtils.digest
(DigestAlgorithm digestAlgorithm, DSSDocument document) Computes the digests for thedocument
static Digest
DSSUtils.getDigest
(DigestAlgorithm digestAlgo, DSSDocument dssDocument) ReturnsDigest
of thedssDocument
static long
DSSUtils.getFileByteSize
(DSSDocument dssDocument) Returns byte size of the given documentstatic boolean
DSSUtils.isEmpty
(DSSDocument document) This method verifies if the document is empty (does not have body)static boolean
DSSUtils.isTimestampToken
(DSSDocument document) Checks if the document contains a TimeStampTokenstatic long
DSSUtils.readAvailableBytes
(DSSDocument dssDocument, byte[] b) Read the requested number of bytes fromDSSDocument
according to the size of the providedbyte
[] buffer and validates success of the operationstatic byte
DSSUtils.readFirstByte
(DSSDocument dssDocument) Reads the first byte from the DSSDocumentstatic DSSDocument
DSSUtils.splitDocument
(DSSDocument origin, int start, int end) This method create a new document from a sub-part of another documentstatic byte[]
DSSUtils.toByteArray
(DSSDocument document) Get the contents of anDSSDocument
as abyte[]
.static org.bouncycastle.cms.CMSSignedData
DSSUtils.toCMSSignedData
(DSSDocument document) Gets CMSSignedData from thedocument
bytesModifier and TypeMethodDescriptionDSSUtils.getDocumentNames
(List<DSSDocument> dssDocuments) Returns a list of document names from the given document liststatic DSSDocument
DSSUtils.getDocumentWithLastName
(List<DSSDocument> documents) Returns the last document in the alphabetical ascendant orderstatic DSSDocument
DSSUtils.getDocumentWithName
(List<DSSDocument> documents, String fileName) Returns a document with the givenfileName
from the list ofdocuments
, when present -
Uses of DSSDocument in eu.europa.esig.dss.spi.client.http
Modifier and TypeMethodDescriptionDSSCacheFileLoader.getDocument
(String url, boolean refresh) This method allows to download aDSSDocument
from a specifiedurl
with a custom setting indicating whether therefresh
of the document's cache shall be enforced, when applicableDSSFileLoader.getDocument
(String url) Returns DSSDocument from the provided urlDSSCacheFileLoader.getDocumentFromCache
(String url) Allows to load a document for a given url from the cache folder. -
Uses of DSSDocument in eu.europa.esig.dss.spi.policy
Modifier and TypeMethodDescriptionSignaturePolicyProvider.getSignaturePolicy
(String policyId, String url) Gets signature policy by all available ways (id and uri)SignaturePolicyProvider.getSignaturePolicyById
(String policyId) Gets a signature policy document with the correspondingpolicyId
fromsignaturePoliciesById
mapSignaturePolicyProvider.getSignaturePolicyByUrl
(String url) Gets a signature policy document with the correspondingurl
fromsignaturePoliciesByUrl
map, if not found, retrieved the data fromurl
withdataLoader
Modifier and TypeMethodDescriptionAbstractSignaturePolicyValidator.getComputedDigest
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) BasicASN1SignaturePolicyValidator.getComputedDigest
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) SignaturePolicyValidator.getComputedDigest
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) ReturnsDigest
on the computed SignaturePolicy's contentZeroHashSignaturePolicyValidator.getComputedDigest
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) Modifier and TypeMethodDescriptionvoid
SignaturePolicyProvider.setSignaturePoliciesById
(Map<String, DSSDocument> signaturePoliciesById) Sets the map of signature policy documents to retrieve by IDsvoid
SignaturePolicyProvider.setSignaturePoliciesByUrl
(Map<String, DSSDocument> signaturePoliciesByUrl) Sets the map of signature policy documents to retrieve by URLs -
Uses of DSSDocument in eu.europa.esig.dss.spi.signature
Modifier and TypeFieldDescriptionprotected List
<DSSDocument> DefaultAdvancedSignature.detachedContents
In case of a detached signature this is the signed document.Modifier and TypeMethodDescriptionAdvancedSignature.getContainerContents()
Returns container's contentDefaultAdvancedSignature.getContainerContents()
AdvancedSignature.getDetachedContents()
Returns detached contentsDefaultAdvancedSignature.getDetachedContents()
Modifier and TypeMethodDescriptionvoid
AdvancedSignature.setContainerContents
(List<DSSDocument> containerContents) This method allows to set the archive container contents in the case of ASiC-S signature.void
DefaultAdvancedSignature.setContainerContents
(List<DSSDocument> containerContents) void
AdvancedSignature.setDetachedContents
(List<DSSDocument> detachedContents) This method allows to set the signed contents in the case of the detached signature.void
DefaultAdvancedSignature.setDetachedContents
(List<DSSDocument> detachedContents) -
Uses of DSSDocument in eu.europa.esig.dss.spi.validation.analyzer
Modifier and TypeFieldDescriptionprotected DSSDocument
DefaultDocumentAnalyzer.document
The document to be validated (with the signature(s) or timestamp(s))Modifier and TypeFieldDescriptionprotected List
<DSSDocument> DefaultDocumentAnalyzer.containerContents
In case of an ASiC signature thisList
of container documents.protected List
<DSSDocument> DefaultDocumentAnalyzer.detachedContents
In case of a detached signature thisList
contains the signed documents.protected List
<DSSDocument> DefaultDocumentAnalyzer.detachedEvidenceRecordDocuments
Contains a list of evidence record documents detached from the signatureModifier and TypeMethodDescriptionDefaultDocumentAnalyzer.getDocument()
DocumentAnalyzer.getDocument()
Gets document to be validatedModifier and TypeMethodDescriptionDefaultDocumentAnalyzer.getOriginalDocuments
(String signatureId) DocumentAnalyzer.getOriginalDocuments
(AdvancedSignature advancedSignature) This method returns the signed document(s) without their signature(s)DocumentAnalyzer.getOriginalDocuments
(String signatureId) This method returns the signed document(s) without their signature(s)Modifier and TypeMethodDescriptionprotected EvidenceRecord
DefaultDocumentAnalyzer.buildEvidenceRecord
(DSSDocument evidenceRecordDocument) Builds an evidence record from the givenDSSDocument
DocumentAnalyzerFactory.create
(DSSDocument document) This method instantiates aDocumentAnalyzer
with the given documentstatic DocumentAnalyzer
DefaultDocumentAnalyzer.fromDocument
(DSSDocument dssDocument) This method guesses the document format and returns an appropriate document reader.boolean
DocumentAnalyzer.isSupported
(DSSDocument dssDocument) Checks if the document is supported by the current validatorboolean
DocumentAnalyzerFactory.isSupported
(DSSDocument document) This method tests if the current implementation ofDocumentAnalyzer
supports the given documentModifier and TypeMethodDescriptionvoid
DefaultDocumentAnalyzer.setContainerContents
(List<DSSDocument> containerContents) void
DocumentAnalyzer.setContainerContents
(List<DSSDocument> archiveContents) Sets theList
ofDSSDocument
containing the original container content for ASiC-S signatures.void
DefaultDocumentAnalyzer.setDetachedContents
(List<DSSDocument> detachedContents) void
DocumentAnalyzer.setDetachedContents
(List<DSSDocument> detachedContent) Sets theList
ofDSSDocument
containing the original contents to sign, for detached signature scenarios.void
DefaultDocumentAnalyzer.setDetachedEvidenceRecordDocuments
(List<DSSDocument> detachedEvidenceRecordDocuments) void
DocumentAnalyzer.setDetachedEvidenceRecordDocuments
(List<DSSDocument> detachedEvidenceRecordDocuments) Sets aList
ofDSSDocument
containing the evidence record documents covering the signature document. -
Uses of DSSDocument in eu.europa.esig.dss.spi.validation.analyzer.evidencerecord
Modifier and TypeMethodDescriptionEvidenceRecordAnalyzerFactory.create
(DSSDocument document) This method instantiates aEvidenceRecordAnalyzer
with the given documentstatic EvidenceRecordAnalyzer
EvidenceRecordAnalyzerFactory.fromDocument
(DSSDocument document) Creates anEvidenceRecordValidator
by loading a corresponding implementation, acrossEvidenceRecordValidatorFactory
instances found by ServiceLoader.boolean
EvidenceRecordAnalyzerFactory.isSupported
(DSSDocument document) This method tests if the current implementation ofEvidenceRecordAnalyzer
supports the given documentstatic boolean
EvidenceRecordAnalyzerFactory.isSupportedDocument
(DSSDocument document) Verifies if thedocument
is supported by one of the implementations, acrossEvidenceRecordValidatorFactory
instances found by ServiceLoader. -
Uses of DSSDocument in eu.europa.esig.dss.spi.validation.analyzer.timestamp
Modifier and TypeMethodDescriptionTimestampAnalyzer.getTimestampedData()
Returns the timestamped data -
Uses of DSSDocument in eu.europa.esig.dss.spi.validation.evidencerecord
Modifier and TypeFieldDescriptionprotected final DSSDocument
AbstractSignatureEvidenceRecordDigestBuilder.signatureDocument
Signature document to compute hash value forModifier and TypeMethodDescriptionprotected Digest
AbstractSignatureEvidenceRecordDigestBuilder.getDigest
(DSSDocument document) Returns digest of the given documentModifierConstructorDescriptionprotected
AbstractSignatureEvidenceRecordDigestBuilder
(DSSDocument signatureDocument) Default constructor to instantiate builder with a SHA-256 digest algorithmprotected
AbstractSignatureEvidenceRecordDigestBuilder
(DSSDocument signatureDocument, DigestAlgorithm digestAlgorithm) Constructor to instantiate builder with a custom digest algorithm -
Uses of DSSDocument in eu.europa.esig.dss.spi.validation.scope
Modifier and TypeFieldDescriptionprotected DSSDocument
DetachedTimestampScopeFinder.timestampedData
The data used to for message-imprint computation of a timestamp tokenModifier and TypeMethodDescriptionprotected DSSDocument
AbstractSignatureScopeFinder.createDigestDocument
(Digest digest) Creates aDSSDocument
from givendigest
protected DSSDocument
AbstractSignatureScopeFinder.createInMemoryDocument
(byte[] binaries) Creates aDSSDocument
from givenbinaries
Modifier and TypeMethodDescriptionprotected List
<SignatureScope> DetachedTimestampScopeFinder.getTimestampSignatureScopeForDocument
(DSSDocument document) Returns a timestampedSignatureScope
for the given documentvoid
DetachedTimestampScopeFinder.setTimestampedData
(DSSDocument timestampedData) Sets the timestamped dataModifierConstructorDescriptionContainerContentSignatureScope
(DSSDocument document) Default constructorContainerSignatureScope
(DSSDocument document) Default constructorContainerSignatureScope
(String filename, DSSDocument document) Default constructorCounterSignatureScope
(AdvancedSignature masterSignature, DSSDocument originalDocument) Default constructorDigestSignatureScope
(String filename, DSSDocument digestDocument) Default constructor with a filenameFullSignatureScope
(String filename, DSSDocument document) Default constructorManifestSignatureScope
(String filename, DSSDocument document, List<String> transformations) Constructor with a list of XML transformations (to be used for XAdES only)protected
SignatureScopeWithTransformations
(DSSDocument document, List<String> transformations) Default constructor with a name extracted from a documentprotected
SignatureScopeWithTransformations
(String name, DSSDocument document, List<String> transformations) Default constructor with a name providedSignatureSignatureScope
(AdvancedSignature signature, DSSDocument document) Default constructor to create a signature scope -
Uses of DSSDocument in eu.europa.esig.dss.spi.x509
Modifier and TypeMethodDescriptionorg.bouncycastle.cms.CMSSignedData
CMSSignedDataBuilder.createCMSSignedData
(org.bouncycastle.cms.SignerInfoGenerator signerInfoGenerator, DSSDocument toSignDocument) Builds aCMSSignedData
protected org.bouncycastle.cms.CMSTypedData
CMSSignedDataBuilder.getContentToBeSigned
(DSSDocument toSignData) Returns the content to be signed -
Uses of DSSDocument in eu.europa.esig.dss.spi.x509.evidencerecord
-
Uses of DSSDocument in eu.europa.esig.dss.spi.x509.evidencerecord.digest
Modifier and TypeMethodDescriptionDataObjectDigestBuilderFactory.create
(DSSDocument document) Creates an instance ofDataObjectDigestBuilder
to build hash for thedocument
, according to the given implementation, using a default digest algorithmDataObjectDigestBuilderFactory.create
(DSSDocument document, DigestAlgorithm digestAlgorithm) Creates an instance ofDataObjectDigestBuilder
to build hash for thedocument
, according to the given implementation, using a provideddigestAlgorithm
-
Uses of DSSDocument in eu.europa.esig.dss.spi.x509.revocation.crl
ModifierConstructorDescriptionExternalResourcesCRLSource
(DSSDocument... dssDocuments) This constructor allows building of a CRL source from an array ofDSSDocument
s. -
Uses of DSSDocument in eu.europa.esig.dss.spi.x509.revocation.ocsp
ModifierConstructorDescriptionExternalResourcesOCSPSource
(DSSDocument... dssDocuments) This constructor loads the OCSP responses from an array ofDSSDocument
s. -
Uses of DSSDocument in eu.europa.esig.dss.spi.x509.tsp
Modifier and TypeMethodDescriptionboolean
TimestampToken.matchData
(DSSDocument timestampedData) Checks if theTimeStampToken
matches the signed data.boolean
TimestampToken.matchData
(DSSDocument timestampedData, boolean suppressMatchWarnings) Checks if theTimeStampToken
matches the signed data. -
Uses of DSSDocument in eu.europa.esig.dss.tsl.download
Modifier and TypeMethodDescriptionXmlDownloadResult.getDSSDocument()
Gets the downloaded documentModifierConstructorDescriptionXmlDownloadResult
(DSSDocument dssDocument, Digest digest) Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.tsl.dto
-
Uses of DSSDocument in eu.europa.esig.dss.tsl.parsing
ModifierConstructorDescriptionprotected
AbstractParsingTask
(DSSDocument document) Default constructorLOTLParsingTask
(DSSDocument document, LOTLSource lotlSource) The default constructorTLParsingTask
(DSSDocument document, TLSource tlSource) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.tsl.runnable
Modifier and TypeMethodDescriptionprotected DSSDocument
Downloads the document by urlPivotProcessingResult.getPivot()
Gets the pivot documentModifier and TypeMethodDescriptionprotected abstract AbstractParsingTask
<?> AbstractAnalysis.getParsingTask
(DSSDocument document) Returns the corresponding parsing task for the source on the given documentprotected AbstractParsingTask
<?> LOTLAnalysis.getParsingTask
(DSSDocument document) protected AbstractParsingTask
<?> PivotProcessing.getParsingTask
(DSSDocument document) protected AbstractParsingTask
<?> TLAnalysis.getParsingTask
(DSSDocument document) protected TLValidatorTask
AbstractAnalysis.getValidationTask
(DSSDocument document, CertificateSource certificateSource) Returns the corresponding validation task for the source on the given document using the provided certificate sourceprotected void
AbstractAnalysis.parsing
(DSSDocument document) Parses the documentprotected void
AbstractAnalysis.validation
(DSSDocument document, CertificateSource certificateSource) Validates the documentModifierConstructorDescriptionPivotProcessingResult
(DSSDocument pivot, CertificateSource certificateSource, String lotlLocation) Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.tsl.sha2
Modifier and TypeClassDescriptionclass
This class is used to represent a downloadedeu.europa.esig.dss.model.DSSDocument
with its corresponding ".sha2" fileModifier and TypeMethodDescriptionDocumentWithSha2.getDocument()
Gets the original documentSha2FileCacheDataLoader.getDocument
(String url) Sha2FileCacheDataLoader.getDocument
(String url, boolean refresh) Sha2FileCacheDataLoader.getDocumentFromCache
(String url) protected DSSDocument
Sha2FileCacheDataLoader.getRefreshedDocument
(String documentUrl) This method returns a document from cache, when applicable.DocumentWithSha2.getSha2Document()
Gets the downloaded sha2 document corresponding to thedocument
protected DSSDocument
Sha2FileCacheDataLoader.getSha2File
(String documentUrl) This method returns a sha2 file for the givendocumentUrl
.Modifier and TypeMethodDescriptionprotected Date
AbstractTrustedListWithSha2Predicate.getNextUpdate
(DSSDocument tlDocument) This method retrieves a NextUpdate date value from the provided Trusted List documentprotected Digest
AbstractTrustedListWithSha2Predicate.getOriginalDocumentDigest
(DSSDocument document) This method computesDigest
on the givenDSSDocument
's contentprotected Digest
AbstractTrustedListWithSha2Predicate.getSha2Digest
(DSSDocument sha2Document) This method parses thesha2Document
and returns theDigest
protected boolean
DefaultTrustedListWithSha2Predicate.isCacheExpired
(DSSDocument document) This method verifies whether the cache of thedocument
has expired.protected DocumentWithSha2
Sha2FileCacheDataLoader.mergeDocumentWithSha2
(DSSDocument cachedDocument, DSSDocument sha2Document) This class creates aeu.europa.esig.dss.tsl.sha2.DocumentWithSha2
object by merging acachedDocument
andsha2Document
togetherModifierConstructorDescriptionprotected
DocumentWithSha2
(DSSDocument document, DSSDocument sha2Document) Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.tsl.validation
ModifierConstructorDescriptionTLValidatorTask
(DSSDocument trustedList, CertificateSource certificateSource) Constructor used to instantiate a validator for a trusted list -
Uses of DSSDocument in eu.europa.esig.dss.validation
Modifier and TypeMethodDescriptionDocumentValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) This method returns the signed document(s) without their signature(s)DocumentValidator.getOriginalDocuments
(String signatureId) This method returns the signed document(s) without their signature(s)SignedDocumentValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) SignedDocumentValidator.getOriginalDocuments
(String signatureId) Modifier and TypeMethodDescriptionDocumentValidatorFactory.create
(DSSDocument document) This method instantiates aDocumentValidator
with the given documentstatic SignedDocumentValidator
SignedDocumentValidator.fromDocument
(DSSDocument dssDocument) This method guesses the document format and returns an appropriate document validator.boolean
DocumentValidatorFactory.isSupported
(DSSDocument document) This method tests if the current implementation ofDocumentValidator
supports the given documentboolean
SignedDocumentValidator.isSupported
(DSSDocument dssDocument) Checks if the document is supported by the current validatorDocumentValidator.validateDocument
(DSSDocument policyDocument) Validates the document and all its signatures.SignedDocumentValidator.validateDocument
(DSSDocument policyDocument) Modifier and TypeMethodDescriptionvoid
DocumentValidator.setContainerContents
(List<DSSDocument> archiveContents) Sets theList
ofDSSDocument
containing the original container content for ASiC-S signatures.void
SignedDocumentValidator.setContainerContents
(List<DSSDocument> containerContents) void
DocumentValidator.setDetachedContents
(List<DSSDocument> detachedContent) Sets theList
ofDSSDocument
containing the original contents to sign, for detached signature scenarios.void
SignedDocumentValidator.setDetachedContents
(List<DSSDocument> detachedContents) void
DocumentValidator.setDetachedEvidenceRecordDocuments
(List<DSSDocument> detachedEvidenceRecordDocuments) Sets aList
ofDSSDocument
containing the evidence record documents covering the signature document.void
SignedDocumentValidator.setDetachedEvidenceRecordDocuments
(List<DSSDocument> detachedEvidenceRecordDocuments) -
Uses of DSSDocument in eu.europa.esig.dss.validation.reports.diagnostic
Modifier and TypeFieldDescriptionprotected DSSDocument
SignedDocumentDiagnosticDataBuilder.signedDocument
The signed documentModifier and TypeMethodDescriptionSignedDocumentDiagnosticDataBuilder.document
(DSSDocument signedDocument) This method allows to set the document which is analysedXmlDiagnosticDataFactory.setDocument
(DSSDocument document) Sets original document to be validated -
Uses of DSSDocument in eu.europa.esig.dss.validation.timestamp
Modifier and TypeMethodDescriptionDetachedTimestampAnalyzer.getTimestampedData()
DetachedTimestampValidator.getTimestampedData()
TimestampValidator.getTimestampedData()
Returns the timestamped dataModifier and TypeMethodDescriptionDetachedTimestampAnalyzer.getOriginalDocuments
(AdvancedSignature advancedSignature) DetachedTimestampAnalyzer.getOriginalDocuments
(String signatureId) DetachedTimestampValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) DetachedTimestampValidator.getOriginalDocuments
(String signatureId) Modifier and TypeMethodDescriptionDetachedTimestampAnalyzerFactory.create
(DSSDocument document) DetachedTimestampValidatorFactory.create
(DSSDocument document) boolean
DetachedTimestampAnalyzer.isSupported
(DSSDocument dssDocument) boolean
DetachedTimestampAnalyzerFactory.isSupported
(DSSDocument document) boolean
DetachedTimestampValidatorFactory.isSupported
(DSSDocument document) void
DetachedTimestampAnalyzer.setTimestampedData
(DSSDocument document) Sets the data that has been timestampedvoid
DetachedTimestampValidator.setTimestampedData
(DSSDocument document) Sets the data that has been timestampedModifierConstructorDescriptionDetachedTimestampAnalyzer
(DSSDocument timestampFile) The default constructorDetachedTimestampAnalyzer
(DSSDocument timestampFile, TimestampType timestampType) The default constructor with a typeDetachedTimestampValidator
(DSSDocument timestampFile) The default constructorDetachedTimestampValidator
(DSSDocument timestampFile, TimestampType timestampType) The default constructor with a type -
Uses of DSSDocument in eu.europa.esig.dss.ws.converter
Modifier and TypeMethodDescriptionstatic DSSDocument
RemoteDocumentConverter.toDSSDocument
(RemoteDocument remoteDocument) Converts the givenRemoteDocument
to aDSSDocument
Modifier and TypeMethodDescriptionstatic List
<DSSDocument> RemoteDocumentConverter.toDSSDocuments
(List<RemoteDocument> remoteDocuments) Converts the given list ofremoteDocuments
to a list ofDSSDocument
sModifier and TypeMethodDescriptionstatic RemoteDocument
RemoteDocumentConverter.toRemoteDocument
(DSSDocument originalDocument) Converts the givenDSSDocument
to aRemoteDocument
Modifier and TypeMethodDescriptionstatic List
<RemoteDocument> RemoteDocumentConverter.toRemoteDocuments
(List<DSSDocument> originalDocuments) Converts the given list oforiginalDocuments
to a list ofRemoteDocument
s -
Uses of DSSDocument in eu.europa.esig.dss.xades
Modifier and TypeMethodDescriptionDSSObject.getContent()
Gets the content of the ds:Object element to be createdSignatureBuilder.signDocument
(byte[] signatureValue) Signs a documentSignatureProfile.signDocument
(DSSDocument toSignDocument, XAdESSignatureParameters parameters, byte[] signatureValue) Creates a signature of the defines profileModifier and TypeMethodDescriptionstatic List
<DSSDocument> XAdESSignatureUtils.getSignerDocuments
(XAdESSignature signature) Returns list of original signed documentsModifier and TypeMethodDescriptionstatic byte[]
DSSXMLUtils.applyTransforms
(DSSDocument document, List<DSSTransform> transforms) Applies transforms on document content and returns the byte array to be used for a digest computation NOTE: returns the original document binaries, if the list oftransforms
is empty.static boolean
DSSXMLUtils.isDuplicateIdsDetected
(DSSDocument doc) This method is used to detect duplicate id valuesvoid
DSSObject.setContent
(DSSDocument content) Sets the content of ds:Object element to be created Can be XML or any other format (e.g. base64 encoded)void
XAdESSignatureParameters.setRootDocument
(DSSDocument rootDocument) Sets the root XML document for a signature creation.SignatureProfile.signDocument
(DSSDocument toSignDocument, XAdESSignatureParameters parameters, byte[] signatureValue) Creates a signature of the defines profileModifier and TypeMethodDescriptionstatic void
DSSXMLUtils.initManifestDetachedContent
(org.apache.xml.security.signature.Manifest manifest, List<DSSDocument> detachedContents) Initializes detached content within the givenmanifest
static org.apache.xml.security.signature.Manifest
DSSXMLUtils.initManifestWithDetachedContent
(Element manifestElement, List<DSSDocument> detachedContents) Initializes a Manifest object from the provided ds:Manifest element with a provideddetachedContents
ModifierConstructorDescriptionTrustedListSignatureParametersBuilder
(CertificateToken signingCertificate, DSSDocument tlXmlDocument) The constructor to build Signature Parameters for a Trusted List signing with respect to ETSI TS 119 612 -
Uses of DSSDocument in eu.europa.esig.dss.xades.evidencerecord
Modifier and TypeMethodDescriptionXAdESEvidenceRecordDigestBuilder.setDetachedContent
(List<DSSDocument> detachedContent) Sets a list of detached documents covered by the signatureModifierConstructorDescriptionXAdESEvidenceRecordDigestBuilder
(DSSDocument signatureDocument) Default constructor to instantiate XAdESEvidenceRecordDigestBuilder with a SHA-256 digest algorithmXAdESEvidenceRecordDigestBuilder
(DSSDocument signatureDocument, DigestAlgorithm digestAlgorithm) Constructor to instantiate XAdESEvidenceRecordDigestBuilder with a custom digest algorithm -
Uses of DSSDocument in eu.europa.esig.dss.xades.reference
Modifier and TypeMethodDescriptionDSSReference.getContents()
Gets the original referenced document contentReferenceProcessor.getReferenceOutput
(DSSReference reference) Returns an output content after processing the givenDSSReference
Modifier and TypeMethodDescriptionvoid
DSSReference.setContents
(DSSDocument contents) Sets the original referenced document contentModifierConstructorDescriptionReferenceBuilder
(List<DSSDocument> documents, DigestAlgorithm digestAlgorithm, ReferenceIdProvider referenceIdProvider) The default constructor for a detached references creationReferenceBuilder
(List<DSSDocument> documents, XAdESSignatureParameters xadesSignatureParameters, ReferenceIdProvider referenceIdProvider) The default constructor for a signature references creation -
Uses of DSSDocument in eu.europa.esig.dss.xades.signature
Modifier and TypeFieldDescriptionprotected DSSDocument
XAdESSignatureBuilder.document
This is the reference to the original document to signModifier and TypeMethodDescriptionSignaturePolicyStoreBuilder.addSignaturePolicyStore
(DSSDocument signatureDocument, SignaturePolicyStore signaturePolicyStore) Adds a signaturePolicyStore to all signatures inside the document, matching the incorporated signature policySignaturePolicyStoreBuilder.addSignaturePolicyStore
(DSSDocument signatureDocument, SignaturePolicyStore signaturePolicyStore, String signatureId) Adds a signaturePolicyStore to a signature with the givensignatureId
, if the signature policy identifier matches the policy provided withinSignaturePolicyStore
XAdESService.addSignaturePolicyStore
(DSSDocument document, SignaturePolicyStore signaturePolicyStore) Incorporates a Signature Policy Store as an unsigned property into the XAdES SignatureManifestBuilder.build()
Builds the ManifestCounterSignatureBuilder.buildEmbeddedCounterSignature
(DSSDocument signatureDocument, DSSDocument counterSignature, XAdESCounterSignatureParameters parameters) Embeds and returns the embedded counter signature into the UnsignedProperties of original XAdES signatureXAdESService.counterSignSignature
(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters, SignatureValue signatureValue) protected DSSDocument
XAdESBuilder.createXmlDocument()
CreatesDSSDocument
from the current documentDomXAdESService.extendDocument
(DSSDocument toExtendDocument, XAdESSignatureParameters parameters) XAdESLevelBaselineT.extendSignatures
(DSSDocument dssDocument, XAdESSignatureParameters params) CounterSignatureBuilder.getCanonicalizedSignatureValue
(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters) Extract a canonicalized SignatureValue element from the provided XAdES signatureXAdESLevelBaselineB.signDocument
(DSSDocument document, XAdESSignatureParameters parameters, byte[] signatureValue) Adds the signature value to the signature.XAdESService.signDocument
(DSSDocument toSignDocument, XAdESSignatureParameters parameters, SignatureValue signatureValue) XAdESService.signDocument
(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters, SignatureValue signatureValue) XAdESSignatureBuilder.signDocument
(byte[] signatureValue) Adds signature value to the signature and returns XML signature (InMemoryDocument)XAdESService.timestamp
(List<DSSDocument> toTimestampDocuments, XAdESTimestampParameters parameters) Modifier and TypeMethodDescriptionSignaturePolicyStoreBuilder.addSignaturePolicyStore
(DSSDocument signatureDocument, SignaturePolicyStore signaturePolicyStore) Adds a signaturePolicyStore to all signatures inside the document, matching the incorporated signature policySignaturePolicyStoreBuilder.addSignaturePolicyStore
(DSSDocument signatureDocument, SignaturePolicyStore signaturePolicyStore, String signatureId) Adds a signaturePolicyStore to a signature with the givensignatureId
, if the signature policy identifier matches the policy provided withinSignaturePolicyStore
XAdESService.addSignaturePolicyStore
(DSSDocument document, SignaturePolicyStore signaturePolicyStore) Incorporates a Signature Policy Store as an unsigned property into the XAdES SignatureAllDataObjectsTimeStampBuilder.build
(DSSDocument document) Builds a message-imprint from the given document and generates a timestampCounterSignatureBuilder.buildCounterSignatureDSSReference
(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters) The method builds aDSSReference
for a SignatureValue to counter signCounterSignatureBuilder.buildEmbeddedCounterSignature
(DSSDocument signatureDocument, DSSDocument counterSignature, XAdESCounterSignatureParameters parameters) Embeds and returns the embedded counter signature into the UnsignedProperties of original XAdES signatureXAdESService.counterSignSignature
(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters, SignatureValue signatureValue) XAdESService.extendDocument
(DSSDocument toExtendDocument, XAdESSignatureParameters parameters) XAdESLevelBaselineT.extendSignatures
(DSSDocument dssDocument, XAdESSignatureParameters params) CounterSignatureBuilder.getCanonicalizedSignatureValue
(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters) Extract a canonicalized SignatureValue element from the provided XAdES signatureXAdESService.getContentTimestamp
(DSSDocument toSignDocument, XAdESSignatureParameters parameters) XAdESService.getDataToBeCounterSigned
(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters) byte[]
XAdESLevelBaselineB.getDataToSign
(DSSDocument dssDocument, XAdESSignatureParameters parameters) Returns the canonicalized ds:SignedInfo XML segment under the form of InputStreamXAdESService.getDataToSign
(DSSDocument toSignDocument, XAdESSignatureParameters parameters) static XAdESSignatureBuilder
XAdESSignatureBuilder.getSignatureBuilder
(XAdESSignatureParameters params, DSSDocument document, CertificateVerifier certificateVerifier) Creates the signature according to the packagingXAdESLevelBaselineB.signDocument
(DSSDocument document, XAdESSignatureParameters parameters, byte[] signatureValue) Adds the signature value to the signature.XAdESService.signDocument
(DSSDocument toSignDocument, XAdESSignatureParameters parameters, SignatureValue signatureValue) Modifier and TypeMethodDescriptionAllDataObjectsTimeStampBuilder.build
(List<DSSDocument> documents) Timestamps the list of documentsXAdESService.getContentTimestamp
(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters) XAdESService.getDataToSign
(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters) XAdESService.signDocument
(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters, SignatureValue signatureValue) XAdESService.timestamp
(List<DSSDocument> toTimestampDocuments, XAdESTimestampParameters parameters) ModifierConstructorDescriptionprotected
XAdESSignatureBuilder
(XAdESSignatureParameters params, DSSDocument document, CertificateVerifier certificateVerifier) The default constructor for SignatureBuilder.protected
XPathPlacementSignatureBuilder
(XAdESSignatureParameters params, DSSDocument document, CertificateVerifier certificateVerifier) The default constructor for SignatureBuilder.ModifierConstructorDescriptionManifestBuilder
(DigestAlgorithm digestAlgorithm, List<DSSDocument> documents) Constructor for the builder (the Id of the Manifest tag will be equals to "manifest")ManifestBuilder
(String manifestId, DigestAlgorithm digestAlgorithm, List<DSSDocument> documents) Constructor for the builderManifestBuilder
(String manifestId, DigestAlgorithm digestAlgorithm, List<DSSDocument> documents, DSSNamespace xmldsigNamespace) Constructor for the builder -
Uses of DSSDocument in eu.europa.esig.dss.xades.validation
Modifier and TypeMethodDescriptionXMLDocumentAnalyzer.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionXMLDocumentAnalyzerFactory.create
(DSSDocument document) XMLDocumentValidatorFactory.create
(DSSDocument document) boolean
XMLDocumentAnalyzer.isSupported
(DSSDocument dssDocument) boolean
XMLDocumentAnalyzerFactory.isSupported
(DSSDocument document) boolean
XMLDocumentValidatorFactory.isSupported
(DSSDocument document) ModifierConstructorDescriptionCounterSignatureResolver
(DSSDocument document) Default constructorDSSDocumentXMLSignatureInput
(DSSDocument document) Default constructor for anXMLSignatureInput
from a detached documentprotected
DSSDocumentXMLSignatureInput
(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructor for anXMLSignatureInput
from a base64-encoded document digestXMLDocumentAnalyzer
(DSSDocument dssDocument) The default constructor for XMLDocumentValidator.XMLDocumentValidator
(DSSDocument dssDocument) The default constructor for XMLDocumentValidator.ModifierConstructorDescriptionDetachedSignatureResolver
(List<DSSDocument> documents, DigestAlgorithm digestAlgorithm) Default constructorManifestValidator
(org.apache.xml.security.signature.Manifest manifest, List<DSSDocument> detachedContents) The constructor with instantiatedorg.apache.xml.security.signature.Manifest
and detached contentsManifestValidator
(Element manifestElement, List<DSSDocument> detachedContents) Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.xades.validation.policy
Modifier and TypeMethodDescriptionXMLSignaturePolicyValidator.getDigestAfterTransforms
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm, Element transformsElement) Computes Digests after processing of giventransformsElement
-
Uses of DSSDocument in eu.europa.esig.dss.xades.validation.scope
ModifierConstructorDescriptionManifestEntrySignatureScope
(String entryName, DSSDocument document, String manifestName, List<String> transformations) Constructor with transformations (Used in XAdES)protected
XmlElementSignatureScope
(String xmlId, DSSDocument document, List<String> transformations) Default constructorprotected
XmlFullSignatureScope
(String name, DSSDocument document, List<String> transformations) Constructor with document nameprotected
XmlRootSignatureScope
(DSSDocument document, List<String> transformations) Default constructorprotected
XmlRootSignatureScope
(String name, DSSDocument document, List<String> transformations) Constructor with document nameprotected
XPointerSignatureScope
(String uri, DSSDocument document, List<String> transformations) Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.xml.utils
Modifier and TypeMethodDescriptionstatic DSSDocument
DomUtils.createDssDocumentFromDomDocument
(Document document, String name) This method creates a new InMemoryDocument with theDocument
content and the given nameModifier and TypeMethodDescriptionstatic Document
DomUtils.buildDOM
(DSSDocument dssDocument) This method returns theDocument
created based on theDSSDocument
.static boolean
DomUtils.isDOM
(DSSDocument dssDocument) This method returns true if the provided document is a valid XMLDocument
static boolean
DomUtils.startsWithXmlPreamble
(DSSDocument document) Checks if the given document starts with an XML Preamble'<'
Processes values with or without BOM-encoding NOTE: does not check XML-conformity of the whole file call isDOM(DSSDocument) for a deep check