Uses of Interface
eu.europa.esig.dss.model.DSSDocument
Packages that use DSSDocument
Package
Description
-
Uses of DSSDocument in eu.europa.esig.dss
Methods in eu.europa.esig.dss that return DSSDocumentModifier and TypeMethodDescriptionstatic DSSDocument
DomUtils.createDssDocumentFromDomDocument
(Document document, String name) This method creates a new InMemoryDocument with theDocument
content and the given nameMethods in eu.europa.esig.dss that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionAbstractSignatureParameters.getDetachedContents()
This method returns the documents to sign.ProfileParameters.getDetachedContents()
Gets the detached contentsMethods in eu.europa.esig.dss with parameters of type DSSDocumentModifier 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 checkMethod parameters in eu.europa.esig.dss with type arguments of type DSSDocumentModifier 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
Constructors in eu.europa.esig.dss.asic.cades with parameters of type DSSDocumentModifierConstructorDescriptionThe default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.merge
Methods in eu.europa.esig.dss.asic.cades.merge that return DSSDocumentModifier and TypeMethodDescriptionprotected DSSDocument
AbstractASiCWithCAdESContainerMerger.mergeCmsSignatures
(List<DSSDocument> signatureDocuments) This method merges signature documents representing CMS signatures into single CMS signature document.Methods in eu.europa.esig.dss.asic.cades.merge that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionprotected List<DSSDocument>
AbstractASiCWithCAdESContainerMerger.getAllSignatureDocuments
(ASiCContent... asicContents) This method returns all signature documents extracted from givenASiCContent
containersMethods in eu.europa.esig.dss.asic.cades.merge with parameters of type DSSDocumentModifier 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) Method parameters in eu.europa.esig.dss.asic.cades.merge with type arguments of type DSSDocumentModifier and TypeMethodDescriptionprotected DSSDocument
AbstractASiCWithCAdESContainerMerger.mergeCmsSignatures
(List<DSSDocument> signatureDocuments) This method merges signature documents representing CMS signatures into single CMS signature document.Constructors in eu.europa.esig.dss.asic.cades.merge with parameters of type DSSDocumentModifierConstructorDescriptionprotected
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
Methods in eu.europa.esig.dss.asic.cades.signature that return DSSDocumentModifier 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) Methods in eu.europa.esig.dss.asic.cades.signature that return types with arguments of type DSSDocumentModifier 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) Methods in eu.europa.esig.dss.asic.cades.signature with parameters of type DSSDocumentModifier 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 ManifestMethod parameters in eu.europa.esig.dss.asic.cades.signature with type arguments of type DSSDocumentModifier 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) Constructors in eu.europa.esig.dss.asic.cades.signature with parameters of type DSSDocumentModifierConstructorDescriptionprotected
ASiCWithCAdESCounterSignatureHelper
(DSSDocument asicContainer) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.signature.asice
Methods in eu.europa.esig.dss.asic.cades.signature.asice that return DSSDocumentMethods in eu.europa.esig.dss.asic.cades.signature.asice that return types with arguments of type DSSDocumentConstructors in eu.europa.esig.dss.asic.cades.signature.asice with parameters of type DSSDocumentModifierConstructorDescriptionDataToSignASiCEWithCAdESHelper
(ASiCContent asicContent, DSSDocument toBeSigned) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.signature.asics
Methods in eu.europa.esig.dss.asic.cades.signature.asics that return DSSDocumentModifier and TypeMethodDescriptionDataToSignASiCSWithCAdESFromArchive.getToBeSigned()
DataToSignASiCSWithCAdESFromFiles.getToBeSigned()
Methods in eu.europa.esig.dss.asic.cades.signature.asics that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionDataToSignASiCSWithCAdESFromArchive.getDetachedContents()
DataToSignASiCSWithCAdESFromFiles.getDetachedContents()
-
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.signature.manifest
Methods in eu.europa.esig.dss.asic.cades.signature.manifest that return DSSDocumentModifier and TypeMethodDescriptionASiCEWithCAdESArchiveManifestBuilder.build()
Builds the ArchiveManifest and returns the Document NodeASiCEWithCAdESManifestBuilder.build()
Builds the manifest and returns the documentMethods in eu.europa.esig.dss.asic.cades.signature.manifest with parameters of type DSSDocumentModifier and TypeMethodDescriptionprotected Element
AbstractManifestBuilder.addDataObjectReference
(Document documentDom, Element asicManifestDom, DSSDocument document, DigestAlgorithm digestAlgorithm) Adds a<DataObjectReference>
elementConstructors in eu.europa.esig.dss.asic.cades.signature.manifest with parameters of type DSSDocumentModifierConstructorDescriptionASiCEWithCAdESArchiveManifestBuilder
(ASiCContent asicContent, DSSDocument lastArchiveManifest, DigestAlgorithm digestAlgorithm, String timestampFileUri) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.timestamp
Methods in eu.europa.esig.dss.asic.cades.timestamp that return DSSDocumentModifier and TypeMethodDescriptionASiCWithCAdESTimestampService.timestamp
(List<DSSDocument> documents, ASiCWithCAdESTimestampParameters parameters) The method is used to timestamp a list ofdocuments
Method parameters in eu.europa.esig.dss.asic.cades.timestamp with type arguments of type DSSDocumentModifier 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
Methods in eu.europa.esig.dss.asic.cades.validation that return DSSDocumentModifier 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
Methods in eu.europa.esig.dss.asic.cades.validation that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionASiCContainerWithCAdESValidator.getArchiveDocuments()
ASiCContainerWithCAdESValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Methods in eu.europa.esig.dss.asic.cades.validation with parameters of type DSSDocumentModifier 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) Method parameters in eu.europa.esig.dss.asic.cades.validation with type arguments of type DSSDocumentModifier 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 containerConstructors in eu.europa.esig.dss.asic.cades.validation with parameters of type DSSDocumentModifierConstructorDescriptionASiCContainerWithCAdESValidator
(DSSDocument asicContainer) The default constructorASiCWithCAdESTimestampValidator
(DSSDocument timestamp) Default constructorASiCWithCAdESTimestampValidator
(DSSDocument timestamp, TimestampType type) Default constructor with a timestamp typeConstructor parameters in eu.europa.esig.dss.asic.cades.validation with type arguments of type DSSDocumentModifierConstructorDescriptionASiCEWithCAdESManifestValidator
(ManifestFile manifest, List<DSSDocument> signedDocuments) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.validation.scope
Methods in eu.europa.esig.dss.asic.cades.validation.scope with parameters of type DSSDocumentModifier and TypeMethodDescriptionprotected List<SignatureScope>
ASiCWithCAdESTimestampScopeFinder.getTimestampSignatureScopeForDocument
(DSSDocument document) Method parameters in eu.europa.esig.dss.asic.cades.validation.scope with type arguments of type DSSDocumentModifier 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
Subinterfaces of DSSDocument in eu.europa.esig.dss.asic.commonModifier and TypeInterfaceDescriptioninterface
Contains metadata for a ZIP-container entryClasses in eu.europa.esig.dss.asic.common that implement DSSDocumentModifier 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.Methods in eu.europa.esig.dss.asic.common that return DSSDocumentModifier 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 documentMethods in eu.europa.esig.dss.asic.common that return types with arguments of type DSSDocumentModifier 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 documentsMethods in eu.europa.esig.dss.asic.common with parameters of type DSSDocumentModifier 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 documentMethod parameters in eu.europa.esig.dss.asic.common with type arguments of type DSSDocumentModifier 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 entriesConstructors in eu.europa.esig.dss.asic.common with parameters of type DSSDocumentModifierConstructorDescriptionprotected
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
Methods in eu.europa.esig.dss.asic.common.merge that return DSSDocumentModifier and TypeMethodDescriptionASiCContainerMerger.merge()
Merges given containers to a new container document, when possibleDefaultContainerMerger.merge()
Methods in eu.europa.esig.dss.asic.common.merge with parameters of type DSSDocumentModifier 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) Constructors in eu.europa.esig.dss.asic.common.merge with parameters of type DSSDocumentModifierConstructorDescriptionprotected
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
Fields in eu.europa.esig.dss.asic.common.signature declared as DSSDocumentModifier and TypeFieldDescriptionprotected final DSSDocument
ASiCCounterSignatureHelper.asicContainer
The document representing an ASiC containerMethods in eu.europa.esig.dss.asic.common.signature that return DSSDocumentModifier 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) Methods in eu.europa.esig.dss.asic.common.signature that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionprotected abstract List<DSSDocument>
ASiCCounterSignatureHelper.getDetachedDocuments
(String signatureFilename) Returns a list if detached documents for a signature with a given filenameMethods in eu.europa.esig.dss.asic.common.signature with parameters of type DSSDocumentModifier 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) Method parameters in eu.europa.esig.dss.asic.common.signature with type arguments of type DSSDocumentModifier 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 containerConstructors in eu.europa.esig.dss.asic.common.signature with parameters of type DSSDocumentModifierConstructorDescriptionprotected
ASiCCounterSignatureHelper
(DSSDocument asicContainer) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.common.validation
Methods in eu.europa.esig.dss.asic.common.validation that return DSSDocumentModifier and TypeMethodDescriptionAbstractASiCContainerValidator.getMimeTypeDocument()
Returns a mimetype documentMethods in eu.europa.esig.dss.asic.common.validation that return types with arguments of type DSSDocumentModifier 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 containerMethod parameters in eu.europa.esig.dss.asic.common.validation with type arguments of type DSSDocumentModifier and TypeMethodDescriptionprotected List<DSSDocument>
AbstractASiCContainerValidator.getSignedDocumentsASiCS
(List<DSSDocument> retrievedDocs) Returns a list of "package.zip" documentsConstructors in eu.europa.esig.dss.asic.common.validation with parameters of type DSSDocumentModifierConstructorDescriptionprotected
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
Methods in eu.europa.esig.dss.asic.xades that return types with arguments of type DSSDocumentModifier 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.Methods in eu.europa.esig.dss.asic.xades with parameters of type DSSDocumentModifier and TypeMethodDescriptionstatic boolean
OpenDocumentSupportUtils.isExternalDataDocument
(DSSDocument document) Verifies whether the document is located within "external-data/" folder within the archiveConstructors in eu.europa.esig.dss.asic.xades with parameters of type DSSDocumentModifierConstructorDescriptionThe default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.merge
Methods in eu.europa.esig.dss.asic.xades.merge with parameters of type DSSDocumentModifier 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) Constructors in eu.europa.esig.dss.asic.xades.merge with parameters of type DSSDocumentModifierConstructorDescriptionprotected
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
Methods in eu.europa.esig.dss.asic.xades.signature that return DSSDocumentModifier 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) Methods in eu.europa.esig.dss.asic.xades.signature that return types with arguments of type DSSDocumentModifier 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)Methods in eu.europa.esig.dss.asic.xades.signature with parameters of type DSSDocumentModifier 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) Method parameters in eu.europa.esig.dss.asic.xades.signature with type arguments of type DSSDocumentModifier 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) Constructors in eu.europa.esig.dss.asic.xades.signature with parameters of type DSSDocumentModifierConstructorDescriptionprotected
ASiCWithXAdESCounterSignatureHelper
(DSSDocument asicContainer) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.signature.asice
Methods in eu.europa.esig.dss.asic.xades.signature.asice that return DSSDocumentMethods in eu.europa.esig.dss.asic.xades.signature.asice that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionDataToSignASiCEWithXAdESHelper.getToBeSigned()
DataToSignOpenDocumentHelper.getToBeSigned()
Method parameters in eu.europa.esig.dss.asic.xades.signature.asice with type arguments of type DSSDocumentModifier 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
Methods in eu.europa.esig.dss.asic.xades.signature.asics that return types with arguments of type DSSDocument -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.validation
Methods in eu.europa.esig.dss.asic.xades.validation that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionASiCContainerWithXAdESValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Methods in eu.europa.esig.dss.asic.xades.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionASiCContainerWithXAdESValidatorFactory.create
(DSSDocument document) boolean
ASiCContainerWithXAdESValidator.isSupported
(DSSDocument dssDocument) boolean
ASiCContainerWithXAdESValidatorFactory.isSupported
(DSSDocument document) Constructors in eu.europa.esig.dss.asic.xades.validation with parameters of type DSSDocumentModifierConstructorDescriptionASiCContainerWithXAdESValidator
(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
Methods in eu.europa.esig.dss.cades that return DSSDocumentModifier and TypeMethodDescriptionstatic DSSDocument
CMSUtils.getOriginalDocument
(org.bouncycastle.cms.CMSSignedData cmsSignedData, List<DSSDocument> detachedDocuments) Returns the original document from the providedcmsSignedData
Methods in eu.europa.esig.dss.cades with parameters of type DSSDocumentModifier 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
Method parameters in eu.europa.esig.dss.cades with type arguments of type DSSDocumentModifier 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
Classes in eu.europa.esig.dss.cades.signature that implement DSSDocumentMethods in eu.europa.esig.dss.cades.signature that return DSSDocumentModifier 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) Methods in eu.europa.esig.dss.cades.signature with parameters of type DSSDocumentModifier 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) Constructors in eu.europa.esig.dss.cades.signature with parameters of type DSSDocumentModifierConstructorDescriptionCAdESLevelBaselineB
(DSSDocument documentToSign) The constructor for CAdESLevelBaselineB with adocumentToSign
-
Uses of DSSDocument in eu.europa.esig.dss.cades.validation
Methods in eu.europa.esig.dss.cades.validation that return DSSDocumentModifier 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 PAdESMethods in eu.europa.esig.dss.cades.validation that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionCMSDocumentValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Methods in eu.europa.esig.dss.cades.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionCMSDocumentValidatorFactory.create
(DSSDocument document) boolean
CMSDocumentValidator.isSupported
(DSSDocument dssDocument) boolean
CMSDocumentValidatorFactory.isSupported
(DSSDocument document) Constructors in eu.europa.esig.dss.cades.validation with parameters of type DSSDocumentModifierConstructorDescriptionCMSDocumentValidator
(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
Methods in eu.europa.esig.dss.cades.validation.scope that return DSSDocumentModifier and TypeMethodDescriptionprotected DSSDocument
CAdESSignatureScopeFinder.getOriginalDocument
(CAdESSignature cadesSignature) Returns original document for the given CAdES signatureMethods in eu.europa.esig.dss.cades.validation.scope with parameters of type DSSDocumentModifier 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
Classes in eu.europa.esig.dss.jades that implement DSSDocumentModifier 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 mechanismMethods in eu.europa.esig.dss.jades that return DSSDocumentModifier 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 DocumentMethods in eu.europa.esig.dss.jades with parameters of type DSSDocumentModifier 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 stringMethod parameters in eu.europa.esig.dss.jades with type arguments of type DSSDocumentModifier 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
Constructors in eu.europa.esig.dss.jades with parameters of type DSSDocumentModifierConstructorDescriptionHTTPHeaderDigest
(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
Methods in eu.europa.esig.dss.jades.signature that return DSSDocumentModifier 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) Methods in eu.europa.esig.dss.jades.signature with parameters of type DSSDocumentModifier 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) Method parameters in eu.europa.esig.dss.jades.signature with type arguments of type DSSDocumentModifier 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) Constructor parameters in eu.europa.esig.dss.jades.signature with type arguments of type DSSDocumentModifierConstructorDescriptionprotected
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
Methods in eu.europa.esig.dss.jades.validation that return types with arguments of type DSSDocumentModifier 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 contentMethods in eu.europa.esig.dss.jades.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionJAdESDocumentValidatorFactory.create
(DSSDocument document) boolean
JAdESDocumentValidatorFactory.isSupported
(DSSDocument document) boolean
JWSCompactDocumentValidator.isSupported
(DSSDocument dssDocument) boolean
JWSSerializationDocumentValidator.isSupported
(DSSDocument document) Constructors in eu.europa.esig.dss.jades.validation with parameters of type DSSDocumentModifierConstructorDescriptionprotected
AbstractJWSDocumentValidator
(DSSDocument document) Default constructorJWSCompactDocumentValidator
(DSSDocument document) Default constructorJWSSerializationDocumentValidator
(DSSDocument document) Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.jades.validation.scope
Methods in eu.europa.esig.dss.jades.validation.scope that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionprotected List<DSSDocument>
JAdESSignatureScopeFinder.getOriginalDocuments
(JAdESSignature jadesSignature) Returns original documents for the given JAdES signatureMethods in eu.europa.esig.dss.jades.validation.scope with parameters of type DSSDocumentModifier and TypeMethodDescriptionprotected SignatureScope
JAdESSignatureScopeFinder.getSignatureScopeFromOriginalDocument
(DSSDocument originalDocument) Returns aSignatureScope
for the givenoriginalDocument
Method parameters in eu.europa.esig.dss.jades.validation.scope with type arguments of type DSSDocumentModifier 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
Classes in eu.europa.esig.dss.model that implement DSSDocumentModifier 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 documentMethods in eu.europa.esig.dss.model that return DSSDocumentModifier and TypeMethodDescriptionCommitmentQualifier.getContent()
Gets the content of the Commitment QualifierSignaturePolicyStore.getSignaturePolicyContent()
Get policy store contentMethods in eu.europa.esig.dss.model with parameters of type DSSDocumentModifier 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
Methods in eu.europa.esig.dss.pades that return DSSDocumentModifier 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
binariesMethods in eu.europa.esig.dss.pades with parameters of type DSSDocumentModifier 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 fieldConstructors in eu.europa.esig.dss.pades with parameters of type DSSDocumentModifierConstructorDescriptionDSSFileFont
(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
Methods in eu.europa.esig.dss.pades.signature that return DSSDocumentModifier 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) Methods in eu.europa.esig.dss.pades.signature with parameters of type DSSDocumentModifier 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
Methods in eu.europa.esig.dss.pades.timestamp that return DSSDocumentModifier and TypeMethodDescriptionPAdESTimestampService.timestampDocument
(DSSDocument document, PAdESTimestampParameters params) Timestamp the documentMethods in eu.europa.esig.dss.pades.timestamp with parameters of type DSSDocumentModifier and TypeMethodDescriptionPAdESTimestampService.timestampDocument
(DSSDocument document, PAdESTimestampParameters params) Timestamp the document -
Uses of DSSDocument in eu.europa.esig.dss.pades.validation
Classes in eu.europa.esig.dss.pades.validation that implement DSSDocumentModifier and TypeClassDescriptionclass
Internal representation of a PDF document.Methods in eu.europa.esig.dss.pades.validation that return DSSDocumentModifier and TypeMethodDescriptionPAdESSignature.getOriginalDocument()
protected DSSDocument
PAdESSignature.getSignerDocumentContent()
Methods in eu.europa.esig.dss.pades.validation that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionPDFDocumentValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Methods in eu.europa.esig.dss.pades.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionPDFDocumentValidatorFactory.create
(DSSDocument document) boolean
PDFDocumentValidator.isSupported
(DSSDocument dssDocument) boolean
PDFDocumentValidatorFactory.isSupported
(DSSDocument document) Constructors in eu.europa.esig.dss.pades.validation with parameters of type DSSDocumentModifierConstructorDescriptionPdfByteRangeDocument
(DSSDocument pdfDocument, ByteRange byteRange) Default constructorPDFDocumentValidator
(DSSDocument document) The default constructor for PDFDocumentValidator. -
Uses of DSSDocument in eu.europa.esig.dss.pdf
Methods in eu.europa.esig.dss.pdf that return DSSDocumentModifier 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
Methods in eu.europa.esig.dss.pdf with parameters of type DSSDocumentModifier 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
Constructors in eu.europa.esig.dss.pdf with parameters of type DSSDocumentModifierConstructorDescriptionprotected
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
Methods in eu.europa.esig.dss.pdf.openpdf that return DSSDocumentModifier 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) Methods in eu.europa.esig.dss.pdf.openpdf with parameters of type DSSDocumentModifier 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) Constructors in eu.europa.esig.dss.pdf.openpdf with parameters of type DSSDocumentModifierConstructorDescriptionITextDocumentReader
(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
Methods in eu.europa.esig.dss.pdf.pdfbox that return DSSDocumentModifier 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) Methods in eu.europa.esig.dss.pdf.pdfbox with parameters of type DSSDocumentModifier 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) Constructors in eu.europa.esig.dss.pdf.pdfbox with parameters of type DSSDocumentModifierConstructorDescriptionPdfBoxDocumentReader
(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
Methods in eu.europa.esig.dss.pdf.pdfbox.visible.defaultdrawer with parameters of type DSSDocumentModifier 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
Methods in eu.europa.esig.dss.pdf.visible that return DSSDocumentModifier 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
Methods in eu.europa.esig.dss.pdf.visible with parameters of type DSSDocumentModifier 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
Methods in eu.europa.esig.dss.pdfa with parameters of type DSSDocumentModifier 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
Methods in eu.europa.esig.dss.pdfa.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionPDFADocumentValidatorFactory.create
(DSSDocument document) boolean
PDFADocumentValidatorFactory.isSupported
(DSSDocument document) Constructors in eu.europa.esig.dss.pdfa.validation with parameters of type DSSDocumentModifierConstructorDescriptionPDFADocumentValidator
(DSSDocument document) The default constructor for PDFADocumentValidator. -
Uses of DSSDocument in eu.europa.esig.dss.service.http.commons
Methods in eu.europa.esig.dss.service.http.commons that return DSSDocumentMethods in eu.europa.esig.dss.service.http.commons with parameters of type DSSDocumentModifier 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
Methods in eu.europa.esig.dss.signature that return DSSDocumentModifier 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.Methods in eu.europa.esig.dss.signature with parameters of type DSSDocumentModifier 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 documentMethod parameters in eu.europa.esig.dss.signature with type arguments of type DSSDocumentModifier 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
Methods in eu.europa.esig.dss.signature.resources that return DSSDocumentModifier 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
Methods in eu.europa.esig.dss.spi that return DSSDocumentModifier 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 documentMethods in eu.europa.esig.dss.spi with parameters of type DSSDocumentModifier 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
bytesMethod parameters in eu.europa.esig.dss.spi with type arguments of type DSSDocumentModifier 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
Methods in eu.europa.esig.dss.spi.client.http that return DSSDocumentModifier and TypeMethodDescriptionDSSFileLoader.getDocument
(String url) Returns DSSDocument from the provided url -
Uses of DSSDocument in eu.europa.esig.dss.spi.x509.revocation.crl
Constructors in eu.europa.esig.dss.spi.x509.revocation.crl with parameters of type DSSDocumentModifierConstructorDescriptionExternalResourcesCRLSource
(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
Constructors in eu.europa.esig.dss.spi.x509.revocation.ocsp with parameters of type DSSDocumentModifierConstructorDescriptionExternalResourcesOCSPSource
(DSSDocument... dssDocuments) This constructor loads the OCSP responses from an array ofDSSDocument
s. -
Uses of DSSDocument in eu.europa.esig.dss.tsl.download
Methods in eu.europa.esig.dss.tsl.download that return DSSDocumentModifier and TypeMethodDescriptionXmlDownloadResult.getDSSDocument()
Gets the downloaded documentConstructors in eu.europa.esig.dss.tsl.download with parameters of type DSSDocumentModifierConstructorDescriptionXmlDownloadResult
(DSSDocument dssDocument, Digest digest) Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.tsl.parsing
Constructors in eu.europa.esig.dss.tsl.parsing with parameters of type DSSDocumentModifierConstructorDescriptionprotected
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
Methods in eu.europa.esig.dss.tsl.runnable that return DSSDocumentModifier and TypeMethodDescriptionprotected DSSDocument
Downloads the document by urlPivotProcessingResult.getPivot()
Gets the pivot documentMethods in eu.europa.esig.dss.tsl.runnable with parameters of type DSSDocumentModifier 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 documentConstructors in eu.europa.esig.dss.tsl.runnable with parameters of type DSSDocumentModifierConstructorDescriptionPivotProcessingResult
(DSSDocument pivot, CertificateSource certificateSource, String lotlLocation) Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.tsl.validation
Constructors in eu.europa.esig.dss.tsl.validation with parameters of type DSSDocumentModifierConstructorDescriptionTLValidatorTask
(DSSDocument trustedList, CertificateSource certificateSource) Constructor used to instantiate a validator for a trusted list -
Uses of DSSDocument in eu.europa.esig.dss.validation
Fields in eu.europa.esig.dss.validation declared as DSSDocumentModifier and TypeFieldDescriptionprotected DSSDocument
SignedDocumentValidator.document
The document to be validated (with the signature(s) or timestamp(s))protected DSSDocument
SignedDocumentDiagnosticDataBuilder.signedDocument
The signed documentFields in eu.europa.esig.dss.validation with type parameters of type DSSDocumentModifier 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.Methods in eu.europa.esig.dss.validation that return DSSDocumentModifier 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
Methods in eu.europa.esig.dss.validation that return types with arguments of type DSSDocumentModifier 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) Methods in eu.europa.esig.dss.validation with parameters of type DSSDocumentModifier 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) Method parameters in eu.europa.esig.dss.validation with type arguments of type DSSDocumentModifier 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
Methods in eu.europa.esig.dss.validation.policy with parameters of type DSSDocumentModifier 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
Fields in eu.europa.esig.dss.validation.scope declared as DSSDocumentModifier and TypeFieldDescriptionprotected DSSDocument
DetachedTimestampScopeFinder.timestampedData
The data used to for message-imprint computation of a timestamp tokenMethods in eu.europa.esig.dss.validation.scope with parameters of type DSSDocumentModifier 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
Methods in eu.europa.esig.dss.validation.timestamp that return DSSDocumentModifier and TypeMethodDescriptionDetachedTimestampValidator.getTimestampedData()
TimestampValidator.getTimestampedData()
Returns the timestamped dataMethods in eu.europa.esig.dss.validation.timestamp that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionDetachedTimestampValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) DetachedTimestampValidator.getOriginalDocuments
(String signatureId) Methods in eu.europa.esig.dss.validation.timestamp with parameters of type DSSDocumentModifier 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 timestampedConstructors in eu.europa.esig.dss.validation.timestamp with parameters of type DSSDocumentModifierConstructorDescriptionDetachedTimestampValidator
(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
Methods in eu.europa.esig.dss.ws.converter that return DSSDocumentModifier and TypeMethodDescriptionstatic DSSDocument
RemoteDocumentConverter.toDSSDocument
(RemoteDocument remoteDocument) Converts the givenRemoteDocument
to aDSSDocument
Methods in eu.europa.esig.dss.ws.converter that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionstatic List<DSSDocument>
RemoteDocumentConverter.toDSSDocuments
(List<RemoteDocument> remoteDocuments) Converts the given list ofremoteDocuments
to a list ofDSSDocument
sMethods in eu.europa.esig.dss.ws.converter with parameters of type DSSDocumentModifier and TypeMethodDescriptionstatic RemoteDocument
RemoteDocumentConverter.toRemoteDocument
(DSSDocument originalDocument) Converts the givenDSSDocument
to aRemoteDocument
Method parameters in eu.europa.esig.dss.ws.converter with type arguments of type DSSDocumentModifier 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
Methods in eu.europa.esig.dss.xades that return DSSDocumentModifier 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 profileMethods in eu.europa.esig.dss.xades that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionstatic List<DSSDocument>
XAdESSignatureUtils.getSignerDocuments
(XAdESSignature signature) Returns list of original signed documentsMethods in eu.europa.esig.dss.xades with parameters of type DSSDocumentModifier 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 profileConstructors in eu.europa.esig.dss.xades with parameters of type DSSDocumentModifierConstructorDescriptionTrustedListSignatureParametersBuilder
(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
Methods in eu.europa.esig.dss.xades.reference that return DSSDocumentModifier and TypeMethodDescriptionDSSReference.getContents()
Gets the original referenced document contentReferenceProcessor.getReferenceOutput
(DSSReference reference) Returns an output content after processing the givenDSSReference
Methods in eu.europa.esig.dss.xades.reference with parameters of type DSSDocumentModifier and TypeMethodDescriptionvoid
DSSReference.setContents
(DSSDocument contents) Sets the original referenced document contentConstructor parameters in eu.europa.esig.dss.xades.reference with type arguments of type DSSDocumentModifierConstructorDescriptionReferenceBuilder
(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
Fields in eu.europa.esig.dss.xades.signature declared as DSSDocumentModifier and TypeFieldDescriptionprotected DSSDocument
XAdESSignatureBuilder.document
This is the reference to the original document to signMethods in eu.europa.esig.dss.xades.signature that return DSSDocumentModifier 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) Methods in eu.europa.esig.dss.xades.signature with parameters of type DSSDocumentModifier 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) Method parameters in eu.europa.esig.dss.xades.signature with type arguments of type DSSDocumentModifier 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) Constructors in eu.europa.esig.dss.xades.signature with parameters of type DSSDocumentModifierConstructorDescriptionprotected
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.Constructor parameters in eu.europa.esig.dss.xades.signature with type arguments of type DSSDocumentModifierConstructorDescriptionManifestBuilder
(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
Methods in eu.europa.esig.dss.xades.validation that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionXMLDocumentValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Methods in eu.europa.esig.dss.xades.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionXMLDocumentValidatorFactory.create
(DSSDocument document) boolean
XMLDocumentValidator.isSupported
(DSSDocument dssDocument) boolean
XMLDocumentValidatorFactory.isSupported
(DSSDocument document) Constructors in eu.europa.esig.dss.xades.validation with parameters of type DSSDocumentModifierConstructorDescriptionCounterSignatureResolver
(DSSDocument document) Default constructorXMLDocumentValidator
(DSSDocument dssDocument) The default constructor for XMLDocumentValidator.Constructor parameters in eu.europa.esig.dss.xades.validation with type arguments of type DSSDocumentModifierConstructorDescriptionDetachedSignatureResolver
(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
Methods in eu.europa.esig.dss.xades.validation.policy with parameters of type DSSDocumentModifier and TypeMethodDescriptionXMLSignaturePolicyValidator.getDigestAfterTransforms
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm, Element transformsElement) Computes Digests after processing of giventransformsElement