Uses of Interface
eu.europa.esig.dss.model.DSSDocument
Package
Description
-
Uses of DSSDocument in eu.europa.esig.dss
Modifier and TypeMethodDescriptionstatic DSSDocument
DomUtils.createDssDocumentFromDomDocument
(Document document, String name) This method creates a new InMemoryDocument with theDocument
content and the given nameModifier and TypeMethodDescriptionAbstractSignatureParameters.getDetachedContents()
This method returns the documents to sign.ProfileParameters.getDetachedContents()
Gets the detached contentsModifier 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 checkModifier and TypeMethodDescriptionvoid
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 contents -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades
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 AbstractASiCContainerExtractor
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 AbstractASiCContainerExtractor
ASiCWithCAdESService.getArchiveExtractor
(DSSDocument archive) protected AbstractASiCContainerExtractor
ASiCWithCAdESASiCContentBuilder.getContainerExtractor
(DSSDocument archiveDocument) ASiCWithCAdESService.getDataToBeCounterSigned
(DSSDocument asicContainer, CAdESCounterSignatureParameters parameters) protected DocumentValidator
ASiCWithCAdESCounterSignatureHelper.getDocumentValidator
(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 TypeMethodDescriptionASiCEWithCAdESArchiveManifestBuilder.build()
Builds the ArchiveManifest and returns the Document NodeASiCEWithCAdESManifestBuilder.build()
Builds the manifest and returns the documentModifier and TypeMethodDescriptionprotected Element
AbstractManifestBuilder.addDataObjectReference
(Document documentDom, Element asicManifestDom, DSSDocument document, DigestAlgorithm digestAlgorithm) Adds a<DataObjectReference>
elementModifierConstructorDescriptionASiCEWithCAdESArchiveManifestBuilder
(ASiCContent asicContent, DSSDocument lastArchiveManifest, DigestAlgorithm digestAlgorithm, String timestampFileUri) 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
ASiCWithCAdESManifestParser.getLinkedManifest
(List<DSSDocument> manifestDocuments, String signatureName) Returns the relative manifests for the given signature namestatic DSSDocument
ASiCWithCAdESUtils.getSignedDocument
(ASiCContent extractResult, String signatureFilename) Returns a list of signed documents by a signature with a givensignatureFilename
Modifier and TypeMethodDescriptionASiCContainerWithCAdESValidator.getArchiveDocuments()
ASiCContainerWithCAdESValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionASiCContainerWithCAdESValidatorFactory.create
(DSSDocument document) static ManifestFile
ASiCWithCAdESManifestParser.getManifestFile
(DSSDocument manifestDocument) Parses and convertsDSSDocument
toManifestFile
boolean
ASiCContainerWithCAdESValidator.isSupported
(DSSDocument dssDocument) boolean
ASiCContainerWithCAdESValidatorFactory.isSupported
(DSSDocument document) Modifier and TypeMethodDescriptionstatic DSSDocument
ASiCWithCAdESManifestParser.getLinkedManifest
(List<DSSDocument> manifestDocuments, String signatureName) Returns the relative manifests for the given signature namestatic boolean
ASiCWithCAdESUtils.isCoveredByManifest
(List<DSSDocument> manifestDocuments, String filename) Checks if a document (e.g.void
ASiCWithCAdESTimestampValidator.setArchiveDocuments
(List<DSSDocument> archiveDocuments) Sets the document embedded inside package.zip, when applicablevoid
ASiCWithCAdESTimestampValidator.setOriginalDocuments
(List<DSSDocument> originalDocuments) Sets the original documents present in the ASiC containerModifierConstructorDescriptionASiCContainerWithCAdESValidator
(DSSDocument asicContainer) The default constructorASiCWithCAdESTimestampValidator
(DSSDocument timestamp) Default constructorASiCWithCAdESTimestampValidator
(DSSDocument timestamp, TimestampType type) Default constructor with a timestamp typeModifierConstructorDescriptionASiCEWithCAdESManifestValidator
(ManifestFile manifest, List<DSSDocument> signedDocuments) 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.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 TypeMethodDescriptionSecureContainerHandler.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, 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 documentModifier 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.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 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 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 containerstatic 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 OpenDocumentstatic 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 containerSecureContainerHandler.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.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 entriesModifierConstructorDescriptionprotected
AbstractASiCContainerExtractor
(DSSDocument asicContainer) The default constructorContainerEntryDocument
(DSSDocument content) Default constructorContainerEntryDocument
(DSSDocument content, DSSZipEntry zipEntry) Constructor with providedDSSZipEntry
-
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 AbstractASiCContainerExtractor
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 AbstractASiCContainerExtractor
AbstractASiCSignatureService.getArchiveExtractor
(DSSDocument archive) Returns a relevant ASiC container extractor for the given formatprotected abstract AbstractASiCContainerExtractor
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 DocumentValidator
ASiCCounterSignatureHelper.getDocumentValidator
(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 TypeMethodDescriptionAbstractASiCContainerValidator.getMimeTypeDocument()
Returns a mimetype documentModifier and TypeMethodDescriptionAbstractASiCContainerValidator.getAllDocuments()
Returns a list of all embedded documentsAbstractASiCContainerValidator.getAllManifestDocuments()
Returns a list of all embedded manifest documentsAbstractASiCContainerValidator.getArchiveDocuments()
Returns a list of archive documents embedded the containerAbstractASiCContainerValidator.getArchiveManifestDocuments()
Returns a list of embedded archive manifest documentsAbstractASiCContainerValidator.getManifestDocuments()
Returns a list of embedded signature manifest documentsAbstractASiCContainerValidator.getSignatureDocuments()
Returns a list of embedded signature documentsAbstractASiCContainerValidator.getSignedDocuments()
Returns a list of embedded signed documentsprotected List<DSSDocument>
AbstractASiCContainerValidator.getSignedDocumentsASiCS
(List<DSSDocument> retrievedDocs) Returns a list of "package.zip" documentsAbstractASiCContainerValidator.getTimestampDocuments()
Returns a list of embedded timestamp documentsAbstractASiCContainerValidator.getUnsupportedDocuments()
Returns a list of unsupported documents from the containerModifier and TypeMethodDescriptionprotected List<DSSDocument>
AbstractASiCContainerValidator.getSignedDocumentsASiCS
(List<DSSDocument> retrievedDocs) Returns a list of "package.zip" documentsModifierConstructorDescriptionprotected
AbstractASiCContainerValidator
(DSSDocument document) The default constructorprotected
AbstractASiCContainerValidator
(DSSDocument document, SignatureScopeFinder<?> signatureScopeFinder) Constructor with a customSignatureScopeFinder
-
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 archiveModifierConstructorDescriptionThe default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.merge
Modifier and TypeMethodDescriptionASiCWithXAdESContainerMergerFactory.create
(DSSDocument... containers) protected AbstractASiCContainerExtractor
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 AbstractASiCContainerExtractor
ASiCWithXAdESService.getArchiveExtractor
(DSSDocument archive) protected AbstractASiCContainerExtractor
ASiCWithXAdESASiCContentBuilder.getContainerExtractor
(DSSDocument archiveDocument) ASiCWithXAdESService.getDataToBeCounterSigned
(DSSDocument asicContainer, XAdESCounterSignatureParameters parameters) protected DocumentValidator
ASiCWithXAdESCounterSignatureHelper.getDocumentValidator
(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 TypeMethodDescriptionASiCContainerWithXAdESValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionASiCContainerWithXAdESValidatorFactory.create
(DSSDocument document) boolean
ASiCContainerWithXAdESValidator.isSupported
(DSSDocument dssDocument) boolean
ASiCContainerWithXAdESValidatorFactory.isSupported
(DSSDocument document) ModifierConstructorDescriptionASiCContainerWithXAdESValidator
(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
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.getDataToBeCounterSigned
(DSSDocument signatureDocument, org.bouncycastle.cms.SignerInformation signerInfoToCounterSign, CAdESSignatureParameters parameters) Returns a data toBeSigned for a counter signature on the givensignerInfoToCounterSign
CAdESService.getDataToSign
(DSSDocument toSignDocument, CAdESSignatureParameters parameters) org.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 TypeMethodDescriptionCMSDocumentValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionCMSDocumentValidatorFactory.create
(DSSDocument document) boolean
CMSDocumentValidator.isSupported
(DSSDocument dssDocument) boolean
CMSDocumentValidatorFactory.isSupported
(DSSDocument document) ModifierConstructorDescriptionCMSDocumentValidator
(DSSDocument document) The default constructor forCMSDocumentValidator
.protected
CMSDocumentValidator
(DSSDocument document, SignatureScopeFinder<CAdESSignature> signatureScopeFinder) Creates a validator from aDSSDocument
-
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 signatureModifier and TypeMethodDescriptionprotected List<SignatureScope>
CAdESSignatureScopeFinder.getSignatureScopeFromOriginalDocument
(CAdESSignature cadesSignature, DSSDocument originalDocument) Returns a list ofSignatureScope
s from the signed document -
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 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 TypeMethodDescriptionAbstractJWSDocumentValidator.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) boolean
JAdESDocumentValidatorFactory.isSupported
(DSSDocument document) boolean
JWSCompactDocumentValidator.isSupported
(DSSDocument dssDocument) boolean
JWSSerializationDocumentValidator.isSupported
(DSSDocument document) ModifierConstructorDescriptionprotected
AbstractJWSDocumentValidator
(DSSDocument document) Default constructorJWSCompactDocumentValidator
(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 QualifierSignaturePolicyStore.getSignaturePolicyContent()
Get policy store contentModifier and TypeMethodDescriptionvoid
CommitmentQualifier.setContent
(DSSDocument content) Sets the content of Commitment Qualifier.void
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.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 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.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.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, String passwordProtection) Deprecated.since DSS 5.12.PAdESService.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.PAdESExtensionService.incorporateValidationData
(DSSDocument document, String passwordProtection) Deprecated.since DSS 5.12.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 documentPAdESService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, String passwordProtection) Deprecated.since DSS 5.12.protected 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.getAvailableSignatureFields
(DSSDocument document, String passwordProtection) Deprecated.since DSS 5.12.PAdESService.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.PAdESExtensionService.incorporateValidationData
(DSSDocument document, String passwordProtection) Deprecated.since DSS 5.12.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 TypeMethodDescriptionPDFDocumentValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionPDFDocumentValidatorFactory.create
(DSSDocument document) boolean
PDFDocumentValidator.isSupported
(DSSDocument dssDocument) boolean
PDFDocumentValidatorFactory.isSupported
(DSSDocument document) ModifierConstructorDescriptionPdfByteRangeDocument
(DSSDocument pdfDocument, ByteRange byteRange) Default constructorPDFDocumentValidator
(DSSDocument document) The default constructor for PDFDocumentValidator. -
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) AbstractPDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, String pwd) Deprecated.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.PDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, String pwd) Deprecated.since DSS 5.12.AbstractPDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters) AbstractPDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, String pwd) Deprecated.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 documentPDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, String pwd) Deprecated.since DSS 5.12.PdfCMSRevision.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) AbstractPDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, String pwd) Deprecated.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.PDFSignatureService.addDssDictionary
(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, String pwd) Deprecated.since DSS 5.12.AbstractPDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters) AbstractPDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, String pwd) Deprecated.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 documentPDFSignatureService.addNewSignatureField
(DSSDocument document, SignatureFieldParameters parameters, String pwd) Deprecated.since DSS 5.12.protected 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
AbstractPDFSignatureService.analyzePdfModifications
(DSSDocument document, List<AdvancedSignature> signatures, String pwd) Deprecated.void
PDFSignatureService.analyzePdfModifications
(DSSDocument document, List<AdvancedSignature> signatures, char[] pwd) Analyze the PDF revision and try to detect any modification (shadow attacks) for signaturesvoid
PDFSignatureService.analyzePdfModifications
(DSSDocument document, List<AdvancedSignature> signatures, String pwd) Deprecated.since DSS 5.12.void
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
byte[]
AbstractPDFSignatureService.digest
(DSSDocument toSignDocument, PAdESCommonParameters parameters) Deprecated.byte[]
PDFSignatureService.digest
(DSSDocument toSignDocument, PAdESCommonParameters parameters) Deprecated.since 5.12.AbstractPDFSignatureService.getAvailableSignatureFields
(DSSDocument document) AbstractPDFSignatureService.getAvailableSignatureFields
(DSSDocument document, String pwd) Deprecated.PDFSignatureService.getAvailableSignatureFields
(DSSDocument document) This method returns not signed signature-fieldsPDFSignatureService.getAvailableSignatureFields
(DSSDocument document, char[] pwd) Returns not-signed signature fields from an encrypted documentPDFSignatureService.getAvailableSignatureFields
(DSSDocument document, String pwd) Deprecated.since DSS 5.12.AbstractPDFSignatureService.getRevisions
(DSSDocument document, char[] pwd) AbstractPDFSignatureService.getRevisions
(DSSDocument document, String pwd) Deprecated.PDFSignatureService.getRevisions
(DSSDocument document, char[] pwd) Retrieves revisions from a PDF documentPDFSignatureService.getRevisions
(DSSDocument document, String pwd) Deprecated.since DSS 5.12.protected 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 TypeMethodDescriptionPDFADocumentValidatorFactory.create
(DSSDocument document) boolean
PDFADocumentValidatorFactory.isSupported
(DSSDocument document) ModifierConstructorDescriptionPDFADocumentValidator
(DSSDocument document) The default constructor for PDFADocumentValidator. -
Uses of DSSDocument in eu.europa.esig.dss.service.http.commons
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 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
.MultipleDocumentsSignatureService.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 boolean
DSSUtils.startsWithBytes
(DSSDocument dssDocument, byte[] preamble) Reads firstpreamble.length
bytes of thedssDocument
and compares them withpreamble
static 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 TypeMethodDescriptionDSSFileLoader.getDocument
(String url) Returns DSSDocument from the provided url -
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.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.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.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 TypeFieldDescriptionprotected DSSDocument
SignedDocumentValidator.document
The document to be validated (with the signature(s) or timestamp(s))protected DSSDocument
SignedDocumentDiagnosticDataBuilder.signedDocument
The signed documentModifier and TypeFieldDescriptionprotected List<DSSDocument>
SignedDocumentValidator.containerContents
In case of an ASiC signature thisList
of container documents.protected List<DSSDocument>
DefaultAdvancedSignature.detachedContents
In case of a detached signature this is the signed document.protected List<DSSDocument>
SignedDocumentValidator.detachedContents
In case of a detached signature thisList
contains the signed documents.Modifier and TypeMethodDescriptionManifestFile.getDocument()
Gets theDSSDocument
representing the manifestSignaturePolicy.getPolicyContent()
Returns a DSSDocument with the signature policy contentSignaturePolicyProvider.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 TypeMethodDescriptionAdvancedSignature.getContainerContents()
Returns container's contentDefaultAdvancedSignature.getContainerContents()
AdvancedSignature.getDetachedContents()
Returns detached contentsDefaultAdvancedSignature.getDetachedContents()
DocumentValidator.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
(String signatureId) Modifier and TypeMethodDescriptionDocumentValidatorFactory.create
(DSSDocument document) This method instantiates aDocumentValidator
with the given documentSignedDocumentDiagnosticDataBuilder.document
(DSSDocument signedDocument) This method allows to set the document which is analysedstatic 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 documentabstract boolean
SignedDocumentValidator.isSupported
(DSSDocument dssDocument) Checks if the document is supported by the current validatorvoid
ManifestFile.setDocument
(DSSDocument document) Sets the manifest documentvoid
SignaturePolicy.setPolicyContent
(DSSDocument policyContent) Sets policy document contentDocumentValidator.validateDocument
(DSSDocument policyDocument) Validates the document and all its signatures.SignedDocumentValidator.validateDocument
(DSSDocument policyDocument) 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
DocumentValidator.setContainerContents
(List<DSSDocument> archiveContents) Sets theList
ofDSSDocument
containing the original container content for ASiC-S signatures.void
SignedDocumentValidator.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) 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
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.validation.policy
Modifier and TypeMethodDescriptionAbstractSignaturePolicyValidator.getComputedDigest
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) BasicASNSignaturePolicyValidator.getComputedDigest
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) SignaturePolicyValidator.getComputedDigest
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) ReturnsDigest
on the computed SignaturePolicy's contentZeroHashSignaturePolicyValidator.getComputedDigest
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) -
Uses of DSSDocument in eu.europa.esig.dss.validation.scope
Modifier and TypeFieldDescriptionprotected DSSDocument
DetachedTimestampScopeFinder.timestampedData
The data used to for message-imprint computation of a timestamp tokenModifier and TypeMethodDescriptionprotected Digest
AbstractSignatureScopeFinder.getDigest
(DSSDocument document) Gets digest of a documentprotected List<SignatureScope>
DetachedTimestampScopeFinder.getTimestampSignatureScopeForDocument
(DSSDocument document) Returns a timestampedSignatureScope
for the given documentvoid
DetachedTimestampScopeFinder.setTimestampedData
(DSSDocument timestampedData) Sets the timestamped data -
Uses of DSSDocument in eu.europa.esig.dss.validation.timestamp
Modifier and TypeMethodDescriptionDetachedTimestampValidator.getTimestampedData()
TimestampValidator.getTimestampedData()
Returns the timestamped dataModifier and TypeMethodDescriptionDetachedTimestampValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) DetachedTimestampValidator.getOriginalDocuments
(String signatureId) Modifier and TypeMethodDescriptionDetachedTimestampValidatorFactory.create
(DSSDocument document) boolean
DetachedTimestampValidator.isSupported
(DSSDocument dssDocument) boolean
DetachedTimestampValidatorFactory.isSupported
(DSSDocument document) boolean
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.void
DetachedTimestampValidator.setTimestampedData
(DSSDocument document) Sets the data that has been timestampedModifierConstructorDescriptionDetachedTimestampValidator
(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.SignatureProfile.signDocument
(DSSDocument toSignDocument, XAdESSignatureParameters parameters, byte[] signatureValue) Creates a signature of the defines profileModifierConstructorDescriptionTrustedListSignatureParametersBuilder
(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.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 TypeMethodDescriptionXMLDocumentValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionXMLDocumentValidatorFactory.create
(DSSDocument document) boolean
XMLDocumentValidator.isSupported
(DSSDocument dssDocument) boolean
XMLDocumentValidatorFactory.isSupported
(DSSDocument document) ModifierConstructorDescriptionCounterSignatureResolver
(DSSDocument document) Default constructorXMLDocumentValidator
(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