Uses of Interface
eu.europa.esig.dss.model.DSSDocument
Packages that use DSSDocument
Package
Description
-
Uses of DSSDocument in eu.europa.esig.dss.asic.cades
Methods in eu.europa.esig.dss.asic.cades with parameters of type DSSDocumentModifier and TypeMethodDescriptionbooleanASiCWithCAdESFormatDetector.isSupportedASiC(DSSDocument document) booleanASiCWithCAdESFormatDetector.isSupportedZip(DSSDocument document) -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.evidencerecord
Methods in eu.europa.esig.dss.asic.cades.evidencerecord that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionGetDataToCoverASiCWithCAdESHelper.getToBeCovered()Returns a list of documents to be covered by an evidence record NOTE: In CMS/CAdES, only one file can be signed -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.extract
Methods in eu.europa.esig.dss.asic.cades.extract with parameters of type DSSDocumentModifier and TypeMethodDescriptionASiCWithCAdESContainerExtractorFactory.create(DSSDocument asicContainer) booleanASiCWithCAdESContainerExtractorFactory.isSupported(DSSDocument asicContainer) Constructors in eu.europa.esig.dss.asic.cades.extract 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 DSSDocumentAbstractASiCWithCAdESContainerMerger.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 givenASiCContentcontainersMethods in eu.europa.esig.dss.asic.cades.merge with parameters of type DSSDocumentModifier and TypeMethodDescriptionASiCWithCAdESContainerMergerFactory.create(DSSDocument... containers) protected DefaultASiCContainerExtractorAbstractASiCWithCAdESContainerMerger.getContainerExtractor(DSSDocument container) protected booleanAbstractASiCWithCAdESContainerMerger.isSupported(DSSDocument container) protected booleanASiCEWithCAdESContainerMerger.isSupported(DSSDocument container) booleanASiCSWithCAdESContainerMerger.isSupported(DSSDocument container) booleanASiCWithCAdESContainerMergerFactory.isSupported(DSSDocument... containers) Method parameters in eu.europa.esig.dss.asic.cades.merge with type arguments of type DSSDocumentModifier and TypeMethodDescriptionprotected DSSDocumentAbstractASiCWithCAdESContainerMerger.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 DSSDocumentModifierConstructorDescriptionprotectedAbstractASiCWithCAdESContainerMerger(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.addContainerEvidenceRecord(List<DSSDocument> documents, DSSDocument evidenceRecordDocument, ASiCContainerEvidenceRecordParameters parameters) ASiCWithCAdESService.addSignatureEvidenceRecord(DSSDocument asicContainer, DSSDocument evidenceRecordDocument, CAdESEvidenceRecordIncorporationParameters parameters) ASiCWithCAdESService.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 contentASiCWithCAdESSignatureExtensionHelper.getDetachedDocuments(String signatureFilename) Methods in eu.europa.esig.dss.asic.cades.signature with parameters of type DSSDocumentModifier and TypeMethodDescriptionASiCWithCAdESService.addContainerEvidenceRecord(List<DSSDocument> documents, DSSDocument evidenceRecordDocument, ASiCContainerEvidenceRecordParameters parameters) ASiCWithCAdESService.addSignatureEvidenceRecord(DSSDocument asicContainer, DSSDocument evidenceRecordDocument, CAdESEvidenceRecordIncorporationParameters parameters) ASiCWithCAdESService.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) protected DefaultASiCContainerExtractorASiCWithCAdESService.getArchiveExtractor(DSSDocument archive) protected DefaultASiCContainerExtractorASiCWithCAdESSignatureExtensionHelper.getASiCContainerExtractor(DSSDocument asicContainer) protected ASiCContainerExtractorASiCWithCAdESASiCContentBuilder.getContainerExtractor(DSSDocument archiveDocument) ASiCWithCAdESService.getDataToBeCounterSigned(DSSDocument asicContainer, CAdESCounterSignatureParameters parameters) protected DocumentAnalyzerASiCWithCAdESSignatureExtensionHelper.getDocumentAnalyzer(DSSDocument signatureDocument) protected booleanASiCWithCAdESSignatureExtension.isCoveredByAnyManifest(ASiCContent asicContent, DSSDocument signature) Verifies whether thesignaturedocument is covered by any ASiC Manifest fileprotected booleanASiCWithCAdESSignatureExtension.isCoveredByArchiveManifest(ASiCContent asicContent, DSSDocument signature) Verifies whether thesignaturedocument is covered by an Archive ManifestMethod parameters in eu.europa.esig.dss.asic.cades.signature with type arguments of type DSSDocumentModifier and TypeMethodDescriptionASiCWithCAdESService.addContainerEvidenceRecord(List<DSSDocument> documents, DSSDocument evidenceRecordDocument, ASiCContainerEvidenceRecordParameters parameters) ASiCWithCAdESService.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 DSSDocumentModifierConstructorDescriptionprotectedASiCWithCAdESSignatureExtensionHelper(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 with parameters of type DSSDocumentModifier and TypeMethodDescriptionprotected booleanASiCEWithCAdESArchiveManifestBuilder.isRootfile(DSSDocument document) Constructors in eu.europa.esig.dss.asic.cades.signature.manifest with parameters of type DSSDocumentModifierConstructorDescriptionASiCEWithCAdESArchiveManifestBuilder(ASiCContent asicContent, DSSDocument lastArchiveManifest, DigestAlgorithm digestAlgorithm, String timestampFilename) 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 ofdocumentsMethod 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 DSSDocumentASiCWithCAdESUtils.getSignedDocument(ASiCContent extractResult, String signatureFilename) Returns a list of signed documents by a signature with a givensignatureFilenameMethods in eu.europa.esig.dss.asic.cades.validation that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionASiCContainerWithCAdESAnalyzer.getArchiveDocuments()ASiCContainerWithCAdESAnalyzer.getOriginalDocuments(AdvancedSignature advancedSignature) Methods in eu.europa.esig.dss.asic.cades.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionASiCContainerWithCAdESAnalyzerFactory.create(DSSDocument document) ASiCContainerWithCAdESValidatorFactory.create(DSSDocument document) booleanASiCContainerWithCAdESAnalyzer.isSupported(DSSDocument dssDocument) booleanASiCContainerWithCAdESAnalyzerFactory.isSupported(DSSDocument document) booleanASiCContainerWithCAdESValidatorFactory.isSupported(DSSDocument document) Method parameters in eu.europa.esig.dss.asic.cades.validation with type arguments of type DSSDocumentModifier and TypeMethodDescriptionstatic booleanASiCWithCAdESUtils.isCoveredByManifest(List<DSSDocument> manifestDocuments, String filename) Deprecated.since DSS 6.3.Constructors in eu.europa.esig.dss.asic.cades.validation with parameters of type DSSDocumentModifierConstructorDescriptionASiCContainerWithCAdESAnalyzer(DSSDocument asicContainer) The default constructorASiCContainerWithCAdESValidator(DSSDocument asicContainer) 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 TypeMethodDescriptionvoidASiCWithCAdESTimestampScopeFinder.setArchiveDocuments(List<DSSDocument> archiveDocuments) Sets a list of package.zip archive documentsvoidASiCWithCAdESTimestampScopeFinder.setContainerDocuments(List<DSSDocument> containerDocuments) Sets a list of container original documents -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.validation.timestamp
Method parameters in eu.europa.esig.dss.asic.cades.validation.timestamp with type arguments of type DSSDocumentModifier and TypeMethodDescriptionvoidASiCWithCAdESTimestampAnalyzer.setArchiveDocuments(List<DSSDocument> archiveDocuments) Sets the document embedded inside package.zip, when applicablevoidASiCWithCAdESTimestampValidator.setArchiveDocuments(List<DSSDocument> archiveDocuments) Sets the document embedded inside package.zip, when applicablevoidASiCWithCAdESTimestampAnalyzer.setOriginalDocuments(List<DSSDocument> originalDocuments) Sets the original documents present in the ASiC containervoidASiCWithCAdESTimestampValidator.setOriginalDocuments(List<DSSDocument> originalDocuments) Sets the original documents present in the ASiC containerConstructors in eu.europa.esig.dss.asic.cades.validation.timestamp with parameters of type DSSDocumentModifierConstructorDescriptionASiCWithCAdESTimestampAnalyzer(DSSDocument timestamp) Default constructorASiCWithCAdESTimestampAnalyzer(DSSDocument timestamp, TimestampType type) Default constructor with a timestamp typeASiCWithCAdESTimestampValidator(DSSDocument timestamp) Default constructorASiCWithCAdESTimestampValidator(DSSDocument timestamp, TimestampType type) Default constructor with a timestamp type -
Uses of DSSDocument in eu.europa.esig.dss.asic.common
Subinterfaces of DSSDocument in eu.europa.esig.dss.asic.commonModifier and TypeInterfaceDescriptioninterfaceContains metadata for a ZIP-container entryClasses in eu.europa.esig.dss.asic.common that implement DSSDocumentModifier and TypeClassDescriptionclassRepresents an entry within a ZIP archive, containing its metadata and file's content.classInternal 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 TypeMethodDescriptionAbstractASiCManifestBuilder.build()Builds the ArchiveManifest and returns the Document NodeSecureContainerHandler.createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment) ZipContainerHandler.createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment) Creates a ZIP-Archive with the givencontainerEntriesZipUtils.createZipArchive(ASiCContent asicContent) Creates a ZIP-Archive with the givenasicContent, indicating teh current creation timeZipUtils.createZipArchive(ASiCContent asicContent, Date creationTime) Creates a ZIP-Archive with the givenasicContentZipUtils.createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment) Creates a ZIP-Archive with the givencontainerEntriesASiCContent.getAsicContainer()Gets the original ASiC containerASiCContainerEvidenceRecordParameters.getAsicEvidenceRecordManifest()Gets ASiCEvidenceRecordManifest file to be added within the containerASiCContent.getMimeTypeDocument()Gets mimetype documentprotected DSSDocumentAbstractASiCManifestBuilder.toDSSDocument(Document documentDom) TransformsDocumenttoDSSDocumentMethods 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 ofDSSDocumentfrom the given ZIP-archiveZipUtils.extractContainerContent(DSSDocument zipPackage) Extracts a list ofDSSDocumentfrom the given ZIP-archiveASiCContent.getAllDocuments()Gets all documentsASiCContent.getAllManifestDocuments()Returns a list of all found manifest documentsASiCContent.getArchiveManifestDocuments()Gets archive manifest documents (ASiC with CAdES only)ASiCContent.getContainerDocuments()Gets "package.zip" documentsASiCContent.getEvidenceRecordDocuments()Gets evidence record documentsASiCContent.getEvidenceRecordManifestDocuments()Gets evidence record manifest documentsASiCContent.getFolders()Returns a list of folders present within the containerASiCContent.getManifestDocuments()Gets manifest documentsstatic List<DSSDocument> ASiCUtils.getRootLevelDocuments(List<DSSDocument> documents) This method returns root-level documents across the provided list of documentsASiCContent.getRootLevelSignedDocuments()This method returns a list of documents at the root level within the containerstatic List<DSSDocument> ASiCUtils.getRootLevelSignedDocuments(ASiCContent asicContent) This method retrieves signed document from a root level of the container (used for ASiC-E container)ASiCContent.getSignatureDocuments()Gets signature documentsASiCContent.getSignedDocuments()Gets signed documentsASiCContent.getTimestampDocuments()Gets timestamp documents (ASiC with CAdES only)ASiCContent.getUnsupportedDocuments()Gets unsupported documentsMethods in eu.europa.esig.dss.asic.common with parameters of type DSSDocumentModifier and TypeMethodDescriptionprotected ElementAbstractASiCManifestBuilder.addDataObjectReference(Document documentDom, Element asicManifestDom, DSSDocument document, DigestAlgorithm digestAlgorithm) Adds a<DataObjectReference>elementstatic voidASiCUtils.addOrReplaceDocument(List<DSSDocument> documentList, DSSDocument newDocument) This method searches for a document in adocumentListwith a name ofnewDocumentVersionand 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 ofDSSDocumentfrom the given ZIP-archiveZipUtils.extractContainerContent(DSSDocument zipPackage) Extracts a list ofDSSDocumentfrom 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 ASiCContainerTypeASiCUtils.getContainerType(DSSDocument archiveContainer) This method verifies type of the provided container documentstatic MimeTypeASiCUtils.getMimeType(DSSDocument mimeTypeDocument) Extracts and returns MimeType from the documentstatic StringASiCUtils.getZipComment(DSSDocument archiveContainer) Returns a zip commentStringfrom the ASiC containerprotected ZipEntrySecureContainerHandler.getZipEntry(DSSDocument entry, Date creationTime) Creates a newZipEntryfor the givenDSSDocumentatcreationTimestatic booleanASiCUtils.isASiC(DSSDocument document) This method verifies whether the givendocumentrepresents an ASiC containerstatic booleanASiCUtils.isASiCEContainer(DSSDocument container) This method verifies whether the given container is of ASiC-E format typestatic booleanASiCUtils.isASiCSContainer(DSSDocument container) This method verifies whether the given container is of ASiC-S format typestatic booleanASiCUtils.isContainerOpenDocument(DSSDocument archiveContainer) Checks if the archive represents an OpenDocumentstatic booleanASiCUtils.isOpenDocument(DSSDocument mimeTypeDoc) Checks if the mimeType document defines an OpenDocumentprotected booleanAbstractASiCManifestBuilder.isRootfile(DSSDocument document) Specifies whether thedocumentis a Rootfile documentbooleanASiCFormatDetector.isSupportedASiC(DSSDocument document) Verifies whether thedocumentis a supported ASiC container by the current implementationbooleanASiCFormatDetector.isSupportedZip(DSSDocument document) Verifies whether thedocumentis a supported ZIP container by the current implementationstatic booleanASiCUtils.isZip(DSSDocument document) Checks if thedocumentis a ZIP containervoidASiCContent.setAsicContainer(DSSDocument asicContainer) Sets the original ASiC containervoidASiCContainerEvidenceRecordParameters.setAsicEvidenceRecordManifest(DSSDocument asicEvidenceRecordManifest) (Optional) Sets a custom ASiCEvidenceRecordManifest to be added within the container.voidASiCContent.setMimeTypeDocument(DSSDocument mimeTypeDocument) Sets mimetype documentMethod parameters in eu.europa.esig.dss.asic.common with type arguments of type DSSDocumentModifier and TypeMethodDescriptionstatic voidASiCUtils.addOrReplaceDocument(List<DSSDocument> documentList, DSSDocument newDocument) This method searches for a document in adocumentListwith a name ofnewDocumentVersionand replaces the found entry with the updated version or adds the document to the given list if no such entry has been foundprotected voidAbstractASiCFilenameFactory.assertFilenameValid(String filename, List<DSSDocument> documentsOfType) This method verifies whether the givenfilenamerepresents a valid document name within a containerprotected voidSecureContainerHandler.buildZip(List<DSSDocument> containerEntries, Date creationTime, String zipComment, ZipOutputStream zos) This method stores allcontainerEntriesin a given order to aZipOutputStreamwith the given parametersSecureContainerHandler.createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment) ZipContainerHandler.createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment) Creates a ZIP-Archive with the givencontainerEntriesZipUtils.createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment) Creates a ZIP-Archive with the givencontainerEntriesstatic List<DSSDocument> ASiCUtils.getRootLevelDocuments(List<DSSDocument> documents) This method returns root-level documents across the provided list of documentsstatic booleanASiCUtils.isCoveredByManifest(List<DSSDocument> manifestDocuments, String filename) Checks if a document (e.g. a signature) with the given filename is covered by a manifestvoidASiCContent.setArchiveManifestDocuments(List<DSSDocument> archiveManifestDocuments) Sets archive manifest documents (ASiC with CAdES only)voidASiCContent.setContainerDocuments(List<DSSDocument> containerDocuments) Sets package.zip" documentsvoidASiCContent.setEvidenceRecordDocuments(List<DSSDocument> evidenceRecordDocuments) Sets a list of evidence record documentsvoidASiCContent.setEvidenceRecordManifestDocuments(List<DSSDocument> evidenceRecordManifestDocuments) Sets a list of evidence record manifest documentsvoidASiCContent.setFolders(List<DSSDocument> folders) Sets a list of folders present within an archivevoidASiCContent.setManifestDocuments(List<DSSDocument> manifestDocuments) Sets manifest documentsvoidASiCContent.setSignatureDocuments(List<DSSDocument> signatureDocuments) Sets signature documentsvoidASiCContent.setSignedDocuments(List<DSSDocument> signedDocuments) Sets signed documentsvoidASiCContent.setTimestampDocuments(List<DSSDocument> timestampDocuments) Sets timestamp documents (ASiC with CAdES only)voidASiCContent.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 DSSDocumentModifierConstructorDescriptionContainerEntryDocument(DSSDocument content) Default constructorContainerEntryDocument(DSSDocument content, DSSZipEntry zipEntry) Constructor with providedDSSZipEntry -
Uses of DSSDocument in eu.europa.esig.dss.asic.common.evidencerecord
Methods in eu.europa.esig.dss.asic.common.evidencerecord that return DSSDocumentModifier and TypeMethodDescriptionprotected DSSDocumentAbstractASiCContainerEvidenceRecordBuilder.buildEvidenceRecordManifest(ASiCContent asicContent, List<DSSDocument> coveredDocuments, DigestAlgorithm digestAlgorithm, String evidenceRecordFilename) Builds an ASiCEvidenceRecordManifest for the evidence record based on a list ofcoveredDocumentswhen requiredprotected DSSDocumentAbstractASiCContainerEvidenceRecordBuilder.getASiCEvidenceRecordManifest(ASiCContainerEvidenceRecordParameters parameters) Gets the provided ASiCEvidenceRecordManifest fileMethods in eu.europa.esig.dss.asic.common.evidencerecord that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionASiCContentDocumentFilter.filter(ASiCContent asicContent) Returns a list of filteredDSSDocuments according to the configurationprotected List<DSSDocument> ASiCEvidenceRecordDigestBuilder.getDocumentListToComputeDigest()This method executes anAsicContentDocumentFilterand returns a list of documents to compute hashes forMethods in eu.europa.esig.dss.asic.common.evidencerecord with parameters of type DSSDocumentModifier and TypeMethodDescriptionAbstractASiCContainerEvidenceRecordBuilder.build(List<DSSDocument> documents, DSSDocument evidenceRecordDocument, ASiCContainerEvidenceRecordParameters parameters) Builds anASiCContentcontaining the evidence record file documentprotected EvidenceRecordAbstractASiCContainerEvidenceRecordBuilder.getEvidenceRecord(DSSDocument evidenceRecordDocument, ManifestFile manifestFile, ASiCContent asicContent) Creates anEvidenceRecordfrom a providedevidenceRecordDocumentprotected ManifestFileAbstractASiCContainerEvidenceRecordBuilder.parseManifestFile(DSSDocument evidenceRecordManifest, ASiCContent asicContent) This method attempts to parse aevidenceRecordManifestdocument as an ASiCEvidenceRecordManifest fileMethod parameters in eu.europa.esig.dss.asic.common.evidencerecord with type arguments of type DSSDocumentModifier and TypeMethodDescriptionAbstractASiCContainerEvidenceRecordBuilder.build(List<DSSDocument> documents, DSSDocument evidenceRecordDocument, ASiCContainerEvidenceRecordParameters parameters) Builds anASiCContentcontaining the evidence record file documentprotected DSSDocumentAbstractASiCContainerEvidenceRecordBuilder.buildEvidenceRecordManifest(ASiCContent asicContent, List<DSSDocument> coveredDocuments, DigestAlgorithm digestAlgorithm, String evidenceRecordFilename) Builds an ASiCEvidenceRecordManifest for the evidence record based on a list ofcoveredDocumentswhen requiredZipContentEvidenceRecordDigestBuilder.computeDigestForDocuments(List<DSSDocument> documents) Computes a list of digests for the given list ofDSSDocumentsprotected ASiCContentAbstractASiCContainerEvidenceRecordBuilder.initASiCContent(List<DSSDocument> documents, ASiCParameters parameters) This method initializes anASiCContentfrom the given list ofdocumentsConstructors in eu.europa.esig.dss.asic.common.evidencerecord with parameters of type DSSDocumentModifierConstructorDescriptionASiCEvidenceRecordDigestBuilder(DSSDocument asicContainer) Creates a ASiCEvidenceRecordDigestBuilder to build hashes from aDSSDocument, represented by an ASiC container, using a default SHA-256 digest algorithmASiCEvidenceRecordDigestBuilder(DSSDocument asicContainer, DigestAlgorithm digestAlgorithm) Creates a ASiCEvidenceRecordDigestBuilder to build hashes with the providedDigestAlgorithmfrom aDSSDocument, represented by an ASiC containerASiCEvidenceRecordManifestBuilder(DSSDocument asicContainer, DigestAlgorithm digestAlgorithm, String evidenceRecordFilename) Constructor to build a manifest from aeu.europa.esig.dss.model.DSSDocumentrepresenting the ASiC containerZipContentEvidenceRecordDigestBuilder(DSSDocument zipContainer) Creates a ZipContentEvidenceRecordDigestBuilder to build hashes from aDSSDocument, represented by a ZIP container, using a default SHA-256 digest algorithmZipContentEvidenceRecordDigestBuilder(DSSDocument zipContainer, DigestAlgorithm digestAlgorithm) Creates a ZipContentEvidenceRecordDigestBuilder to build hashes with the providedDigestAlgorithmfrom aDSSDocument, represented by a ZIP container -
Uses of DSSDocument in eu.europa.esig.dss.asic.common.extract
Fields in eu.europa.esig.dss.asic.common.extract declared as DSSDocumentModifier and TypeFieldDescriptionprotected final DSSDocumentDefaultASiCContainerExtractor.asicContainerRepresents an ASiC containerMethods in eu.europa.esig.dss.asic.common.extract with parameters of type DSSDocumentModifier and TypeMethodDescriptionASiCContainerExtractorFactory.create(DSSDocument asicContainer) Creates a newASiCContainerExtractorfor the given ZIP-archive containerstatic ASiCContainerExtractorDefaultASiCContainerExtractor.fromDocument(DSSDocument asicContainer) Loads an implementation ofASiCContainerExtractorcorresponding toasicContainertypebooleanASiCContainerExtractorFactory.isSupported(DSSDocument asicContainer) Returns whether the format of given ASiC document is supported by the currentASiCContainerExtractorConstructors in eu.europa.esig.dss.asic.common.extract with parameters of type DSSDocumentModifierConstructorDescriptionprotectedDefaultASiCContainerExtractor(DSSDocument asicContainer) The default constructor -
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 newASiCContainerMergerfor the given ZIP-archive containersstatic ASiCContainerMergerDefaultContainerMerger.fromDocuments(DSSDocument... containers) This method loads a relevantASiCContainerMergerto be used to merge given container documentsprotected abstract DefaultASiCContainerExtractorDefaultContainerMerger.getContainerExtractor(DSSDocument container) This method returns a relevant ASiC container extractorbooleanASiCContainerMerger.isSupported(DSSDocument... containers) Returns whether the format of given containers is supported by the currentASiCContainerMergerbooleanASiCContainerMergerFactory.isSupported(DSSDocument... containers) Returns whether the format of given containers is supported by the currentASiCContainerMergerprotected abstract booleanDefaultContainerMerger.isSupported(DSSDocument container) This method verifies whether the providedcontaineris supported by the current classbooleanDefaultContainerMerger.isSupported(DSSDocument... containers) Constructors in eu.europa.esig.dss.asic.common.merge with parameters of type DSSDocumentModifierConstructorDescriptionprotectedDefaultContainerMerger(DSSDocument... containers) This constructor is used to create anASiCContainerMergerfrom provided container documents -
Uses of DSSDocument in eu.europa.esig.dss.asic.common.signature
Methods in eu.europa.esig.dss.asic.common.signature that return DSSDocumentModifier and TypeMethodDescriptionAbstractASiCSignatureService.addContainerEvidenceRecord(DSSDocument document, DSSDocument evidenceRecordDocument, ASiCContainerEvidenceRecordParameters parameters) Creates a new ASiC container with theevidenceRecordDocumentapplied to thedocument.abstract DSSDocumentAbstractASiCSignatureService.addContainerEvidenceRecord(List<DSSDocument> documents, DSSDocument evidenceRecordDocument, ASiCContainerEvidenceRecordParameters parameters) Creates a new ASiC container with theevidenceRecordDocumentapplied to thedocuments.protected DSSDocumentAbstractASiCSignatureService.buildASiCContainer(ASiCContent asicContent) Creates a ZIP-Archive by copying the provided documents to the new container using the current time as ZIP creation timeprotected DSSDocumentAbstractASiCSignatureService.buildASiCContainer(ASiCContent asicContent, Date creationTime) Creates a ZIP-Archive by copying the provided documents to the new containerprotected DSSDocumentAbstractASiCDataToSignHelperBuilder.createPackageZip(List<DSSDocument> documents, Date signingDate) Creates a zip with all files to be signedASiCSignatureExtensionHelper.extractSignatureDocument(String signatureId) Returns a file containing a signature with the given idprotected DSSDocumentAbstractASiCDataToSignHelperBuilder.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 TypeMethodDescriptionabstract List<DSSDocument> ASiCSignatureExtensionHelper.getDetachedDocuments(String signatureFilename) Returns a list if detached documents for a signature with a given filenameASiCSignatureExtensionHelper.getSignatureDocuments()Gets a list of signature documents.Methods in eu.europa.esig.dss.asic.common.signature with parameters of type DSSDocumentModifier and TypeMethodDescriptionAbstractASiCSignatureService.addContainerEvidenceRecord(DSSDocument document, DSSDocument evidenceRecordDocument, ASiCContainerEvidenceRecordParameters parameters) Creates a new ASiC container with theevidenceRecordDocumentapplied to thedocument.abstract DSSDocumentAbstractASiCSignatureService.addContainerEvidenceRecord(List<DSSDocument> documents, DSSDocument evidenceRecordDocument, ASiCContainerEvidenceRecordParameters parameters) Creates a new ASiC container with theevidenceRecordDocumentapplied to thedocuments.voidASiCSignatureExtensionHelper.checkSignatureExtensionPossible(DSSDocument signatureDocument) This method verifies if a signatureDocument can be modified Throws an exception when an extension is not possibleprotected ASiCContentAbstractASiCSignatureService.extractCurrentArchive(DSSDocument archive) Extracts the content (documents) of the ASiC containerprotected abstract DefaultASiCContainerExtractorAbstractASiCSignatureService.getArchiveExtractor(DSSDocument archive) Returns a relevant ASiC container extractor for the given formatprotected abstract DefaultASiCContainerExtractorASiCSignatureExtensionHelper.getASiCContainerExtractor(DSSDocument asicContainer) Gets an ASiC container extractor relative to the current implementationprotected abstract ASiCContainerExtractorAbstractASiCContentBuilder.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 DocumentAnalyzerASiCSignatureExtensionHelper.getDocumentAnalyzer(DSSDocument signatureDocument) Gets a Document Validator relative to the current implementationprotected StringAbstractASiCSignatureService.getFinalArchiveName(DSSDocument originalFile, SigningOperation operation, MimeType containerMimeType) Generates and returns a final name for the archive to createAbstractASiCSignatureService.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 TypeMethodDescriptionabstract DSSDocumentAbstractASiCSignatureService.addContainerEvidenceRecord(List<DSSDocument> documents, DSSDocument evidenceRecordDocument, ASiCContainerEvidenceRecordParameters parameters) Creates a new ASiC container with theevidenceRecordDocumentapplied to thedocuments.protected voidAbstractASiCSignatureService.assertSignaturePossible(List<DSSDocument> documentsToSign) This method verifies whether the signature creation is possible with the provided documentsAbstractASiCContentBuilder.build(List<DSSDocument> documents, ASiCContainerType asicContainerType) Builds theASiCContentfrom theprotected DSSDocumentAbstractASiCDataToSignHelperBuilder.createPackageZip(List<DSSDocument> documents, Date signingDate) Creates a zip with all files to be signedprotected DSSDocumentAbstractASiCDataToSignHelperBuilder.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 DSSDocumentModifierConstructorDescriptionprotectedASiCSignatureExtensionHelper(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 TypeMethodDescriptionstatic DSSDocumentASiCManifestParser.getLinkedManifest(List<DSSDocument> manifestDocuments, String signatureName) Returns the relative manifests for the given signature nameAbstractASiCContainerAnalyzer.getMimeTypeDocument()Returns a mimetype documentAbstractASiCContainerValidator.getMimeTypeDocument()Returns a mimetype documentMethods in eu.europa.esig.dss.asic.common.validation that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionAbstractASiCContainerAnalyzer.getAllDocuments()Returns a list of all embedded documentsAbstractASiCContainerValidator.getAllDocuments()Returns a list of all embedded documentsAbstractASiCContainerAnalyzer.getAllManifestDocuments()Returns a list of all embedded manifest documentsAbstractASiCContainerValidator.getAllManifestDocuments()Returns a list of all embedded manifest documentsAbstractASiCContainerAnalyzer.getArchiveDocuments()Returns a list of archive documents embedded the containerAbstractASiCContainerValidator.getArchiveDocuments()Returns a list of archive documents embedded the containerAbstractASiCContainerAnalyzer.getArchiveManifestDocuments()Returns a list of embedded archive manifest documentsAbstractASiCContainerValidator.getArchiveManifestDocuments()Returns a list of embedded archive manifest documentsAbstractASiCContainerAnalyzer.getEvidenceRecordDocuments()Returns a list of embedded evidence record documentsAbstractASiCContainerValidator.getEvidenceRecordDocuments()Returns a list of embedded evidence record documentsAbstractASiCContainerAnalyzer.getEvidenceRecordManifestDocuments()Returns a list of embedded evidence record manifest documentsAbstractASiCContainerValidator.getEvidenceRecordManifestDocuments()Returns a list of embedded evidence record manifest documentsAbstractASiCContainerAnalyzer.getManifestDocuments()Returns a list of embedded signature manifest documentsAbstractASiCContainerValidator.getManifestDocuments()Returns a list of embedded signature manifest documentsAbstractASiCContainerAnalyzer.getSignatureDocuments()Returns a list of embedded signature documentsAbstractASiCContainerValidator.getSignatureDocuments()Returns a list of embedded signature documentsAbstractASiCContainerAnalyzer.getSignedDocuments()Returns a list of embedded signed documentsAbstractASiCContainerValidator.getSignedDocuments()Returns a list of embedded signed documentsprotected List<DSSDocument> AbstractASiCContainerAnalyzer.getSignedDocumentsASiCS(List<DSSDocument> retrievedDocs) Returns a list of "package.zip" documentsAbstractASiCContainerAnalyzer.getTimestampDocuments()Returns a list of embedded timestamp documentsAbstractASiCContainerValidator.getTimestampDocuments()Returns a list of embedded timestamp documentsAbstractASiCContainerAnalyzer.getUnsupportedDocuments()Returns a list of unsupported documents from the containerAbstractASiCContainerValidator.getUnsupportedDocuments()Returns a list of unsupported documents from the containerMethods in eu.europa.esig.dss.asic.common.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionprotected voidAbstractASiCContainerAnalyzer.assertEvidenceRecordDocumentExtensionMatch(DSSDocument evidenceRecordDocument, EvidenceRecordTypeEnum evidenceRecordTypeEnum) This method verifies whether the extension ofevidenceRecordDocumentis conformant to the applicable standard for the givenevidenceRecordTypeEnumstatic ManifestFileASiCManifestParser.getManifestFile(DSSDocument manifestDocument) Parses and convertsDSSDocumenttoManifestFileprotected ManifestFileAbstractASiCContainerAnalyzer.getValidatedManifestFile(DSSDocument manifest) Returns a validatedManifestFilefor the givenmanifestdocumentMethod parameters in eu.europa.esig.dss.asic.common.validation with type arguments of type DSSDocumentModifier and TypeMethodDescriptionstatic DSSDocumentASiCManifestParser.getLinkedManifest(List<DSSDocument> manifestDocuments, String signatureName) Returns the relative manifests for the given signature nameprotected List<DSSDocument> AbstractASiCContainerAnalyzer.getSignedDocumentsASiCS(List<DSSDocument> retrievedDocs) Returns a list of "package.zip" documentsConstructors in eu.europa.esig.dss.asic.common.validation with parameters of type DSSDocumentModifierConstructorDescriptionprotectedAbstractASiCContainerAnalyzer(DSSDocument document) The default constructorConstructor parameters in eu.europa.esig.dss.asic.common.validation with type arguments of type DSSDocumentModifierConstructorDescriptionASiCManifestValidator(ManifestFile manifest, List<DSSDocument> signedDocuments) The default constructor -
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 booleanOpenDocumentSupportUtils.isExternalDataDocument(DSSDocument document) Verifies whether the document is located within "external-data/" folder within the archivebooleanASiCWithXAdESFormatDetector.isSupportedASiC(DSSDocument document) booleanASiCWithXAdESFormatDetector.isSupportedZip(DSSDocument document) -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.extract
Methods in eu.europa.esig.dss.asic.xades.extract with parameters of type DSSDocumentModifier and TypeMethodDescriptionASiCWithXAdESContainerExtractorFactory.create(DSSDocument asicContainer) booleanASiCWithXAdESContainerExtractorFactory.isSupported(DSSDocument asicContainer) Constructors in eu.europa.esig.dss.asic.xades.extract 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 DefaultASiCContainerExtractorAbstractASiCWithXAdESContainerMerger.getContainerExtractor(DSSDocument container) protected booleanAbstractASiCWithXAdESContainerMerger.isSupported(DSSDocument container) protected booleanASiCEWithXAdESContainerMerger.isSupported(DSSDocument container) protected booleanASiCSWithXAdESContainerMerger.isSupported(DSSDocument container) booleanASiCWithXAdESContainerMergerFactory.isSupported(DSSDocument... containers) Constructors in eu.europa.esig.dss.asic.xades.merge with parameters of type DSSDocumentModifierConstructorDescriptionprotectedAbstractASiCWithXAdESContainerMerger(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.addContainerEvidenceRecord(List<DSSDocument> documents, DSSDocument evidenceRecordDocument, ASiCContainerEvidenceRecordParameters parameters) ASiCWithXAdESService.addSignatureEvidenceRecord(DSSDocument asicContainer, DSSDocument evidenceRecordDocument, XAdESEvidenceRecordIncorporationParameters parameters) ASiCWithXAdESService.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 validationASiCWithXAdESSignatureExtensionHelper.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.addContainerEvidenceRecord(List<DSSDocument> documents, DSSDocument evidenceRecordDocument, ASiCContainerEvidenceRecordParameters parameters) ASiCWithXAdESService.addSignatureEvidenceRecord(DSSDocument asicContainer, DSSDocument evidenceRecordDocument, XAdESEvidenceRecordIncorporationParameters parameters) ASiCWithXAdESService.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 DefaultASiCContainerExtractorASiCWithXAdESService.getArchiveExtractor(DSSDocument archive) protected DefaultASiCContainerExtractorASiCWithXAdESSignatureExtensionHelper.getASiCContainerExtractor(DSSDocument asicContainer) protected ASiCContainerExtractorASiCWithXAdESASiCContentBuilder.getContainerExtractor(DSSDocument archiveDocument) ASiCWithXAdESService.getDataToBeCounterSigned(DSSDocument asicContainer, XAdESCounterSignatureParameters parameters) protected DocumentAnalyzerASiCWithXAdESSignatureExtensionHelper.getDocumentAnalyzer(DSSDocument signatureDocument) Method parameters in eu.europa.esig.dss.asic.xades.signature with type arguments of type DSSDocumentModifier and TypeMethodDescriptionASiCWithXAdESService.addContainerEvidenceRecord(List<DSSDocument> documents, DSSDocument evidenceRecordDocument, ASiCContainerEvidenceRecordParameters parameters) ASiCWithXAdESService.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 DSSDocumentModifierConstructorDescriptionprotectedASiCWithXAdESSignatureExtensionHelper(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 TypeMethodDescriptionASiCContainerWithXAdESAnalyzer.getOriginalDocuments(AdvancedSignature advancedSignature) Methods in eu.europa.esig.dss.asic.xades.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionASiCContainerWithXAdESAnalyzerFactory.create(DSSDocument document) ASiCContainerWithXAdESValidatorFactory.create(DSSDocument document) booleanASiCContainerWithXAdESAnalyzer.isSupported(DSSDocument dssDocument) booleanASiCContainerWithXAdESAnalyzerFactory.isSupported(DSSDocument document) booleanASiCContainerWithXAdESValidatorFactory.isSupported(DSSDocument document) Constructors in eu.europa.esig.dss.asic.xades.validation with parameters of type DSSDocumentModifierConstructorDescriptionASiCContainerWithXAdESAnalyzer(DSSDocument asicContainer) The default constructorASiCContainerWithXAdESValidator(DSSDocument asicContainer) The default constructorASiCEWithXAdESManifestParser(DSSDocument manifestDocument) Constructor with a manifest document only (no assigned signature)ASiCEWithXAdESManifestParser(DSSDocument signatureDocument, DSSDocument manifestDocument) The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.cades
Methods in eu.europa.esig.dss.cades that return DSSDocumentModifier and TypeMethodDescriptionstatic DSSDocumentCAdESUtils.getOriginalDocument(CMS cms, List<DSSDocument> detachedDocuments) Returns the original document from the providedCMSMethods in eu.europa.esig.dss.cades with parameters of type DSSDocumentModifier and TypeMethodDescriptionstatic org.bouncycastle.cms.CMSTypedDataCAdESUtils.getContentToBeSigned(DSSDocument toSignData) Deprecated.since DSS 6.3.static org.bouncycastle.operator.DigestCalculatorProviderCAdESUtils.getDigestCalculatorProvider(DSSDocument toSignDocument, DigestAlgorithm digestAlgorithm) Returns aDigestCalculatorProviderMethod parameters in eu.europa.esig.dss.cades with type arguments of type DSSDocumentModifier and TypeMethodDescriptionstatic DSSDocumentCAdESUtils.getOriginalDocument(CMS cms, List<DSSDocument> detachedDocuments) Returns the original document from the providedCMS -
Uses of DSSDocument in eu.europa.esig.dss.cades.evidencerecord
Fields in eu.europa.esig.dss.cades.evidencerecord declared as DSSDocumentModifier and TypeFieldDescriptionprotected DSSDocumentCAdESEvidenceRecordDigestBuilder.detachedDocumentOriginal document in case of a detached signatureMethods in eu.europa.esig.dss.cades.evidencerecord that return DSSDocumentModifier and TypeMethodDescriptionCAdESEmbeddedEvidenceRecordBuilder.addEvidenceRecord(DSSDocument signatureDocument, DSSDocument evidenceRecordDocument, CAdESEvidenceRecordIncorporationParameters parameters) Adds the evidence record document to a signature with the givensignatureId, provided the evidence record correctly applies to the signatureprotected DSSDocumentCAdESEmbeddedEvidenceRecordHelper.getDetachedDocument()Gets the detached document covered by a detached CAdESMethods in eu.europa.esig.dss.cades.evidencerecord with parameters of type DSSDocumentModifier and TypeMethodDescriptionCAdESEmbeddedEvidenceRecordBuilder.addEvidenceRecord(DSSDocument signatureDocument, DSSDocument evidenceRecordDocument, CAdESEvidenceRecordIncorporationParameters parameters) Adds the evidence record document to a signature with the givensignatureId, provided the evidence record correctly applies to the signatureCAdESEvidenceRecordDigestBuilder.setDetachedContent(DSSDocument detachedDocument) Sets an original document in case of a detached signature.Method parameters in eu.europa.esig.dss.cades.evidencerecord with type arguments of type DSSDocumentModifier and TypeMethodDescriptionvoidCAdESEmbeddedEvidenceRecordHelper.setDetachedContents(List<DSSDocument> detachedContents) Constructors in eu.europa.esig.dss.cades.evidencerecord with parameters of type DSSDocumentModifierConstructorDescriptionCAdESEvidenceRecordDigestBuilder(DSSDocument signatureDocument) Default constructor to instantiate CAdESEvidenceRecordDigestBuilder with a SHA-256 digest algorithmCAdESEvidenceRecordDigestBuilder(DSSDocument signatureDocument, DigestAlgorithm digestAlgorithm) Constructor to instantiate CAdESEvidenceRecordDigestBuilder with a custom digest algorithm -
Uses of DSSDocument in eu.europa.esig.dss.cades.signature
Methods in eu.europa.esig.dss.cades.signature that return DSSDocumentModifier and TypeMethodDescriptionCAdESCounterSignatureBuilder.addCounterSignature(CMS originalCMS, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue) Adds a counter signature the provided CMSCAdESService.addSignatureEvidenceRecord(DSSDocument signatureDocument, DSSDocument evidenceRecordDocument, CAdESEvidenceRecordIncorporationParameters parameters) CAdESService.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 inSignaturePolicyStoreCAdESSignaturePolicyStoreBuilder.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 withinSignaturePolicyStoreCAdESService.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.addSignatureEvidenceRecord(DSSDocument signatureDocument, DSSDocument evidenceRecordDocument, CAdESEvidenceRecordIncorporationParameters parameters) CAdESService.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 inSignaturePolicyStoreCAdESSignaturePolicyStoreBuilder.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 withinSignaturePolicyStoreorg.bouncycastle.cms.SignerInfoGeneratorCMSSignerInfoGeneratorBuilder.build(DSSDocument toSignDocument, CAdESSignatureParameters parameters, org.bouncycastle.operator.ContentSigner contentSigner) Builds aSignerInfoGeneratorfor signing atoSignDocumentCAdESService.counterSignSignature(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue) CMSBuilder.createCMS(org.bouncycastle.cms.SignerInfoGenerator signerInfoGenerator, DSSDocument toSignDocument) Builds aCMSSignedDataCAdESService.extendDocument(DSSDocument toExtendDocument, CAdESSignatureParameters parameters) CadesLevelBaselineLTATimestampExtractor.getArchiveTimestampV3MessageImprint(org.bouncycastle.cms.SignerInformation signerInformation, org.bouncycastle.asn1.cms.Attribute atsHashIndexAttribute, DSSDocument originalDocument, DigestAlgorithm digestAlgorithm) Computes a message-imprint for an archive-time-stamp-v3CAdESService.getContentTimestamp(DSSDocument toSignDocument, CAdESSignatureParameters parameters) CAdESService.getDataToBeCounterSigned(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters) CAdESService.getDataToSign(DSSDocument toSignDocument, CAdESSignatureParameters parameters) protected org.bouncycastle.cms.SignerInfoGeneratorBuilderCMSSignerInfoGeneratorBuilder.getSignerInfoGeneratorBuilder(CAdESSignatureParameters parameters, DSSDocument contentToSign) This method creates a builder of SignerInfoGeneratororg.bouncycastle.cms.SignerInformationCAdESCounterSignatureBuilder.getSignerInformationToBeCounterSigned(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters) Returns aSignerInformationto 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 DSSDocumentCAdESSignature.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 TypeMethodDescriptionCMSDocumentAnalyzer.getOriginalDocuments(AdvancedSignature advancedSignature) Methods in eu.europa.esig.dss.cades.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionCMSDocumentAnalyzerFactory.create(DSSDocument document) CMSDocumentValidatorFactory.create(DSSDocument document) booleanCMSDocumentAnalyzer.isSupported(DSSDocument dssDocument) booleanCMSDocumentAnalyzerFactory.isSupported(DSSDocument document) booleanCMSDocumentValidatorFactory.isSupported(DSSDocument document) Constructors in eu.europa.esig.dss.cades.validation with parameters of type DSSDocumentModifierConstructorDescriptionCMSDocumentAnalyzer(DSSDocument document) The default constructor forCMSDocumentAnalyzercreation from aDSSDocument.CMSDocumentValidator(DSSDocument document) The default constructor forCMSDocumentValidator.PrecomputedDigestCalculatorProvider(DSSDocument dssDocument) The default constructor -
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 DSSDocumentCAdESSignatureScopeFinder.getOriginalDocument(CAdESSignature cadesSignature) Returns original document for the given CAdES signatureprotected DSSDocumentCAdESSignatureScopeFinder.getReferencedDocument(ManifestEntry manifestEntry, List<DSSDocument> detachedDocuments) This method returns a document references from themanifestEntryMethods 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 ofSignatureScopes from the signed documentMethod parameters in eu.europa.esig.dss.cades.validation.scope with type arguments of type DSSDocumentModifier and TypeMethodDescriptionprotected DSSDocumentCAdESSignatureScopeFinder.getReferencedDocument(ManifestEntry manifestEntry, List<DSSDocument> detachedDocuments) This method returns a document references from themanifestEntry -
Uses of DSSDocument in eu.europa.esig.dss.cms
Classes in eu.europa.esig.dss.cms that implement DSSDocumentFields in eu.europa.esig.dss.cms declared as DSSDocumentModifier and TypeFieldDescriptionprotected DSSDocumentAbstractCMSGenerator.toBeSignedDocumentThe document to be signedMethods in eu.europa.esig.dss.cms that return DSSDocumentModifier and TypeMethodDescriptionCMS.getSignedContent()Gets the signed content incorporated within the SignedData.encapContentInfo.eContent fieldstatic DSSDocumentCMSUtils.writeToDSSDocument(CMS cms, DSSResourcesHandlerBuilder resourcesHandlerBuilder) Creates aDSSDocumentfrom the givenCMS.ICMSUtils.writeToDSSDocument(CMS cms, DSSResourcesHandlerBuilder resourcesHandlerBuilder) Creates aDSSDocumentfrom the givenCMSusing the implementation based coding.Methods in eu.europa.esig.dss.cms with parameters of type DSSDocumentModifier and TypeMethodDescriptionstatic CMSCMSUtils.parseToCMS(DSSDocument document) Parses the givenDSSDocumentto aCMSobjectICMSUtils.parseToCMS(DSSDocument document) Parses the givenDSSDocumentto aCMSobjectvoidAbstractCMSGenerator.setToBeSignedDocument(DSSDocument toBeSignedDocument) voidCMSGenerator.setToBeSignedDocument(DSSDocument document) Adds a document to be signedstatic org.bouncycastle.cms.CMSTypedDataCMSUtils.toCMSEncapsulatedContent(DSSDocument document) Converts aDSSDocumentto the correspondingCMSTypedDataobject typeorg.bouncycastle.cms.CMSTypedDataICMSUtils.toCMSEncapsulatedContent(DSSDocument document) Converts aDSSDocumentto the correspondingCMSTypedDataobject type -
Uses of DSSDocument in eu.europa.esig.dss.cms.object
Methods in eu.europa.esig.dss.cms.object that return DSSDocumentModifier and TypeMethodDescriptionCMSSignedDataObject.getSignedContent()CMSObjectUtils.writeToDSSDocument(CMS cms, DSSResourcesHandlerBuilder resourcesHandlerBuilder) Methods in eu.europa.esig.dss.cms.object with parameters of type DSSDocumentModifier and TypeMethodDescriptionCMSObjectUtils.parseToCMS(DSSDocument document) org.bouncycastle.cms.CMSTypedDataCMSObjectUtils.toCMSEncapsulatedContent(DSSDocument document) -
Uses of DSSDocument in eu.europa.esig.dss.cms.stream
Classes in eu.europa.esig.dss.cms.stream that implement DSSDocumentModifier and TypeClassDescriptionclassThis class is used to extract a wrapped signed content from a CMS document.Methods in eu.europa.esig.dss.cms.stream that return DSSDocumentModifier and TypeMethodDescriptionCMSStreamDocumentBuilder.createCMSSignedDocument(CMS cms) Builds aCMSSignedDataCMSSignedDataStream.getCMSDocument()Gets the original CMS document used to create the CMSCMSSignedDataStream.getSignedContent()CMSStreamUtils.writeToDSSDocument(CMS cms, DSSResourcesHandlerBuilder resourcesHandlerBuilder) Methods in eu.europa.esig.dss.cms.stream with parameters of type DSSDocumentModifier and TypeMethodDescriptionstatic CMSSignedDataStreamCMSStreamDocumentParser.fromDSSDocument(DSSDocument document) ParsesDSSDocumentand returns aCMSSignedDataStreamCMSStreamUtils.parseToCMS(DSSDocument document) voidCMSSignedDataStream.setSignedContent(DSSDocument signedContent) Sets the signed content incorporated within the SignedData.encapContentInfo.eContent fieldorg.bouncycastle.cms.CMSTypedDataCMSStreamUtils.toCMSEncapsulatedContent(DSSDocument document) Constructors in eu.europa.esig.dss.cms.stream with parameters of type DSSDocumentModifierConstructorDescriptionCMSSignedContentDocument(DSSDocument cmsDocument) Constructor with a null signed content typeCMSSignedContentDocument(DSSDocument cmsDocument, org.bouncycastle.asn1.ASN1ObjectIdentifier signedContentType) Constructor with a provided signed content typeCMSSignedDataStream(DSSDocument cmsDocument) This constructor is used to create an instance ofCMSSignedDataStreamon parsing of an existing CMS document -
Uses of DSSDocument in eu.europa.esig.dss.evidencerecord
Methods in eu.europa.esig.dss.evidencerecord that return DSSDocumentModifier and TypeMethodDescriptionEvidenceRecordIncorporationService.addSignatureEvidenceRecord(DSSDocument signatureDocument, DSSDocument evidenceRecordDocument, ERP parameters) Incorporates the Evidence Record as an unsigned property into the signatureMethods in eu.europa.esig.dss.evidencerecord that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionAbstractEvidenceRecordIncorporationParameters.getDetachedContents()Methods in eu.europa.esig.dss.evidencerecord with parameters of type DSSDocumentModifier and TypeMethodDescriptionEvidenceRecordIncorporationService.addSignatureEvidenceRecord(DSSDocument signatureDocument, DSSDocument evidenceRecordDocument, ERP parameters) Incorporates the Evidence Record as an unsigned property into the signatureMethod parameters in eu.europa.esig.dss.evidencerecord with type arguments of type DSSDocumentModifier and TypeMethodDescriptionvoidAbstractEvidenceRecordIncorporationParameters.setDetachedContents(List<DSSDocument> detachedContents) -
Uses of DSSDocument in eu.europa.esig.dss.evidencerecord.asn1.digest
Methods in eu.europa.esig.dss.evidencerecord.asn1.digest with parameters of type DSSDocumentModifier and TypeMethodDescriptionASN1ArchiveTimeStampSequenceDigestHelper.computeChainAndDocumentHash(Digest archiveTimeStampChainHash, DSSDocument document) Computes a hash value for chain-hash and document-hashASN1EvidenceRecordDataObjectDigestBuilderFactory.create(DSSDocument document) ASN1EvidenceRecordDataObjectDigestBuilderFactory.create(DSSDocument document, DigestAlgorithm digestAlgorithm) Method parameters in eu.europa.esig.dss.evidencerecord.asn1.digest with type arguments of type DSSDocumentModifier and TypeMethodDescriptionASN1EvidenceRecordRenewalDigestBuilder.setDetachedContent(List<DSSDocument> detachedContent) Constructors in eu.europa.esig.dss.evidencerecord.asn1.digest with parameters of type DSSDocumentModifierConstructorDescriptionConstructor to create a builder for computing digest on the given document using a SHA-256 digest algorithmASN1EvidenceRecordDataObjectDigestBuilder(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given document using a provided digest algorithmCreates an instance ofASN1EvidenceRecordRenewalDigestBuilderallowing to build hash for ASN.1 evidence recorddocument's renewal.ASN1EvidenceRecordRenewalDigestBuilder(DSSDocument document, DigestAlgorithm digestAlgorithm) Creates an instance ofASN1EvidenceRecordRenewalDigestBuilderallowing to build hash for ASN.1 evidence recorddocument's renewal, with the provideddigestAlgorithm(see note below). -
Uses of DSSDocument in eu.europa.esig.dss.evidencerecord.asn1.validation
Methods in eu.europa.esig.dss.evidencerecord.asn1.validation that return DSSDocumentModifier and TypeMethodDescriptionprotected DSSDocumentASN1EvidenceRecordTimeStampSequenceVerifier.getMatchingDocument(Digest digest, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedContents) This method returns a document with matchingDigestfrom a provided list ofdetachedContentsMethods in eu.europa.esig.dss.evidencerecord.asn1.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionASN1EvidenceRecordAnalyzerFactory.create(DSSDocument document) ASN1EvidenceRecordValidatorFactory.create(DSSDocument document) protected DataObjectDigestBuilderASN1EvidenceRecordTimeStampSequenceVerifier.getDataObjectDigestBuilder(DSSDocument document, ArchiveTimeStampChainObject archiveTimeStampChain) booleanASN1EvidenceRecordAnalyzer.isSupported(DSSDocument dssDocument) booleanASN1EvidenceRecordAnalyzerFactory.isSupported(DSSDocument document) booleanASN1EvidenceRecordValidatorFactory.isSupported(DSSDocument document) Method parameters in eu.europa.esig.dss.evidencerecord.asn1.validation with type arguments of type DSSDocumentModifier and TypeMethodDescriptionprotected List<byte[]> ASN1EvidenceRecordTimeStampSequenceVerifier.getLastTimeStampSequenceHashList(DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedDocuments) protected DSSDocumentASN1EvidenceRecordTimeStampSequenceVerifier.getMatchingDocument(Digest digest, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedContents) This method returns a document with matchingDigestfrom a provided list ofdetachedContentsConstructors in eu.europa.esig.dss.evidencerecord.asn1.validation with parameters of type DSSDocumentModifierConstructorDescriptionASN1EvidenceRecord(DSSDocument document) Constructor to instantiate an ASN.1 Evidence Record from aDSSDocumentASN1EvidenceRecordAnalyzer(DSSDocument document) The default constructor for ASN1EvidenceRecordValidator.ASN1EvidenceRecordValidator(DSSDocument document) The default constructor for XMLEvidenceRecordValidator. -
Uses of DSSDocument in eu.europa.esig.dss.evidencerecord.common.digest
Fields in eu.europa.esig.dss.evidencerecord.common.digest declared as DSSDocumentModifier and TypeFieldDescriptionprotected final DSSDocumentAbstractDataObjectDigestBuilder.documentDocument to compute digest onFields in eu.europa.esig.dss.evidencerecord.common.digest with type parameters of type DSSDocumentModifier and TypeFieldDescriptionprotected List<DSSDocument> AbstractEvidenceRecordRenewalDigestBuilder.detachedContentList of documents to compute hashes forMethod parameters in eu.europa.esig.dss.evidencerecord.common.digest with type arguments of type DSSDocumentModifier and TypeMethodDescriptionAbstractEvidenceRecordRenewalDigestBuilder.setDetachedContent(List<DSSDocument> detachedContent) Sets detached content to be used for a digest group hash computation on hash-tree renewal NOTE : at least one of the documents from the original data group should be provided for a correct hash-tree renewalConstructors in eu.europa.esig.dss.evidencerecord.common.digest with parameters of type DSSDocumentModifierConstructorDescriptionprotectedAbstractDataObjectDigestBuilder(DSSDocument document) Constructor to create a builder for computing digest on the given document using a SHA-256 digest algorithmprotectedAbstractDataObjectDigestBuilder(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given document using a provided digest algorithm -
Uses of DSSDocument in eu.europa.esig.dss.evidencerecord.common.validation
Methods in eu.europa.esig.dss.evidencerecord.common.validation that return DSSDocumentModifier and TypeMethodDescriptionprotected DSSDocumentEvidenceRecordTimeStampSequenceVerifier.getMatchingDocument(Digest digest, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedContents) This method returns a document with matchingDigestfrom a provided list ofdetachedContentsprotected DSSDocumentEvidenceRecordTimeStampSequenceVerifier.getMatchingDocument(ManifestEntry manifestEntry, List<DSSDocument> detachedContents) This method returns a matching document for the givenmanifestEntryMethods in eu.europa.esig.dss.evidencerecord.common.validation that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionDefaultEvidenceRecord.getDetachedContents()protected List<DSSDocument> DefaultEvidenceRecordAnalyzer.getEvidenceRecordDetachedContents()Returns a list of detached documents for the evidence recordDefaultEvidenceRecordAnalyzer.getOriginalDocuments(AdvancedSignature advancedSignature) DefaultEvidenceRecordValidator.getOriginalDocuments(AdvancedSignature advancedSignature) Methods in eu.europa.esig.dss.evidencerecord.common.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionEvidenceRecordValidatorFactory.create(DSSDocument document) This method instantiates aEvidenceRecordValidatorwith the given documentstatic EvidenceRecordAnalyzerDefaultEvidenceRecordAnalyzer.fromDocument(DSSDocument dssDocument) This method guesses the document format and returns an appropriate evidence record reader.DefaultEvidenceRecordValidator.fromDocument(DSSDocument dssDocument) This method guesses the document format and returns an appropriate evidence record validator.protected abstract DataObjectDigestBuilderEvidenceRecordTimeStampSequenceVerifier.getDataObjectDigestBuilder(DSSDocument document, ArchiveTimeStampChainObject archiveTimeStampChain) ReturnsDataObjectDigestBuildercorresponding to the current implementationprotected byte[]EvidenceRecordTimeStampSequenceVerifier.getDocumentDigest(DSSDocument document, ArchiveTimeStampChainObject archiveTimeStampChain) Returns digest value for the documentprotected ManifestEntryEvidenceRecordTimeStampSequenceVerifier.getMatchingManifestEntry(ManifestFile manifestFile, Digest digest, DSSDocument document) Returns a validated manifest entry matching the givendigestordocumentbooleanEvidenceRecordValidatorFactory.isSupported(DSSDocument document) This method tests if the current implementation ofEvidenceRecordValidatorsupports the given documentMethod parameters in eu.europa.esig.dss.evidencerecord.common.validation with type arguments of type DSSDocumentModifier and TypeMethodDescriptionprotected List<byte[]> EvidenceRecordTimeStampSequenceVerifier.getLastTimeStampSequenceHashList(DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedDocuments) Returns a list of hashes computed on a given previous time-stamp sequence hashprotected DSSDocumentEvidenceRecordTimeStampSequenceVerifier.getMatchingDocument(Digest digest, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedContents) This method returns a document with matchingDigestfrom a provided list ofdetachedContentsprotected DSSDocumentEvidenceRecordTimeStampSequenceVerifier.getMatchingDocument(ManifestEntry manifestEntry, List<DSSDocument> detachedContents) This method returns a matching document for the givenmanifestEntryvoidDefaultEvidenceRecord.setDetachedContents(List<DSSDocument> detachedContents) Sets a list of detached documents covered by the reduced HashTree of the Evidence Recordprotected List<ReferenceValidation> EvidenceRecordTimeStampSequenceVerifier.validateArchiveDataObjects(DigestValueGroup digestValueGroup, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedContents, ManifestFile manifestFile) This method is used to verify archive data objects for presence document digests withindigestValueGroup.Constructors in eu.europa.esig.dss.evidencerecord.common.validation with parameters of type DSSDocumentModifierConstructorDescriptionprotectedDefaultEvidenceRecordAnalyzer(DSSDocument document) Instantiates the class with a document to be validated -
Uses of DSSDocument in eu.europa.esig.dss.evidencerecord.xml.digest
Methods in eu.europa.esig.dss.evidencerecord.xml.digest with parameters of type DSSDocumentModifier and TypeMethodDescriptionXMLEvidenceRecordDataObjectDigestBuilderFactory.create(DSSDocument document) XMLEvidenceRecordDataObjectDigestBuilderFactory.create(DSSDocument document, DigestAlgorithm digestAlgorithm) Method parameters in eu.europa.esig.dss.evidencerecord.xml.digest with type arguments of type DSSDocumentModifier and TypeMethodDescriptionXMLEvidenceRecordRenewalDigestBuilder.setDetachedContent(List<DSSDocument> detachedContent) Constructors in eu.europa.esig.dss.evidencerecord.xml.digest with parameters of type DSSDocumentModifierConstructorDescriptionConstructor to create a builder for computing digest on the given document using a SHA-256 digest algorithmXMLEvidenceRecordDataObjectDigestBuilder(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given document using a provided digest algorithmCreates an instance ofXMLEvidenceRecordRenewalDigestBuilderallowing to build hash for XML evidence recorddocument's renewal, with a default SHA256 digest algorithm to be used on hash-tree renewal computation (see note).XMLEvidenceRecordRenewalDigestBuilder(DSSDocument document, DigestAlgorithm digestAlgorithm) Creates an instance ofXMLEvidenceRecordRenewalDigestBuilderallowing to build hash for XML evidence recorddocument's renewal, with the provideddigestAlgorithm(see note below). -
Uses of DSSDocument in eu.europa.esig.dss.evidencerecord.xml.validation
Methods in eu.europa.esig.dss.evidencerecord.xml.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionXMLEvidenceRecordAnalyzerFactory.create(DSSDocument document) XMLEvidenceRecordValidatorFactory.create(DSSDocument document) protected DataObjectDigestBuilderXmlEvidenceRecordTimeStampSequenceVerifier.getDataObjectDigestBuilder(DSSDocument document, ArchiveTimeStampChainObject archiveTimeStampChain) booleanXMLEvidenceRecordAnalyzer.isSupported(DSSDocument dssDocument) booleanXMLEvidenceRecordAnalyzerFactory.isSupported(DSSDocument document) booleanXMLEvidenceRecordValidatorFactory.isSupported(DSSDocument document) Constructors in eu.europa.esig.dss.evidencerecord.xml.validation with parameters of type DSSDocumentModifierConstructorDescriptionXmlEvidenceRecord(DSSDocument document) This constructor is used to create aneu.europa.esig.dss.evidencerecord.xml.validation.XmlEvidenceRecordfrom aeu.europa.esig.dss.model.DSSDocumentfileXMLEvidenceRecordAnalyzer(DSSDocument document) The default constructor for XMLEvidenceRecordValidator.XMLEvidenceRecordValidator(DSSDocument document) The default constructor for XMLEvidenceRecordValidator. -
Uses of DSSDocument in eu.europa.esig.dss.jades
Classes in eu.europa.esig.dss.jades that implement DSSDocumentModifier and TypeClassDescriptionclassThe 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_HEADERSmechanismclassAn 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 DSSDocumentJWSConverter.fromEtsiUWithBase64UrlToClearJsonIncorporation(DSSDocument document) Converts unprotected content of 'etsiU' header of JAdES signatures inside a document to its clear JSON incorporation formstatic DSSDocumentJWSConverter.fromEtsiUWithClearJsonToBase64UrlIncorporation(DSSDocument document) Converts unprotected content of 'etsiU' header of JAdES signatures inside a document to its base64Url JSON incorporation formstatic DSSDocumentJWSConverter.fromJWSCompactToJSONFlattenedSerialization(DSSDocument document) Converts a JWS Compact Serialization to a JSON Flattened Serialization.static DSSDocumentJWSConverter.fromJWSCompactToJSONSerialization(DSSDocument document) Converts a JWS Compact Serialization to a JSON Serialization.JWSJsonSerializationGenerator.generate()Generates theDSSDocumentHTTPHeaderDigest.getMessageBodyDocument()Returns the original HTTP Message Body DocumentMethods in eu.europa.esig.dss.jades with parameters of type DSSDocumentModifier and TypeMethodDescriptionstatic DSSDocumentJWSConverter.fromEtsiUWithBase64UrlToClearJsonIncorporation(DSSDocument document) Converts unprotected content of 'etsiU' header of JAdES signatures inside a document to its clear JSON incorporation formstatic DSSDocumentJWSConverter.fromEtsiUWithClearJsonToBase64UrlIncorporation(DSSDocument document) Converts unprotected content of 'etsiU' header of JAdES signatures inside a document to its base64Url JSON incorporation formstatic DSSDocumentJWSConverter.fromJWSCompactToJSONFlattenedSerialization(DSSDocument document) Converts a JWS Compact Serialization to a JSON Flattened Serialization.static DSSDocumentJWSConverter.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 thedocumentto be used for payload computation, depending on theisBase64UrlEncodedparameter.static booleanDSSJsonUtils.isAllowedSignatureDocumentType(DSSDocument document) Checks if the signature document has an allowed type (bytes can be extracted)static booleanDSSJsonUtils.isJsonDocument(DSSDocument document) Checks if the provided document is JSON documentstatic StringDSSJsonUtils.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 voidDSSJsonUtils.writeDocumentsDigest(List<DSSDocument> documents, boolean isBase64UrlEncoded, DSSMessageDigestCalculator digestCalculator) Writes digest on a concatenated binaries of provideddocumentsConstructors in eu.europa.esig.dss.jades with parameters of type DSSDocumentModifierConstructorDescriptionHTTPHeaderDigest(DSSDocument messageBodyDocument, DigestAlgorithm digestAlgorithm) The default constructorThe default constructorHTTPHeaderSignatureScope(DSSDocument document) The default constructorJWSCompactSerializationParser(DSSDocument document) The default constructorJWSJsonSerializationParser(DSSDocument document) The default constructor for parser to extract a list of signatures and payload -
Uses of DSSDocument in eu.europa.esig.dss.jades.signature
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) AddssignaturePolicyStoreto all signatures inside thedocumentmatching the givenSignaturePolicyStore.JAdESSignaturePolicyStoreBuilder.addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance, String signatureId) AddssignaturePolicyStoreto a signature inside thedocumentwith the givensignatureIdJAdESBuilder.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) AddssignaturePolicyStoreto all signatures inside thedocumentmatching the givenSignaturePolicyStore.JAdESSignaturePolicyStoreBuilder.addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance, String signatureId) AddssignaturePolicyStoreto a signature inside thedocumentwith the givensignatureIdJAdESCounterSignatureBuilder.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 JAdESBuilderJAdESService.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 DSSDocumentModifierConstructorDescriptionprotectedAbstractJAdESBuilder(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 TypeMethodDescriptionAbstractJWSDocumentAnalyzer.getOriginalDocuments(AdvancedSignature advancedSignature) JAdESSignature.getOriginalDocuments()Returns a list of original documents signed by the signatureJAdESSignature.getSignedDocumentsByHTTPHeaderName()Returns a list of signed documents by the list of URIs present in 'sigD' Keeps the original order according to 'pars' dictionary content Used in HTTPHeaders detached signature mechanismJAdESSignature.getSignedDocumentsForObjectIdByUriMechanism()This method returns a list of documents for ObjectIdByUrl or ObjectIdByUriHash mechanisms Keeps the original order according to 'pars' dictionary contentMethods in eu.europa.esig.dss.jades.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionJAdESDocumentValidatorFactory.create(DSSDocument document) JWSDocumentAnalyzerFactory.create(DSSDocument document) booleanJAdESDocumentValidatorFactory.isSupported(DSSDocument document) booleanJWSCompactDocumentAnalyzer.isSupported(DSSDocument dssDocument) booleanJWSDocumentAnalyzerFactory.isSupported(DSSDocument document) booleanJWSSerializationAnalyzerValidator.isSupported(DSSDocument document) Constructors in eu.europa.esig.dss.jades.validation with parameters of type DSSDocumentModifierConstructorDescriptionprotectedAbstractJWSDocumentAnalyzer(DSSDocument document) Default constructorJWSCompactDocumentAnalyzer(DSSDocument document) Default constructorJWSCompactDocumentValidator(DSSDocument document) Default constructorJWSSerializationAnalyzerValidator(DSSDocument document) Default constructorJWSSerializationDocumentValidator(DSSDocument document) Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.jades.validation.scope
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 SignatureScopeJAdESSignatureScopeFinder.getSignatureScopeFromOriginalDocument(DSSDocument originalDocument) Returns aSignatureScopefor the givenoriginalDocumentMethod 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 TypeClassDescriptionclassThis class implements the default methods.classDigest representation of aDSSDocument.classDocument implementation stored on file-system.classIn memory representation of a documentMethods in eu.europa.esig.dss.model that return DSSDocumentModifier and TypeMethodDescriptionCommitmentQualifier.getContent()Gets the content of the Commitment QualifierManifestFile.getDocument()Gets theDSSDocumentrepresenting the manifestSignaturePolicyStore.getSignaturePolicyContent()Get policy store contentMethods in eu.europa.esig.dss.model that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionSerializableEvidenceRecordIncorporationParameters.getDetachedContents()Gets detached documents signed by a signatureMethods in eu.europa.esig.dss.model with parameters of type DSSDocumentModifier and TypeMethodDescriptionvoidCommitmentQualifier.setContent(DSSDocument content) Sets the content of Commitment Qualifier.voidManifestFile.setDocument(DSSDocument document) Sets the manifest documentvoidSignaturePolicyStore.setSignaturePolicyContent(DSSDocument signaturePolicyContent) Set policy store content NOTE: one of signaturePolicyContent or sigPolDocLocalURI shall be usedMethod parameters in eu.europa.esig.dss.model with type arguments of type DSSDocumentModifier and TypeMethodDescriptionvoidSerializableEvidenceRecordIncorporationParameters.setDetachedContents(List<DSSDocument> detachedContents) Sets detached documents signed by a signature -
Uses of DSSDocument in eu.europa.esig.dss.model.identifier
Constructors in eu.europa.esig.dss.model.identifier with parameters of type DSSDocumentModifierConstructorDescriptionDataIdentifier(String name, DSSDocument document) Constructor to build an identifier based onnameanddocument -
Uses of DSSDocument in eu.europa.esig.dss.model.policy
Methods in eu.europa.esig.dss.model.policy with parameters of type DSSDocumentModifier and TypeMethodDescriptionbooleanCryptographicSuiteFactory.isSupported(DSSDocument cryptographicSuiteDocument) Evaluates whether the cryptographic suiteDSSDocumentis supported by the current implementationbooleanValidationPolicyFactory.isSupported(DSSDocument validationPolicyDocument) Evaluates whether the validation policyDSSDocumentis supported by the current implementationCryptographicSuiteFactory.loadCryptographicSuite(DSSDocument cryptographicSuiteDocument) Loads a cryptographic suite from aDSSDocumentprovided to the methodValidationPolicyFactory.loadValidationPolicy(DSSDocument validationPolicyDocument) Loads a validation policy from aDSSDocumentprovided to the method -
Uses of DSSDocument in eu.europa.esig.dss.model.scope
Constructors in eu.europa.esig.dss.model.scope with parameters of type DSSDocumentModifierConstructorDescriptionprotectedSignatureScope(DSSDocument document) Default constructorprotectedSignatureScope(String name, DSSDocument document) Default constructor with name provided -
Uses of DSSDocument in eu.europa.esig.dss.model.signature
Methods in eu.europa.esig.dss.model.signature that return DSSDocumentModifier and TypeMethodDescriptionSignaturePolicy.getPolicyContent()Returns a DSSDocument with the signature policy contentMethods in eu.europa.esig.dss.model.signature with parameters of type DSSDocumentModifier and TypeMethodDescriptionvoidSignaturePolicy.setPolicyContent(DSSDocument policyContent) Sets policy document content -
Uses of DSSDocument in eu.europa.esig.dss.model.tsl
Methods in eu.europa.esig.dss.model.tsl that return DSSDocumentModifier and TypeMethodDescriptionDownloadInfoRecord.getDocument()Returns the downloaded document -
Uses of DSSDocument in eu.europa.esig.dss.pades
Methods in eu.europa.esig.dss.pades that return DSSDocumentModifier and TypeMethodDescriptionSignatureImageParameters.getImage()Returns aDSSDocumentimage defined for displaying on the signature fieldstatic DSSDocumentPAdESUtils.getOriginalPDF(PAdESSignature padesSignature) Returns the original signed content for thepadesSignaturestatic DSSDocumentPAdESUtils.getOriginalPDF(PdfCMSRevision pdfRevision) Returns the original signed content for thepdfRevisionstatic DSSDocumentPAdESUtils.getPreviousRevision(ByteRange byteRange, Collection<PdfByteRangeDocument> revisions) This method returns the best previous revision fromrevisionscollection corresponding to thebyteRangestatic DSSDocumentPAdESUtils.getRevisionContent(DSSDocument dssDocument, ByteRange byteRange) Returns the complete revision content according to the provided byteRange ([0]-[3])static DSSDocumentPAdESUtils.replaceSignature(DSSDocument toBeSignedDocument, byte[] cmsSignedData, DSSResourcesHandlerBuilder resourcesHandlerBuilder) This method replaces /Contents field value with a givencmsSignedDatabinariesMethods in eu.europa.esig.dss.pades with parameters of type DSSDocumentModifier and TypeMethodDescriptionstatic voidPAdESUtils.assertPdfDocument(DSSDocument document) This method verifies whether the provided document is a PDF.static List<PdfByteRangeDocument> PAdESUtils.extractRevisions(DSSDocument document) Parsesdocumentand extracts all revisions based on%%EOFstringstatic DSSDocumentPAdESUtils.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 thedssDocumentaccording to thebyteRangeExample: extracts bytes from 841 to 959. [0, 840, 960, 1200]static booleanPAdESUtils.isPDFDocument(DSSDocument document) Checks if the givenDSSDocumentrepresents a PDF documentstatic DSSDocumentPAdESUtils.replaceSignature(DSSDocument toBeSignedDocument, byte[] cmsSignedData, DSSResourcesHandlerBuilder resourcesHandlerBuilder) This method replaces /Contents field value with a givencmsSignedDatabinariesvoidSignatureImageParameters.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.extendDocument(DSSDocument toExtendDocument, PAdESSignatureParameters parameters) PAdESExtensionService.incorporateValidationData(DSSDocument document) This method adds a DSS dictionary revision to the givendocumentwithout 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 givendocumentprotected by apasswordProtectionwith 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 givendocumentprotected by apasswordProtectionwith the required validation data if needed, and a VRI dictionary is defined.PAdESService.previewPageWithVisualSignature(DSSDocument toSignDocument, PAdESSignatureParameters parameters) Returns a page preview with the visual signaturePAdESService.previewSignatureField(DSSDocument toSignDocument, PAdESSignatureParameters parameters) Returns a preview of the signature fieldPAdESService.signDocument(DSSDocument toSignDocument, PAdESSignatureParameters parameters, SignatureValue signatureValue) PAdESWithExternalCMSService.signDocument(DSSDocument toSignDocument, PAdESSignatureParameters parameters, DSSDocument cmsDocument) This method embeds the provided externalcmsDocumentto a {code toSignDocument} within a new signature revision.ExternalCMSService.signMessageDigest(DSSMessageDigest messageDigest, PAdESSignatureParameters parameters, SignatureValue signatureValue) This method is used to create a signed CMS to be used for incorporation within a PDF document for a PAdES signature creationPAdESService.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 documentprotected DSSMessageDigestPAdESService.computeDocumentDigest(DSSDocument toSignDocument, PAdESSignatureParameters parameters) Computes digest of the document to be signedPAdESService.extendDocument(DSSDocument toExtendDocument, PAdESSignatureParameters parameters) protected byte[]PAdESService.generateCMSSignedData(DSSDocument toSignDocument, PAdESSignatureParameters parameters, SignatureValue signatureValue) Generates the CMSSignedDataPAdESService.getAvailableSignatureFields(DSSDocument document) This method returns not signed signature-fieldsPAdESService.getAvailableSignatureFields(DSSDocument document, char[] passwordProtection) This method returns not signed signature-fields from an encrypted documentPAdESService.getContentTimestamp(DSSDocument toSignDocument, PAdESSignatureParameters parameters) PAdESService.getDataToSign(DSSDocument toSignDocument, PAdESSignatureParameters parameters) protected StringPAdESWithExternalCMSService.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 givendocumentwithout 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 givendocumentprotected by apasswordProtectionwith 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 givendocumentprotected by apasswordProtectionwith the required validation data if needed, and a VRI dictionary is defined.booleanPAdESWithExternalCMSService.isValidCMSSignedData(DSSMessageDigest messageDigest, DSSDocument cmsDocument) This method verifies if thecmsis cryptographically validbooleanPAdESWithExternalCMSService.isValidPAdESBaselineCMSSignedData(DSSMessageDigest messageDigest, DSSDocument cmsDocument) This method verifies if the givencmssignature 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 externalcmsDocumentto 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 TypeClassDescriptionclassInternal representation of a PDF document.Methods in eu.europa.esig.dss.pades.validation that return DSSDocumentModifier and TypeMethodDescriptionPAdESSignature.getOriginalDocument()protected DSSDocumentPAdESSignature.getSignerDocumentContent()Methods in eu.europa.esig.dss.pades.validation that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionPDFDocumentAnalyzer.getOriginalDocuments(AdvancedSignature advancedSignature) Methods in eu.europa.esig.dss.pades.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionPDFDocumentAnalyzerFactory.create(DSSDocument document) PDFDocumentValidatorFactory.create(DSSDocument document) booleanPDFDocumentAnalyzer.isSupported(DSSDocument dssDocument) booleanPDFDocumentAnalyzerFactory.isSupported(DSSDocument document) booleanPDFDocumentValidatorFactory.isSupported(DSSDocument document) Constructors in eu.europa.esig.dss.pades.validation with parameters of type DSSDocumentModifierConstructorDescriptionPdfByteRangeDocument(DSSDocument pdfDocument, ByteRange byteRange) Default constructorPDFDocumentAnalyzer(DSSDocument document) The default constructor for PDFDocumentValidator.PDFDocumentValidator(DSSDocument document) The default constructor for PDFDocumentValidator. -
Uses of DSSDocument in eu.europa.esig.dss.pades.validation.scope
Constructors in eu.europa.esig.dss.pades.validation.scope with parameters of type DSSDocumentModifierConstructorDescriptionFullPdfByteRangeSignatureScope(ByteRange byteRange, DSSDocument document) Default constructorPartialPdfByteRangeSignatureScope(ByteRange byteRange, DSSDocument document) Default constructorprotectedPdfByteRangeSignatureScope(String name, ByteRange byteRange, DSSDocument document) Default constructor -
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) PDFSignatureService.addDssDictionary(DSSDocument document, PdfValidationDataContainer validationDataForInclusion) This method adds the DSS dictionary (Baseline-LT) to a document without password-protection and without VRI dictionary.PDFSignatureService.addDssDictionary(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd) This method adds the DSS dictionary (Baseline-LT) to a password-protected document without inclusion of VRI dictionary.PDFSignatureService.addDssDictionary(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd, boolean includeVRIDict) This method adds the DSS dictionary (Baseline-LT) to a password-protected document with a VRI dictionary if defined.AbstractPDFSignatureService.addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters) PDFSignatureService.addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters) This method allows to add a new signature field to an existing pdf documentPDFSignatureService.addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, char[] pwd) This method allows to add a new signature field to an existing encrypted pdf documentPdfCMSRevision.getPreviousRevision()Gets PDF revision preceding to the current signature revisionPdfCMSRevision.getSignedData()Gets the current signature revisionPdfSignatureCache.getToBeSignedDocument()Gets ToBeSigned documentPDFSignatureService.previewPageWithVisualSignature(DSSDocument toSignDocument, PAdESCommonParameters parameters) Returns a page preview with the visual signaturePDFSignatureService.previewSignatureField(DSSDocument toSignDocument, PAdESCommonParameters parameters) Returns a preview of the signature fieldAbstractPDFSignatureService.sign(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) PDFSignatureService.sign(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) Signs a PDF documentprotected abstract DSSDocumentAbstractPDFSignatureService.signDocument(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) This method creates a signed document from the originaltoSignDocument, incorporating a new revision, enveloping the providedcmsSignedDataMethods 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) PDFSignatureService.addDssDictionary(DSSDocument document, PdfValidationDataContainer validationDataForInclusion) This method adds the DSS dictionary (Baseline-LT) to a document without password-protection and without VRI dictionary.PDFSignatureService.addDssDictionary(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd) This method adds the DSS dictionary (Baseline-LT) to a password-protected document without inclusion of VRI dictionary.PDFSignatureService.addDssDictionary(DSSDocument document, PdfValidationDataContainer validationDataForInclusion, char[] pwd, boolean includeVRIDict) This method adds the DSS dictionary (Baseline-LT) to a password-protected document with a VRI dictionary if defined.AbstractPDFSignatureService.addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters) PDFSignatureService.addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters) This method allows to add a new signature field to an existing pdf documentPDFSignatureService.addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, char[] pwd) This method allows to add a new signature field to an existing encrypted pdf documentprotected voidAbstractPDFSignatureService.analyzePdfModifications(DSSDocument document, PdfCMSRevision pdfRevision, PdfDocumentReader finalRevisionReader, char[] pwd) This method performs a modification analysis for a single givenpdfRevisionvoidAbstractPDFSignatureService.analyzePdfModifications(DSSDocument document, List<AdvancedSignature> signatures, char[] pwd) voidPDFSignatureService.analyzePdfModifications(DSSDocument document, List<AdvancedSignature> signatures, char[] pwd) Analyze the PDF revision and try to detect any modification (shadow attacks) for signaturesvoidAbstractPDFSignatureService.analyzeTimestampPdfModifications(DSSDocument document, List<TimestampToken> timestamps, char[] pwd) voidPDFSignatureService.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 DSSMessageDigestAbstractPDFSignatureService.computeDigest(DSSDocument toSignDocument, PAdESCommonParameters parameters) Computes digest on to be signed data computed on thetoSignDocumentrespectively to the givenparametersAbstractPDFSignatureService.getAvailableSignatureFields(DSSDocument document) PDFSignatureService.getAvailableSignatureFields(DSSDocument document) This method returns not signed signature-fieldsPDFSignatureService.getAvailableSignatureFields(DSSDocument document, char[] pwd) Returns not-signed signature fields from an encrypted documentAbstractPDFSignatureService.getRevisions(DSSDocument document, char[] pwd) PDFSignatureService.getRevisions(DSSDocument document, char[] pwd) Retrieves revisions from a PDF documentprotected abstract PdfDocumentReaderAbstractPDFSignatureService.loadPdfDocumentReader(DSSDocument dssDocument, char[] passwordProtection) LoadsPdfDocumentReaderinstanceAbstractPDFSignatureService.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 fieldvoidPdfSignatureCache.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 DSSDocumentAbstractPDFSignatureService.signDocument(DSSDocument toSignDocument, byte[] cmsSignedData, PAdESCommonParameters parameters) This method creates a signed document from the originaltoSignDocument, incorporating a new revision, enveloping the providedcmsSignedDataprotected booleanAbstractPDFSignatureService.validateByteRange(ByteRange byteRange, DSSDocument document, byte[] cms) This method verifies the validity of /ByteRange field against the extracted from /Contents fieldcmsand the current pdfdocumentConstructors in eu.europa.esig.dss.pdf with parameters of type DSSDocumentModifierConstructorDescriptionprotectedPdfCMSRevision(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 DSSDocumentITextPDFSignatureService.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 DSSMessageDigestITextPDFSignatureService.computeDigest(DSSDocument toSignDocument, PAdESCommonParameters parameters) ITextPDFSignatureService.getAvailableSignatureFields(DSSDocument document, char[] pwd) protected PdfDocumentReaderITextPDFSignatureService.loadPdfDocumentReader(DSSDocument dssDocument, char[] passwordProtection) ITextPDFSignatureService.previewPageWithVisualSignature(DSSDocument toSignDocument, PAdESCommonParameters parameters) ITextPDFSignatureService.previewSignatureField(DSSDocument toSignDocument, PAdESCommonParameters parameters) protected DSSDocumentITextPDFSignatureService.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 to read a password-protected documentITextDocumentReader(DSSDocument dssDocument, byte[] passwordProtection, PdfMemoryUsageSetting pdfMemoryUsageSetting) 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) PdfBoxScreenshotBuilder.generateScreenshot(int page) Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocumentPdfBoxUtils.generateSubtractionImage(BufferedImage screenshotDoc1, BufferedImage screenshotDoc2) This method returns an image representing a subtraction result betweenscreenshotDoc1andscreenshotDoc2.static DSSDocumentPdfBoxUtils.generateSubtractionImage(BufferedImage screenshotDoc1, BufferedImage screenshotDoc2, DSSResourcesHandler dssResourcesHandler) This method returns an image representing a subtraction result betweenscreenshotDoc1andscreenshotDoc2.PdfBoxSignatureService.previewPageWithVisualSignature(DSSDocument toSignDocument, PAdESCommonParameters parameters) PdfBoxSignatureService.previewSignatureField(DSSDocument toSignDocument, PAdESCommonParameters parameters) protected DSSDocumentPdfBoxSignatureService.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 DSSMessageDigestPdfBoxSignatureService.computeDigest(DSSDocument toSignDocument, PAdESCommonParameters parameters) static PdfBoxScreenshotBuilderPdfBoxScreenshotBuilder.fromDocument(DSSDocument pdfDocument) Creates a newPdfBoxScreenshotBuilderfor the givenDSSDocumentstatic PdfBoxScreenshotBuilderPdfBoxScreenshotBuilder.fromDocument(DSSDocument pdfDocument, char[] passwordProtection) Creates a newPdfBoxScreenshotBuilderfor the password-protectedDSSDocumentPdfBoxSignatureService.getAvailableSignatureFields(DSSDocument document, char[] pwd) protected PdfDocumentReaderPdfBoxSignatureService.loadPdfDocumentReader(DSSDocument dssDocument, char[] passwordProtection) PdfBoxSignatureService.previewPageWithVisualSignature(DSSDocument toSignDocument, PAdESCommonParameters parameters) PdfBoxSignatureService.previewSignatureField(DSSDocument toSignDocument, PAdESCommonParameters parameters) protected DSSDocumentPdfBoxSignatureService.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 Reader.PdfBoxDocumentReader(DSSDocument dssDocument, String passwordProtection) Constructor of the PDFBox implementation of the Reader with a password protection phrase provided.PdfBoxDocumentReader(DSSDocument dssDocument, String passwordProtection, PdfMemoryUsageSetting pdfMemoryUsageSetting) Constructor of the PDFBox implementation of the Reader with a password protection phrase and memory usage settings provided.protectedPdfBoxScreenshotBuilder(DSSDocument pdfDocument) Default constructor to generate a screenshot for a PDF documentprotectedPdfBoxScreenshotBuilder(DSSDocument pdfDocument, char[] passwordProtection) Constructor to generate a screenshot for a password-protected PDF document -
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 BufferedImageDefaultImageDrawerUtils.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 DSSDocumentImageUtils.toDSSDocument(BufferedImage bufferedImage) Transforms aBufferedImagetoDSSDocumentusing in memory processingstatic DSSDocumentImageUtils.toDSSDocument(BufferedImage bufferedImage, DSSResourcesHandler dssResourcesHandler) Transforms aBufferedImagetoDSSDocument, using a providedDSSResourcesHandlerMethods in eu.europa.esig.dss.pdf.visible with parameters of type DSSDocumentModifier and TypeMethodDescriptionstatic AnnotationBoxImageUtils.getImageBoundaryBox(DSSDocument imageDocument) Returns the AnnotationBox for the given image documentstatic ImageResolutionImageUtils.readDisplayMetadata(DSSDocument image) Reads image's metadatastatic BufferedImageImageUtils.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 TypeMethodDescriptionPDFADocumentAnalyzerFactory.create(DSSDocument document) PDFADocumentValidatorFactory.create(DSSDocument document) booleanPDFADocumentAnalyzerFactory.isSupported(DSSDocument document) booleanPDFADocumentValidatorFactory.isSupported(DSSDocument document) Constructors in eu.europa.esig.dss.pdfa.validation with parameters of type DSSDocumentModifierConstructorDescriptionPDFADocumentAnalyzer(DSSDocument document) The default constructor for PDFADocumentValidator.PDFADocumentValidator(DSSDocument document) The default constructor for PDFADocumentValidator. -
Uses of DSSDocument in eu.europa.esig.dss.policy
Methods in eu.europa.esig.dss.policy with parameters of type DSSDocumentModifier and TypeMethodDescriptionbooleanEtsiValidationPolicyFactory.isSupported(DSSDocument validationPolicyDocument) EtsiValidationPolicyFactory.loadValidationPolicy(DSSDocument validationPolicyDocument) -
Uses of DSSDocument in eu.europa.esig.dss.policy.crypto.json
Methods in eu.europa.esig.dss.policy.crypto.json with parameters of type DSSDocumentModifier and TypeMethodDescriptionbooleanCryptographicSuiteJsonFactory.isSupported(DSSDocument cryptographicSuiteDocument) CryptographicSuiteJsonFactory.loadCryptographicSuite(DSSDocument cryptographicSuiteDocument) -
Uses of DSSDocument in eu.europa.esig.dss.policy.crypto.xml
Methods in eu.europa.esig.dss.policy.crypto.xml with parameters of type DSSDocumentModifier and TypeMethodDescriptionbooleanCryptographicSuiteXmlFactory.isSupported(DSSDocument cryptographicSuiteDocument) CryptographicSuiteXmlFactory.loadCryptographicSuite(DSSDocument cryptographicSuiteDocument) -
Uses of DSSDocument in eu.europa.esig.dss.service.http.commons
Methods in eu.europa.esig.dss.service.http.commons that return DSSDocumentModifier and TypeMethodDescriptionFileCacheDataLoader.getDocument(String url) FileCacheDataLoader.getDocument(String url, boolean refresh) This method allows to download aDSSDocumentfrom a specifiedurlwith a custom setting indicating whether therefreshof the document's cache shall be enforced, when applicableFileCacheDataLoader.getDocumentFromCache(String url) Methods in eu.europa.esig.dss.service.http.commons with parameters of type DSSDocumentModifier and TypeMethodDescriptionvoidCommonsDataLoader.setSslKeystore(DSSDocument sslKeyStore) Sets the SSL KeyStorevoidCommonsDataLoader.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 thesignatureDocumentwith the provided signatureValue.DocumentSignatureService.extendDocument(DSSDocument toExtendDocument, SP parameters) Extends the level of the signatures in thetoExtendDocumentMultipleDocumentsSignatureService.extendDocument(DSSDocument toExtendDocument, SP parameters) Extends the level of the signatures in thetoExtendDocumentSignatureExtension.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 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.signature with parameters of type DSSDocumentModifier and TypeMethodDescriptionCounterSignatureService.counterSignSignature(DSSDocument signatureDocument, CSP parameters, SignatureValue signatureValue) Counter-signs thesignatureDocumentwith the provided signatureValue.DocumentSignatureService.extendDocument(DSSDocument toExtendDocument, SP parameters) Extends the level of the signatures in thetoExtendDocumentMultipleDocumentsSignatureService.extendDocument(DSSDocument toExtendDocument, SP parameters) Extends the level of the signatures in thetoExtendDocumentSignatureExtension.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 thetoSignDocumentandparameters.protected StringAbstractSignatureService.getFinalDocumentName(DSSDocument originalFile, SigningOperation operation, SignatureLevel level, MimeType containerMimeType) Generates and returns a final name for the document to createprotected StringAbstractSignatureService.getFinalDocumentName(DSSDocument originalFile, SigningOperation operation, SignatureLevel level, SignaturePackaging packaging, MimeType containerMimeType) Generates and returns a final name for the document to createprotected StringAbstractSignatureService.getFinalFileName(DSSDocument originalFile, SigningOperation operation) Returns the final name for the document to createprotected StringAbstractSignatureService.getFinalFileName(DSSDocument originalFile, SigningOperation operation, SignatureLevel level) Returns the final name for the document to createprotected StringAbstractSignatureService.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 thetoSignDocumentsandparameters.voidAbstractSignatureParameters.setDetachedContents(List<DSSDocument> detachedContents) When signing this method is internally invoked by theAbstractSignatureServiceand the related variabledetachedContentis overwritten by the service parameter.voidProfileParameters.setDetachedContents(List<DSSDocument> detachedContents) Sets the detached contentsMultipleDocumentsSignatureService.signDocument(List<DSSDocument> toSignDocuments, SP parameters, SignatureValue signatureValue) Signs the toSignDocuments with the provided signatureValue.MultipleDocumentsSignatureService.timestamp(List<DSSDocument> toTimestampDocuments, TP parameters) Timestamps the toSignDocuments with the provided signatureValue. -
Uses of DSSDocument in eu.europa.esig.dss.signature.resources
Methods in eu.europa.esig.dss.signature.resources that return DSSDocumentModifier and TypeMethodDescriptionInMemoryResourcesHandler.writeToDSSDocument()TempFileResourcesHandler.writeToDSSDocument() -
Uses of DSSDocument in eu.europa.esig.dss.spi
Methods in eu.europa.esig.dss.spi that return DSSDocumentModifier and TypeMethodDescriptionstatic DSSDocumentDSSUtils.getDocumentWithLastName(List<DSSDocument> documents) Returns the last document in the alphabetical ascendant orderstatic DSSDocumentDSSUtils.getDocumentWithName(List<DSSDocument> documents, String fileName) Returns a document with the givenfileNamefrom the list ofdocuments, when presentMethods in eu.europa.esig.dss.spi with parameters of type DSSDocumentModifier and TypeMethodDescriptionstatic byte[]DSSUtils.digest(DigestAlgorithm digestAlgorithm, DSSDocument document) Computes the digests for thedocumentstatic DigestDSSUtils.getDigest(DigestAlgorithm digestAlgo, DSSDocument dssDocument) ReturnsDigestof thedssDocumentstatic longDSSUtils.getFileByteSize(DSSDocument dssDocument) Returns byte size of the given documentstatic booleanDSSUtils.isEmpty(DSSDocument document) This method verifies if the document is empty (does not have body)static booleanDSSUtils.isTimestampToken(DSSDocument document) Checks if the document contains a TimeStampTokenstatic byteDSSUtils.readFirstByte(DSSDocument dssDocument) Reads the first byte from the DSSDocumentstatic byte[]DSSUtils.toByteArray(DSSDocument document) Get the contents of anDSSDocumentas abyte[].static org.bouncycastle.cms.CMSSignedDataDSSUtils.toCMSSignedData(DSSDocument document) Gets CMSSignedData from thedocumentbytesMethod 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 DSSDocumentDSSUtils.getDocumentWithLastName(List<DSSDocument> documents) Returns the last document in the alphabetical ascendant orderstatic DSSDocumentDSSUtils.getDocumentWithName(List<DSSDocument> documents, String fileName) Returns a document with the givenfileNamefrom 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 TypeMethodDescriptionDSSCacheFileLoader.getDocument(String url, boolean refresh) This method allows to download aDSSDocumentfrom a specifiedurlwith a custom setting indicating whether therefreshof the document's cache shall be enforced, when applicableDSSFileLoader.getDocument(String url) Returns DSSDocument from the provided urlDSSCacheFileLoader.getDocumentFromCache(String url) Allows to load a document for a given url from the cache folder. -
Uses of DSSDocument in eu.europa.esig.dss.spi.policy
Methods in eu.europa.esig.dss.spi.policy that return DSSDocumentModifier and TypeMethodDescriptionSignaturePolicyProvider.getSignaturePolicy(String policyId, String url) Gets signature policy by all available ways (id and uri)SignaturePolicyProvider.getSignaturePolicyById(String policyId) Gets a signature policy document with the correspondingpolicyIdfromsignaturePoliciesByIdmapSignaturePolicyProvider.getSignaturePolicyByUrl(String url) Gets a signature policy document with the correspondingurlfromsignaturePoliciesByUrlmap, if not found, retrieved the data fromurlwithdataLoaderMethods in eu.europa.esig.dss.spi.policy with parameters of type DSSDocumentModifier and TypeMethodDescriptionAbstractSignaturePolicyValidator.getComputedDigest(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) BasicASN1SignaturePolicyValidator.getComputedDigest(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) SignaturePolicyValidator.getComputedDigest(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) ReturnsDigeston the computed SignaturePolicy's contentZeroHashSignaturePolicyValidator.getComputedDigest(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) Method parameters in eu.europa.esig.dss.spi.policy with type arguments of type DSSDocumentModifier and TypeMethodDescriptionvoidSignaturePolicyProvider.setSignaturePoliciesById(Map<String, DSSDocument> signaturePoliciesById) Sets the map of signature policy documents to retrieve by IDsvoidSignaturePolicyProvider.setSignaturePoliciesByUrl(Map<String, DSSDocument> signaturePoliciesByUrl) Sets the map of signature policy documents to retrieve by URLs -
Uses of DSSDocument in eu.europa.esig.dss.spi.signature
Fields in eu.europa.esig.dss.spi.signature with type parameters of type DSSDocumentModifier and TypeFieldDescriptionprotected List<DSSDocument> DefaultAdvancedSignature.detachedContentsIn case of a detached signature this is the signed document.Methods in eu.europa.esig.dss.spi.signature that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionAdvancedSignature.getContainerContents()Returns container's contentDefaultAdvancedSignature.getContainerContents()AdvancedSignature.getDetachedContents()Returns detached contentsDefaultAdvancedSignature.getDetachedContents()Method parameters in eu.europa.esig.dss.spi.signature with type arguments of type DSSDocumentModifier and TypeMethodDescriptionvoidAdvancedSignature.setContainerContents(List<DSSDocument> containerContents) This method allows to set the archive container contents in the case of ASiC-S signature.voidDefaultAdvancedSignature.setContainerContents(List<DSSDocument> containerContents) voidAdvancedSignature.setDetachedContents(List<DSSDocument> detachedContents) This method allows to set the signed contents in the case of the detached signature.voidDefaultAdvancedSignature.setDetachedContents(List<DSSDocument> detachedContents) -
Uses of DSSDocument in eu.europa.esig.dss.spi.signature.resources
Methods in eu.europa.esig.dss.spi.signature.resources that return DSSDocumentModifier and TypeMethodDescriptionDSSResourcesHandler.writeToDSSDocument()This method creates a newDSSDocumentrepresenting a signed document, based on the createdOutputStream. -
Uses of DSSDocument in eu.europa.esig.dss.spi.validation.analyzer
Fields in eu.europa.esig.dss.spi.validation.analyzer declared as DSSDocumentModifier and TypeFieldDescriptionprotected DSSDocumentDefaultDocumentAnalyzer.documentThe document to be validated (with the signature(s) or timestamp(s))Fields in eu.europa.esig.dss.spi.validation.analyzer with type parameters of type DSSDocumentModifier and TypeFieldDescriptionprotected List<DSSDocument> DefaultDocumentAnalyzer.containerContentsIn case of an ASiC signature thisListof container documents.protected List<DSSDocument> DefaultDocumentAnalyzer.detachedContentsIn case of a detached signature thisListcontains the signed documents.protected List<DSSDocument> DefaultDocumentAnalyzer.detachedEvidenceRecordDocumentsContains a list of evidence record documents detached from the signatureMethods in eu.europa.esig.dss.spi.validation.analyzer that return DSSDocumentModifier and TypeMethodDescriptionDefaultDocumentAnalyzer.getDocument()DocumentAnalyzer.getDocument()Gets document to be validatedMethods in eu.europa.esig.dss.spi.validation.analyzer that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionDefaultDocumentAnalyzer.getOriginalDocuments(String signatureId) DocumentAnalyzer.getOriginalDocuments(AdvancedSignature advancedSignature) This method returns the signed document(s) without their signature(s)DocumentAnalyzer.getOriginalDocuments(String signatureId) This method returns the signed document(s) without their signature(s)Methods in eu.europa.esig.dss.spi.validation.analyzer with parameters of type DSSDocumentModifier and TypeMethodDescriptionprotected EvidenceRecordDefaultDocumentAnalyzer.buildEvidenceRecord(DSSDocument evidenceRecordDocument) Builds an evidence record from the givenDSSDocumentDocumentAnalyzerFactory.create(DSSDocument document) This method instantiates aDocumentAnalyzerwith the given documentstatic DocumentAnalyzerDefaultDocumentAnalyzer.fromDocument(DSSDocument dssDocument) This method guesses the document format and returns an appropriate document reader.booleanDocumentAnalyzer.isSupported(DSSDocument dssDocument) Checks if the document is supported by the current validatorbooleanDocumentAnalyzerFactory.isSupported(DSSDocument document) This method tests if the current implementation ofDocumentAnalyzersupports the given documentMethod parameters in eu.europa.esig.dss.spi.validation.analyzer with type arguments of type DSSDocumentModifier and TypeMethodDescriptionvoidDefaultDocumentAnalyzer.setContainerContents(List<DSSDocument> containerContents) voidDocumentAnalyzer.setContainerContents(List<DSSDocument> archiveContents) Sets theListofDSSDocumentcontaining the original container content for ASiC-S signatures.voidDefaultDocumentAnalyzer.setDetachedContents(List<DSSDocument> detachedContents) voidDocumentAnalyzer.setDetachedContents(List<DSSDocument> detachedContent) Sets theListofDSSDocumentcontaining the original contents to sign, for detached signature scenarios.voidDefaultDocumentAnalyzer.setDetachedEvidenceRecordDocuments(List<DSSDocument> detachedEvidenceRecordDocuments) voidDocumentAnalyzer.setDetachedEvidenceRecordDocuments(List<DSSDocument> detachedEvidenceRecordDocuments) Sets aListofDSSDocumentcontaining the evidence record documents covering the signature document. -
Uses of DSSDocument in eu.europa.esig.dss.spi.validation.analyzer.evidencerecord
Methods in eu.europa.esig.dss.spi.validation.analyzer.evidencerecord with parameters of type DSSDocumentModifier and TypeMethodDescriptionEvidenceRecordAnalyzerFactory.create(DSSDocument document) This method instantiates aEvidenceRecordAnalyzerwith the given documentstatic EvidenceRecordAnalyzerEvidenceRecordAnalyzerFactory.fromDocument(DSSDocument document) Creates anEvidenceRecordValidatorby loading a corresponding implementation, acrossEvidenceRecordValidatorFactoryinstances found by ServiceLoader.booleanEvidenceRecordAnalyzerFactory.isSupported(DSSDocument document) This method tests if the current implementation ofEvidenceRecordAnalyzersupports the given documentstatic booleanEvidenceRecordAnalyzerFactory.isSupportedDocument(DSSDocument document) Verifies if thedocumentis supported by one of the implementations, acrossEvidenceRecordValidatorFactoryinstances found by ServiceLoader. -
Uses of DSSDocument in eu.europa.esig.dss.spi.validation.analyzer.timestamp
Methods in eu.europa.esig.dss.spi.validation.analyzer.timestamp that return DSSDocumentModifier and TypeMethodDescriptionTimestampAnalyzer.getTimestampedData()Returns the timestamped data -
Uses of DSSDocument in eu.europa.esig.dss.spi.validation.evidencerecord
Fields in eu.europa.esig.dss.spi.validation.evidencerecord declared as DSSDocumentModifier and TypeFieldDescriptionprotected final DSSDocumentAbstractSignatureEvidenceRecordDigestBuilder.signatureDocumentSignature document to compute hash value forMethods in eu.europa.esig.dss.spi.validation.evidencerecord that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionAbstractEmbeddedEvidenceRecordHelper.getDetachedContents()EmbeddedEvidenceRecordHelper.getDetachedContents()Gets a list of detached documentsMethods in eu.europa.esig.dss.spi.validation.evidencerecord with parameters of type DSSDocumentModifier and TypeMethodDescriptionprotected DigestAbstractSignatureEvidenceRecordDigestBuilder.getDigest(DSSDocument document) Returns digest of the given documentMethod parameters in eu.europa.esig.dss.spi.validation.evidencerecord with type arguments of type DSSDocumentModifier and TypeMethodDescriptionvoidAbstractEmbeddedEvidenceRecordHelper.setDetachedContents(List<DSSDocument> detachedContents) Sets a list of documents used for validation of a detached signatureConstructors in eu.europa.esig.dss.spi.validation.evidencerecord with parameters of type DSSDocumentModifierConstructorDescriptionprotectedAbstractSignatureEvidenceRecordDigestBuilder(DSSDocument signatureDocument) Default constructor to instantiate builder with a SHA-256 digest algorithmprotectedAbstractSignatureEvidenceRecordDigestBuilder(DSSDocument signatureDocument, DigestAlgorithm digestAlgorithm) Constructor to instantiate builder with a custom digest algorithm -
Uses of DSSDocument in eu.europa.esig.dss.spi.validation.scope
Fields in eu.europa.esig.dss.spi.validation.scope declared as DSSDocumentModifier and TypeFieldDescriptionprotected DSSDocumentDetachedTimestampScopeFinder.timestampedDataThe data used to for message-imprint computation of a timestamp tokenMethods in eu.europa.esig.dss.spi.validation.scope that return DSSDocumentModifier and TypeMethodDescriptionprotected DSSDocumentAbstractSignatureScopeFinder.createDigestDocument(Digest digest) Creates aDSSDocumentfrom givendigestprotected DSSDocumentAbstractSignatureScopeFinder.createInMemoryDocument(byte[] binaries) Creates aDSSDocumentfrom givenbinariesMethods in eu.europa.esig.dss.spi.validation.scope with parameters of type DSSDocumentModifier and TypeMethodDescriptionprotected List<SignatureScope> DetachedTimestampScopeFinder.getTimestampSignatureScopeForDocument(DSSDocument document) Returns a timestampedSignatureScopefor the given documentvoidDetachedTimestampScopeFinder.setTimestampedData(DSSDocument timestampedData) Sets the timestamped dataConstructors in eu.europa.esig.dss.spi.validation.scope with parameters of type DSSDocumentModifierConstructorDescriptionContainerContentSignatureScope(DSSDocument document) Default constructorContainerSignatureScope(DSSDocument document) Default constructorContainerSignatureScope(String filename, DSSDocument document) Default constructorCounterSignatureScope(AdvancedSignature masterSignature, DSSDocument originalDocument) Default constructorDigestSignatureScope(String filename, DSSDocument digestDocument) Default constructor with a filenameEvidenceRecordMasterSignatureScope(AdvancedSignature masterSignature, DSSDocument originalDocument) Default constructorFullSignatureScope(String filename, DSSDocument document) Default constructorManifestSignatureScope(String filename, DSSDocument document, List<String> transformations) Constructor with a list of XML transformations (to be used for XAdES only)protectedSignatureScopeWithTransformations(DSSDocument document, List<String> transformations) Default constructor with a name extracted from a documentprotectedSignatureScopeWithTransformations(String name, DSSDocument document, List<String> transformations) Default constructor with a name providedSignatureSignatureScope(AdvancedSignature signature, DSSDocument document) Default constructor to create a signature scope -
Uses of DSSDocument in eu.europa.esig.dss.spi.x509.evidencerecord
Methods in eu.europa.esig.dss.spi.x509.evidencerecord that return types with arguments of type DSSDocument -
Uses of DSSDocument in eu.europa.esig.dss.spi.x509.evidencerecord.digest
Methods in eu.europa.esig.dss.spi.x509.evidencerecord.digest with parameters of type DSSDocumentModifier and TypeMethodDescriptionDataObjectDigestBuilderFactory.create(DSSDocument document) Creates an instance ofDataObjectDigestBuilderto build hash for thedocument, according to the given implementation, using a default digest algorithmDataObjectDigestBuilderFactory.create(DSSDocument document, DigestAlgorithm digestAlgorithm) Creates an instance ofDataObjectDigestBuilderto build hash for thedocument, according to the given implementation, using a provideddigestAlgorithm -
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 ofDSSDocuments. -
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 ofDSSDocuments. -
Uses of DSSDocument in eu.europa.esig.dss.spi.x509.tsp
Methods in eu.europa.esig.dss.spi.x509.tsp with parameters of type DSSDocumentModifier and TypeMethodDescriptionbooleanTimestampToken.matchData(DSSDocument timestampedData) Checks if theTimeStampTokenmatches the signed data.booleanTimestampToken.matchData(DSSDocument timestampedData, boolean suppressMatchWarnings) Checks if theTimeStampTokenmatches the signed data. -
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.dto
Methods in eu.europa.esig.dss.tsl.dto that return DSSDocumentMethods in eu.europa.esig.dss.tsl.dto with parameters of type DSSDocumentModifier and TypeMethodDescriptionvoidDownloadCacheDTO.setDocument(DSSDocument document) Sets the downloaded document -
Uses of DSSDocument in eu.europa.esig.dss.tsl.parsing
Constructors in eu.europa.esig.dss.tsl.parsing with parameters of type DSSDocumentModifierConstructorDescriptionprotectedAbstractParsingTask(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 DSSDocumentDownloads 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 TLValidatorTaskAbstractAnalysis.getValidationTask(DSSDocument document, CertificateSource certificateSource) Returns the corresponding validation task for the source on the given document using the provided certificate sourceprotected voidAbstractAnalysis.parsing(DSSDocument document) Parses the documentprotected voidAbstractAnalysis.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.sha2
Classes in eu.europa.esig.dss.tsl.sha2 that implement DSSDocumentModifier and TypeClassDescriptionclassThis class is used to represent a downloadedeu.europa.esig.dss.model.DSSDocumentwith its corresponding ".sha2" fileMethods in eu.europa.esig.dss.tsl.sha2 that return DSSDocumentModifier and TypeMethodDescriptionDocumentWithSha2.getDocument()Gets the original documentSha2FileCacheDataLoader.getDocument(String url) Sha2FileCacheDataLoader.getDocument(String url, boolean refresh) Sha2FileCacheDataLoader.getDocumentFromCache(String url) protected DSSDocumentSha2FileCacheDataLoader.getRefreshedDocument(String documentUrl) This method returns a document from cache, when applicable.DocumentWithSha2.getSha2Document()Gets the downloaded sha2 document corresponding to thedocumentprotected DSSDocumentSha2FileCacheDataLoader.getSha2File(String documentUrl) This method returns a sha2 file for the givendocumentUrl.Methods in eu.europa.esig.dss.tsl.sha2 with parameters of type DSSDocumentModifier and TypeMethodDescriptionprotected DateAbstractTrustedListWithSha2Predicate.getNextUpdate(DSSDocument tlDocument) This method retrieves a NextUpdate date value from the provided Trusted List documentprotected DigestAbstractTrustedListWithSha2Predicate.getOriginalDocumentDigest(DSSDocument document) This method computesDigeston the givenDSSDocument's contentprotected DigestAbstractTrustedListWithSha2Predicate.getSha2Digest(DSSDocument sha2Document) This method parses thesha2Documentand returns theDigestprotected booleanDefaultTrustedListWithSha2Predicate.isCacheExpired(DSSDocument document) This method verifies whether the cache of thedocumenthas expired.protected DocumentWithSha2Sha2FileCacheDataLoader.mergeDocumentWithSha2(DSSDocument cachedDocument, DSSDocument sha2Document) This class creates aeu.europa.esig.dss.tsl.sha2.DocumentWithSha2object by merging acachedDocumentandsha2DocumenttogetherConstructors in eu.europa.esig.dss.tsl.sha2 with parameters of type DSSDocumentModifierConstructorDescriptionprotectedDocumentWithSha2(DSSDocument document, DSSDocument sha2Document) 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
Methods in eu.europa.esig.dss.validation that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionDocumentValidator.getOriginalDocuments(AdvancedSignature advancedSignature) This method returns the signed document(s) without their signature(s)DocumentValidator.getOriginalDocuments(String signatureId) This method returns the signed document(s) without their signature(s)SignedDocumentValidator.getOriginalDocuments(AdvancedSignature advancedSignature) SignedDocumentValidator.getOriginalDocuments(String signatureId) Methods in eu.europa.esig.dss.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionDocumentValidatorFactory.create(DSSDocument document) This method instantiates aDocumentValidatorwith the given documentstatic SignedDocumentValidatorSignedDocumentValidator.fromDocument(DSSDocument dssDocument) This method guesses the document format and returns an appropriate document validator.booleanDocumentValidatorFactory.isSupported(DSSDocument document) This method tests if the current implementation ofDocumentValidatorsupports the given documentbooleanSignedDocumentValidator.isSupported(DSSDocument dssDocument) Checks if the document is supported by the current validatorprotected ValidationPolicyCertificateValidator.loadValidationPolicy(DSSDocument policyDocument, DSSDocument cryptographicSuiteDocument) This method loads a validation policy from thepolicyDocumentand acryptographicSuiteDocument.protected ValidationPolicySignedDocumentValidator.loadValidationPolicy(DSSDocument policyDocument, DSSDocument cryptographicSuiteDocument) This method loads a validation policy from thepolicyDocumentand acryptographicSuiteDocument.CertificateValidator.validate(DSSDocument policyDocument) Validates the certificate with the validation policy obtained frompolicyDocument.CertificateValidator.validate(DSSDocument policyDocument, DSSDocument cryptographicSuiteDocument) Validates the certificate using the provided validation policy and a cryptographic suite.DocumentValidator.validateDocument(DSSDocument policyDocument) Validates the document and all its signatures.DocumentValidator.validateDocument(DSSDocument policyDocument, DSSDocument cryptographicSuiteDocument) Validates the document and all its signatures, using the provided validation policy.SignedDocumentValidator.validateDocument(DSSDocument policyDocument) SignedDocumentValidator.validateDocument(DSSDocument policyDocument, DSSDocument cryptographicSuiteDocument) Method parameters in eu.europa.esig.dss.validation with type arguments of type DSSDocumentModifier and TypeMethodDescriptionvoidDocumentValidator.setContainerContents(List<DSSDocument> archiveContents) Sets theListofDSSDocumentcontaining the original container content for ASiC-S signatures.voidSignedDocumentValidator.setContainerContents(List<DSSDocument> containerContents) voidDocumentValidator.setDetachedContents(List<DSSDocument> detachedContent) Sets theListofDSSDocumentcontaining the original contents to sign, for detached signature scenarios.voidSignedDocumentValidator.setDetachedContents(List<DSSDocument> detachedContents) voidDocumentValidator.setDetachedEvidenceRecordDocuments(List<DSSDocument> detachedEvidenceRecordDocuments) Sets aListofDSSDocumentcontaining the evidence record documents covering the signature document.voidSignedDocumentValidator.setDetachedEvidenceRecordDocuments(List<DSSDocument> detachedEvidenceRecordDocuments) -
Uses of DSSDocument in eu.europa.esig.dss.validation.policy
Methods in eu.europa.esig.dss.validation.policy with parameters of type DSSDocumentModifier and TypeMethodDescriptionstatic ValidationPolicyLoaderValidationPolicyLoader.fromValidationPolicy(DSSDocument validationPolicy) Creates an instance ofValidationPolicyFactoryfrom a custom validation policy fileValidationPolicyLoader.ValidationPolicyLoaderWithCryptoSuite.withCryptographicSuite(DSSDocument cryptographicSuite) ValidationPolicyLoader.withCryptographicSuite(DSSDocument cryptographicSuite) Sets a global cryptographic suiteDSSDocument.ValidationPolicyLoader.ValidationPolicyLoaderWithCryptoSuite.withCryptographicSuiteForContext(DSSDocument cryptographicSuite, Context context) ValidationPolicyLoader.ValidationPolicyLoaderWithCryptoSuite.withCryptographicSuiteForContext(DSSDocument cryptographicSuite, Context context, SubContext subContext) ValidationPolicyLoader.withCryptographicSuiteForContext(DSSDocument cryptographicSuite, Context context) Sets a cryptographic suiteDSSDocumentfor the given Context.ValidationPolicyLoader.withCryptographicSuiteForContext(DSSDocument cryptographicSuite, Context context, SubContext subContext) Sets a cryptographic suiteDSSDocumentfor the given Context and SubContext. -
Uses of DSSDocument in eu.europa.esig.dss.validation.reports.diagnostic
Fields in eu.europa.esig.dss.validation.reports.diagnostic declared as DSSDocumentModifier and TypeFieldDescriptionprotected DSSDocumentSignedDocumentDiagnosticDataBuilder.signedDocumentThe signed documentMethods in eu.europa.esig.dss.validation.reports.diagnostic with parameters of type DSSDocumentModifier and TypeMethodDescriptionSignedDocumentDiagnosticDataBuilder.document(DSSDocument signedDocument) This method allows to set the document which is analysedXmlDiagnosticDataFactory.setDocument(DSSDocument document) Sets original document to be validated -
Uses of DSSDocument in eu.europa.esig.dss.validation.timestamp
Methods in eu.europa.esig.dss.validation.timestamp that return DSSDocumentModifier and TypeMethodDescriptionDetachedTimestampAnalyzer.getTimestampedData()DetachedTimestampValidator.getTimestampedData()TimestampValidator.getTimestampedData()Returns the timestamped dataMethods in eu.europa.esig.dss.validation.timestamp that return types with arguments of type DSSDocumentModifier and TypeMethodDescriptionDetachedTimestampAnalyzer.getOriginalDocuments(AdvancedSignature advancedSignature) DetachedTimestampAnalyzer.getOriginalDocuments(String signatureId) DetachedTimestampValidator.getOriginalDocuments(AdvancedSignature advancedSignature) DetachedTimestampValidator.getOriginalDocuments(String signatureId) Methods in eu.europa.esig.dss.validation.timestamp with parameters of type DSSDocumentModifier and TypeMethodDescriptionDetachedTimestampAnalyzerFactory.create(DSSDocument document) DetachedTimestampValidatorFactory.create(DSSDocument document) booleanDetachedTimestampAnalyzer.isSupported(DSSDocument dssDocument) booleanDetachedTimestampAnalyzerFactory.isSupported(DSSDocument document) booleanDetachedTimestampValidatorFactory.isSupported(DSSDocument document) voidDetachedTimestampAnalyzer.setTimestampedData(DSSDocument document) Sets the data that has been timestampedvoidDetachedTimestampValidator.setTimestampedData(DSSDocument document) Sets the data that has been timestampedConstructors in eu.europa.esig.dss.validation.timestamp with parameters of type DSSDocumentModifierConstructorDescriptionDetachedTimestampAnalyzer(DSSDocument timestampFile) The default constructorDetachedTimestampAnalyzer(DSSDocument timestampFile, TimestampType timestampType) The default constructor with a typeDetachedTimestampValidator(DSSDocument timestampFile) The default constructorDetachedTimestampValidator(DSSDocument timestampFile, TimestampType timestampType) The default constructor with a type -
Uses of DSSDocument in eu.europa.esig.dss.ws.converter
Methods in eu.europa.esig.dss.ws.converter that return DSSDocumentModifier and TypeMethodDescriptionstatic DSSDocumentRemoteDocumentConverter.toDSSDocument(RemoteDocument remoteDocument) Converts the givenRemoteDocumentto aDSSDocumentMethods 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 ofremoteDocumentsto a list ofDSSDocumentsMethods in eu.europa.esig.dss.ws.converter with parameters of type DSSDocumentModifier and TypeMethodDescriptionstatic RemoteDocumentRemoteDocumentConverter.toRemoteDocument(DSSDocument originalDocument) Converts the givenDSSDocumentto aRemoteDocumentMethod 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 oforiginalDocumentsto a list ofRemoteDocuments -
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 oftransformsis empty.static booleanDSSXMLUtils.isDuplicateIdsDetected(DSSDocument doc) This method is used to detect duplicate id valuesvoidDSSObject.setContent(DSSDocument content) Sets the content of ds:Object element to be created Can be XML or any other format (e.g. base64 encoded)voidXAdESSignatureParameters.setRootDocument(DSSDocument rootDocument) Sets the root XML document for a signature creation.SignatureProfile.signDocument(DSSDocument toSignDocument, XAdESSignatureParameters parameters, byte[] signatureValue) Creates a signature of the defines profileMethod parameters in eu.europa.esig.dss.xades with type arguments of type DSSDocumentModifier and TypeMethodDescriptionstatic voidDSSXMLUtils.initManifestDetachedContent(org.apache.xml.security.signature.Manifest manifest, List<DSSDocument> detachedContents) Initializes detached content within the givenmanifeststatic org.apache.xml.security.signature.ManifestDSSXMLUtils.initManifestWithDetachedContent(Element manifestElement, List<DSSDocument> detachedContents) Initializes a Manifest object from the provided ds:Manifest element with a provideddetachedContents -
Uses of DSSDocument in eu.europa.esig.dss.xades.evidencerecord
Methods in eu.europa.esig.dss.xades.evidencerecord that return DSSDocumentModifier and TypeMethodDescriptionEmbeddedEvidenceRecordBuilder.addEvidenceRecord(DSSDocument signatureDocument, DSSDocument evidenceRecordDocument, XAdESEvidenceRecordIncorporationParameters parameters) Adds the evidence record document to a signature with the givensignatureId, provided the evidence record correctly applies to the signatureprotected DSSDocumentEmbeddedEvidenceRecordBuilder.addEvidenceRecord(XAdESSignature xadesSignature, DSSDocument evidenceRecordDocument, XAdESEvidenceRecordIncorporationParameters parameters) This method addsevidenceRecordDocumentto adocumentDomMethods in eu.europa.esig.dss.xades.evidencerecord with parameters of type DSSDocumentModifier and TypeMethodDescriptionEmbeddedEvidenceRecordBuilder.addEvidenceRecord(DSSDocument signatureDocument, DSSDocument evidenceRecordDocument, XAdESEvidenceRecordIncorporationParameters parameters) Adds the evidence record document to a signature with the givensignatureId, provided the evidence record correctly applies to the signatureprotected DSSDocumentEmbeddedEvidenceRecordBuilder.addEvidenceRecord(XAdESSignature xadesSignature, DSSDocument evidenceRecordDocument, XAdESEvidenceRecordIncorporationParameters parameters) This method addsevidenceRecordDocumentto adocumentDomprotected XAdESSignatureEmbeddedEvidenceRecordBuilder.getXAdESSignature(DSSDocument signatureDocument, String signatureId, List<DSSDocument> detachedContent) Gets a signature to incorporate evidence record intoMethod parameters in eu.europa.esig.dss.xades.evidencerecord with type arguments of type DSSDocumentModifier and TypeMethodDescriptionprotected XAdESSignatureEmbeddedEvidenceRecordBuilder.getXAdESSignature(DSSDocument signatureDocument, String signatureId, List<DSSDocument> detachedContent) Gets a signature to incorporate evidence record intoXAdESEvidenceRecordDigestBuilder.setDetachedContent(List<DSSDocument> detachedContent) Sets a list of detached documents covered by the signatureConstructors in eu.europa.esig.dss.xades.evidencerecord with parameters of type DSSDocumentModifierConstructorDescriptionXAdESEvidenceRecordDigestBuilder(DSSDocument signatureDocument) Default constructor to instantiate XAdESEvidenceRecordDigestBuilder with a SHA-256 digest algorithmXAdESEvidenceRecordDigestBuilder(DSSDocument signatureDocument, DigestAlgorithm digestAlgorithm) Constructor to instantiate XAdESEvidenceRecordDigestBuilder with a custom digest algorithm -
Uses of DSSDocument in eu.europa.esig.dss.xades.reference
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 givenDSSReferenceMethods in eu.europa.esig.dss.xades.reference with parameters of type DSSDocumentModifier and TypeMethodDescriptionvoidDSSReference.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 DSSDocumentXAdESSignatureBuilder.documentThis is the reference to the original document to signMethods in eu.europa.esig.dss.xades.signature that return DSSDocumentModifier and TypeMethodDescriptionXAdESService.addSignatureEvidenceRecord(DSSDocument signatureDocument, DSSDocument evidenceRecordDocument, XAdESEvidenceRecordIncorporationParameters parameters) SignaturePolicyStoreBuilder.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 withinSignaturePolicyStoreXAdESService.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 DSSDocumentXAdESBuilder.createXmlDocument()CreatesDSSDocumentfrom 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 TypeMethodDescriptionXAdESService.addSignatureEvidenceRecord(DSSDocument signatureDocument, DSSDocument evidenceRecordDocument, XAdESEvidenceRecordIncorporationParameters parameters) SignaturePolicyStoreBuilder.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 withinSignaturePolicyStoreXAdESService.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 aDSSReferencefor 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 XAdESSignatureBuilderXAdESSignatureBuilder.getSignatureBuilder(XAdESSignatureParameters params, DSSDocument document, CertificateVerifier certificateVerifier) Creates the signature according to the packagingprotected XMLDocumentAnalyzerExtensionBuilder.initDocumentAnalyzer(DSSDocument document) Initializes the document analyzer and other signature propertiesXAdESLevelBaselineB.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 DSSDocumentModifierConstructorDescriptionprotectedXAdESSignatureBuilder(XAdESSignatureParameters params, DSSDocument document, CertificateVerifier certificateVerifier) The default constructor for SignatureBuilder.protectedXPathPlacementSignatureBuilder(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.tsl
Methods in eu.europa.esig.dss.xades.tsl with parameters of type DSSDocumentModifier and TypeMethodDescriptionTLStructureVerifier.validate(DSSDocument dssDocument, Integer tlVersion) This method validates the Trusted List's conformity to the specified TLVersionXAdESTrustedListUtils.validateUnsignedTrustedList(DSSDocument tlDocument, int targetTLVersion) This method helps to determine whether the chosen signature parameters builders is applicable to the givenDSSDocument.Constructors in eu.europa.esig.dss.xades.tsl with parameters of type DSSDocumentModifierConstructorDescriptionprotectedAbstractTrustedListSignatureParametersBuilder(CertificateToken signingCertificate, DSSDocument tlXmlDocument) The constructor to build Signature Parameters for a Trusted List signing with respect to ETSI TS 119 612TrustedListV5SignatureParametersBuilder(CertificateToken signingCertificate, DSSDocument tlXmlDocument) The constructor to build Signature Parameters for a Trusted List V5 signing with respect to ETSI TS 119 612TrustedListV6SignatureParametersBuilder(CertificateToken signingCertificate, DSSDocument tlXmlDocument) The constructor to build Signature Parameters for a Trusted List V6 signing with respect to ETSI TS 119 612. -
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 TypeMethodDescriptionXMLDocumentAnalyzer.getOriginalDocuments(AdvancedSignature advancedSignature) Methods in eu.europa.esig.dss.xades.validation with parameters of type DSSDocumentModifier and TypeMethodDescriptionXMLDocumentAnalyzerFactory.create(DSSDocument document) XMLDocumentValidatorFactory.create(DSSDocument document) booleanXMLDocumentAnalyzer.isSupported(DSSDocument dssDocument) booleanXMLDocumentAnalyzerFactory.isSupported(DSSDocument document) booleanXMLDocumentValidatorFactory.isSupported(DSSDocument document) Constructors in eu.europa.esig.dss.xades.validation with parameters of type DSSDocumentModifierConstructorDescriptionCounterSignatureResolver(DSSDocument document) Default constructorDSSDocumentXMLSignatureInput(DSSDocument document) Default constructor for anXMLSignatureInputfrom a detached documentprotectedDSSDocumentXMLSignatureInput(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructor for anXMLSignatureInputfrom a base64-encoded document digestXMLDocumentAnalyzer(DSSDocument dssDocument) The default constructor for XMLDocumentValidator.XMLDocumentValidator(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.Manifestand 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 -
Uses of DSSDocument in eu.europa.esig.dss.xades.validation.scope
Constructors in eu.europa.esig.dss.xades.validation.scope with parameters of type DSSDocumentModifierConstructorDescriptionManifestEntrySignatureScope(String entryName, DSSDocument document, String manifestName, List<String> transformations) Constructor with transformations (Used in XAdES)protectedXmlElementSignatureScope(String xmlId, DSSDocument document, List<String> transformations) Default constructorprotectedXmlFullSignatureScope(String name, DSSDocument document, List<String> transformations) Constructor with document nameprotectedXmlRootSignatureScope(DSSDocument document, List<String> transformations) Default constructorprotectedXmlRootSignatureScope(String name, DSSDocument document, List<String> transformations) Constructor with document nameprotectedXPointerSignatureScope(String uri, DSSDocument document, List<String> transformations) Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.xml.utils
Classes in eu.europa.esig.dss.xml.utils that implement DSSDocumentModifier and TypeClassDescriptionclassThis class allows handling of anorg.w3c.dom.Nodeas aeu.europa.esig.dss.model.DSSDocument.Methods in eu.europa.esig.dss.xml.utils that return DSSDocumentModifier and TypeMethodDescriptionstatic DSSDocumentDomUtils.createDssDocumentFromDomDocument(Document document, String name) This method creates a new InMemoryDocument with theDocumentcontent and the given nameMethods in eu.europa.esig.dss.xml.utils with parameters of type DSSDocumentModifier and TypeMethodDescriptionstatic DocumentDomUtils.buildDOM(DSSDocument dssDocument) This method returns theDocumentcreated based on theDSSDocument.static booleanDomUtils.isDOM(DSSDocument dssDocument) This method returns true if the provided document is a valid XMLDocumentstatic booleanDomUtils.startsWithXmlPreamble(DSSDocument document) Checks if the given document starts with an XML Preamble'<'Processes values with or without BOM-encoding NOTE: does not check XML-conformity of the whole file call isDOM(DSSDocument) for a deep check