Uses of Interface
eu.europa.esig.dss.model.DSSDocument
-
Uses of DSSDocument in eu.europa.esig.dss
Methods in eu.europa.esig.dss that return DSSDocument Modifier and Type Method Description static DSSDocumentDomUtils. createDssDocumentFromDomDocument(Document document, String name)This method creates a new InMemoryDocument with theDocumentcontent and the given nameMethods in eu.europa.esig.dss that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>AbstractSignatureParameters. getDetachedContents()This method returns the documents to sign.Methods in eu.europa.esig.dss with parameters of type DSSDocument Modifier and Type Method Description static 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(bytes) for a deep checkMethod parameters in eu.europa.esig.dss with type arguments of type DSSDocument Modifier and Type Method Description voidAbstractSignatureParameters. setDetachedContents(List<DSSDocument> detachedContents)When signing this method is internally invoked by theAbstractSignatureServiceand the related variabledetachedContentis overwritten by the service parameter. -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades
Constructors in eu.europa.esig.dss.asic.cades with parameters of type DSSDocument Constructor Description ASiCWithCAdESContainerExtractor(DSSDocument archive)The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.signature
Methods in eu.europa.esig.dss.asic.cades.signature that return DSSDocument Modifier and Type Method Description DSSDocumentASiCWithCAdESService. addSignaturePolicyStore(DSSDocument asicContainer, SignaturePolicyStore signaturePolicyStore)Incorporates a Signature Policy Store as an unsigned property into the ASiC with CAdES SignatureDSSDocumentASiCWithCAdESService. counterSignSignature(DSSDocument asicContainer, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentASiCWithCAdESService. extendDocument(DSSDocument toExtendDocument, ASiCWithCAdESSignatureParameters parameters)DSSDocumentGetDataToSignASiCWithCAdESHelper. getToBeSigned()Returns a signed file document NOTE: In CMS/CAdES, only one file can be signedDSSDocumentASiCWithCAdESService. signDocument(List<DSSDocument> toSignDocuments, ASiCWithCAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentASiCWithCAdESService. timestamp(List<DSSDocument> toTimestampDocuments, ASiCWithCAdESTimestampParameters parameters)Methods in eu.europa.esig.dss.asic.cades.signature that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>GetDataToSignASiCWithCAdESHelper. getArchiveManifestFiles()Returns an Archive Manifest files (ASiC-E)List<DSSDocument>GetDataToSignASiCWithCAdESHelper. getDetachedContents()Returns a list of detached documents NOTE: In case of ASiC-S signature, we need the detached contentprotected List<DSSDocument>ASiCWithCAdESCounterSignatureHelper. getDetachedDocuments(String signatureFilename)List<DSSDocument>GetDataToSignASiCWithCAdESHelper. getTimestamps()Returns a list of detached timestamps (ASiC-E)Methods in eu.europa.esig.dss.asic.cades.signature with parameters of type DSSDocument Modifier and Type Method Description DSSDocumentASiCWithCAdESService. addSignaturePolicyStore(DSSDocument asicContainer, SignaturePolicyStore signaturePolicyStore)Incorporates a Signature Policy Store as an unsigned property into the ASiC with CAdES Signatureprotected voidASiCWithCAdESCounterSignatureHelper. checkCounterSignaturePossible(DSSDocument signatureDocument)DSSDocumentASiCWithCAdESService. counterSignSignature(DSSDocument asicContainer, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentASiCWithCAdESService. extendDocument(DSSDocument toExtendDocument, ASiCWithCAdESSignatureParameters parameters)protected AbstractASiCContainerExtractorASiCWithCAdESService. getArchiveExtractor(DSSDocument archive)ToBeSignedASiCWithCAdESService. getDataToBeCounterSigned(DSSDocument asicContainer, CAdESCounterSignatureParameters parameters)protected DocumentValidatorASiCWithCAdESCounterSignatureHelper. getDocumentValidator(DSSDocument signatureDocument)Method parameters in eu.europa.esig.dss.asic.cades.signature with type arguments of type DSSDocument Modifier and Type Method Description GetDataToSignASiCWithCAdESHelperASiCWithCAdESDataToSignHelperBuilder. build(SigningOperation operation, List<DSSDocument> documents, ASiCWithCAdESCommonParameters parameters)Builds aGetDataToSignASiCWithCAdESHelperfrom the given list of documents and defined parametersTimestampTokenASiCWithCAdESService. getContentTimestamp(List<DSSDocument> toSignDocuments, ASiCWithCAdESSignatureParameters parameters)ToBeSignedASiCWithCAdESService. getDataToSign(List<DSSDocument> toSignDocuments, ASiCWithCAdESSignatureParameters parameters)DSSDocumentASiCWithCAdESService. signDocument(List<DSSDocument> toSignDocuments, ASiCWithCAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentASiCWithCAdESService. timestamp(List<DSSDocument> toTimestampDocuments, ASiCWithCAdESTimestampParameters parameters)Constructors in eu.europa.esig.dss.asic.cades.signature with parameters of type DSSDocument Constructor Description ASiCWithCAdESCounterSignatureHelper(DSSDocument asicContainer)The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.signature.asice
Methods in eu.europa.esig.dss.asic.cades.signature.asice that return DSSDocument Modifier and Type Method Description protected DSSDocumentAbstractDataToSignASiCEWithCAdES. getASiCManifest(List<DSSDocument> documents, List<DSSDocument> signatures, List<DSSDocument> timestamps, List<DSSDocument> manifests)Generates an ASiC Manifest document to signDSSDocumentDataToSignASiCEWithCAdESFromArchive. getToBeSigned()DSSDocumentDataToSignASiCEWithCAdESFromFiles. getToBeSigned()Methods in eu.europa.esig.dss.asic.cades.signature.asice that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>DataToSignASiCEWithCAdESFromArchive. getArchiveManifestFiles()List<DSSDocument>DataToSignASiCEWithCAdESFromFiles. getArchiveManifestFiles()List<DSSDocument>DataToSignASiCEWithCAdESFromArchive. getDetachedContents()List<DSSDocument>DataToSignASiCEWithCAdESFromFiles. getDetachedContents()List<DSSDocument>DataToSignASiCEWithCAdESFromArchive. getManifestFiles()List<DSSDocument>DataToSignASiCEWithCAdESFromFiles. getManifestFiles()List<DSSDocument>DataToSignASiCEWithCAdESFromArchive. getSignatures()List<DSSDocument>DataToSignASiCEWithCAdESFromFiles. getSignatures()List<DSSDocument>DataToSignASiCEWithCAdESFromArchive. getSignedDocuments()List<DSSDocument>DataToSignASiCEWithCAdESFromFiles. getSignedDocuments()List<DSSDocument>DataToSignASiCEWithCAdESFromArchive. getTimestamps()List<DSSDocument>DataToSignASiCEWithCAdESFromFiles. getTimestamps()Method parameters in eu.europa.esig.dss.asic.cades.signature.asice with type arguments of type DSSDocument Modifier and Type Method Description protected DSSDocumentAbstractDataToSignASiCEWithCAdES. getASiCManifest(List<DSSDocument> documents, List<DSSDocument> signatures, List<DSSDocument> timestamps, List<DSSDocument> manifests)Generates an ASiC Manifest document to signprotected StringAbstractDataToSignASiCEWithCAdES. getSignatureFileName(List<DSSDocument> existingSignatures)Generates and returns a signature filenameprotected StringAbstractDataToSignASiCEWithCAdES. getTimestampFileName(List<DSSDocument> existingTimestamps)Generates and returns a timestamp filenameConstructor parameters in eu.europa.esig.dss.asic.cades.signature.asice with type arguments of type DSSDocument Constructor Description DataToSignASiCEWithCAdESFromFiles(SigningOperation operation, List<DSSDocument> filesToBeSigned, ASiCWithCAdESCommonParameters parameters)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 DSSDocument Modifier and Type Method Description DSSDocumentDataToSignASiCSWithCAdESFromArchive. getToBeSigned()DSSDocumentDataToSignASiCSWithCAdESFromFiles. getToBeSigned()Methods in eu.europa.esig.dss.asic.cades.signature.asics that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>DataToSignASiCSWithCAdESFromArchive. getArchiveManifestFiles()List<DSSDocument>DataToSignASiCSWithCAdESFromFiles. getArchiveManifestFiles()List<DSSDocument>DataToSignASiCSWithCAdESFromArchive. getDetachedContents()List<DSSDocument>DataToSignASiCSWithCAdESFromFiles. getDetachedContents()List<DSSDocument>DataToSignASiCSWithCAdESFromArchive. getManifestFiles()List<DSSDocument>DataToSignASiCSWithCAdESFromFiles. getManifestFiles()List<DSSDocument>DataToSignASiCSWithCAdESFromArchive. getSignatures()List<DSSDocument>DataToSignASiCSWithCAdESFromFiles. getSignatures()List<DSSDocument>DataToSignASiCSWithCAdESFromArchive. getSignedDocuments()List<DSSDocument>DataToSignASiCSWithCAdESFromFiles. getSignedDocuments()List<DSSDocument>DataToSignASiCSWithCAdESFromArchive. getTimestamps()List<DSSDocument>DataToSignASiCSWithCAdESFromFiles. getTimestamps()Constructor parameters in eu.europa.esig.dss.asic.cades.signature.asics with type arguments of type DSSDocument Constructor Description DataToSignASiCSWithCAdESFromFiles(List<DSSDocument> filesToBeSigned, Date signingDate, ASiCParameters asicParameters)The default constructor -
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 DSSDocument Modifier and Type Method Description protected ElementAbstractManifestBuilder. addDataObjectReference(Document documentDom, Element asicManifestDom, DSSDocument document, DigestAlgorithm digestAlgorithm)Adds a<DataObjectReference>elementConstructors in eu.europa.esig.dss.asic.cades.signature.manifest with parameters of type DSSDocument Constructor Description ASiCEWithCAdESArchiveManifestBuilder(List<DSSDocument> signatures, List<DSSDocument> timestamps, List<DSSDocument> signedFiles, List<DSSDocument> manifests, DSSDocument lastArchiveManifets, DigestAlgorithm digestAlgorithm, String timestampFileUri)The default constructorConstructor parameters in eu.europa.esig.dss.asic.cades.signature.manifest with type arguments of type DSSDocument Constructor Description ASiCEWithCAdESArchiveManifestBuilder(List<DSSDocument> signatures, List<DSSDocument> timestamps, List<DSSDocument> signedFiles, List<DSSDocument> manifests, DSSDocument lastArchiveManifets, DigestAlgorithm digestAlgorithm, String timestampFileUri)The default constructorASiCEWithCAdESManifestBuilder(SigningOperation operation, List<DSSDocument> documents, DigestAlgorithm digestAlgorithm, String documentUri)The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.cades.validation
Methods in eu.europa.esig.dss.asic.cades.validation that return DSSDocument Modifier and Type Method Description static DSSDocumentASiCEWithCAdESManifestParser. getLinkedManifest(List<DSSDocument> manifestDocuments, String signatureName)Returns the relative manifests for the given signature namestatic DSSDocumentASiCWithCAdESExtractResultUtils. getSignedDocument(ASiCExtractResult 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 DSSDocument Modifier and Type Method Description List<DSSDocument>ASiCContainerWithCAdESValidator. getArchiveDocuments()List<DSSDocument>ASiCContainerWithCAdESValidator. getOriginalDocuments(AdvancedSignature advancedSignature)List<DSSDocument>ASiCContainerWithCAdESValidator. getOriginalDocuments(String signatureId)Methods in eu.europa.esig.dss.asic.cades.validation with parameters of type DSSDocument Modifier and Type Method Description SignedDocumentValidatorASiCContainerWithCAdESValidatorFactory. create(DSSDocument document)static ManifestFileASiCEWithCAdESManifestParser. getManifestFile(DSSDocument manifestDocument)Parses and convertsDSSDocumenttoManifestFilebooleanASiCContainerWithCAdESValidator. isSupported(DSSDocument dssDocument)booleanASiCContainerWithCAdESValidatorFactory. isSupported(DSSDocument document)Method parameters in eu.europa.esig.dss.asic.cades.validation with type arguments of type DSSDocument Modifier and Type Method Description static DSSDocumentASiCEWithCAdESManifestParser. getLinkedManifest(List<DSSDocument> manifestDocuments, String signatureName)Returns the relative manifests for the given signature nameConstructors in eu.europa.esig.dss.asic.cades.validation with parameters of type DSSDocument Constructor Description ASiCContainerWithCAdESValidator(DSSDocument asicContainer)The default constructorASiCEWithCAdESTimestampValidator(DSSDocument timestamp, TimestampType type, ManifestFile validatedManifestFile, List<DSSDocument> originalDocuments)Default constructor for ASiCE CAdES timestamp validatorConstructor parameters in eu.europa.esig.dss.asic.cades.validation with type arguments of type DSSDocument Constructor Description ASiCEWithCAdESManifestValidator(ManifestFile manifest, List<DSSDocument> signedDocuments)The default constructorASiCEWithCAdESTimestampValidator(DSSDocument timestamp, TimestampType type, ManifestFile validatedManifestFile, List<DSSDocument> originalDocuments)Default constructor for ASiCE CAdES timestamp validator -
Uses of DSSDocument in eu.europa.esig.dss.asic.common
Methods in eu.europa.esig.dss.asic.common that return DSSDocument Modifier and Type Method Description DSSDocumentSecureContainerHandler. createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment)DSSDocumentZipContainerHandler. createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment)Creates a ZIP-Archive with the givencontainerEntriesDSSDocumentZipUtils. createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment)Creates a ZIP-Archive with the givencontainerEntriesDSSDocumentASiCExtractResult. getMimeTypeDocument()Gets mimetype documentDSSDocumentASiCExtractResult. getRootContainer()Gets the root container (OpenDocument)Methods in eu.europa.esig.dss.asic.common that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>SecureContainerHandler. extractContainerContent(DSSDocument zipArchive)List<DSSDocument>ZipContainerHandler. extractContainerContent(DSSDocument zipArchive)Extracts a list ofDSSDocumentfrom the given ZIP-archiveList<DSSDocument>ZipUtils. extractContainerContent(DSSDocument zipPackage)Extracts a list ofDSSDocumentfrom the given ZIP-archiveList<DSSDocument>ASiCExtractResult. getAllDocuments()Gets all documentsList<DSSDocument>ASiCExtractResult. getAllManifestDocuments()Returns a list of all found manifest documentsList<DSSDocument>ASiCExtractResult. getArchiveManifestDocuments()Gets archive manifest documents (ASiC with CAdES only)List<DSSDocument>ASiCExtractResult. getContainerDocuments()Gets "package.zip" documentsList<DSSDocument>ASiCExtractResult. getManifestDocuments()Gets manifest documentsList<DSSDocument>ASiCExtractResult. getSignatureDocuments()Gets signature documentsList<DSSDocument>ASiCExtractResult. getSignedDocuments()Gets signed documentsList<DSSDocument>ASiCExtractResult. getTimestampDocuments()Gets timestamp documents (ASiC with CAdES only)List<DSSDocument>ASiCExtractResult. getUnsupportedDocuments()Gets unsupported documentsMethods in eu.europa.esig.dss.asic.common with parameters of type DSSDocument Modifier and Type Method Description List<DSSDocument>SecureContainerHandler. extractContainerContent(DSSDocument zipArchive)List<DSSDocument>ZipContainerHandler. extractContainerContent(DSSDocument zipArchive)Extracts a list ofDSSDocumentfrom the given ZIP-archiveList<DSSDocument>ZipUtils. extractContainerContent(DSSDocument zipPackage)Extracts a list ofDSSDocumentfrom the given ZIP-archiveList<String>SecureContainerHandler. extractEntryNames(DSSDocument zipArchive)List<String>ZipContainerHandler. extractEntryNames(DSSDocument zipArchive)Returns a list of ZIP archive entry namesList<String>ZipUtils. extractEntryNames(DSSDocument zipPackage)Returns a list of ZIP archive entry namesstatic ASiCContainerTypeASiCUtils. getContainerType(DSSDocument archive, DSSDocument mimetype, String zipComment, List<DSSDocument> signedDocuments)Returns target container typestatic MimeTypeASiCUtils. getMimeType(DSSDocument mimeTypeDocument)Extracts and returns MimeType from the documentstatic booleanASiCUtils. isASiCSArchive(DSSDocument document)Checks if the current document an ASiC-E ZIP specific archivestatic booleanASiCUtils. isOpenDocument(DSSDocument mimeTypeDoc)Checks if the mimeType document defines an OpenDocumentstatic booleanASiCUtils. isZip(DSSDocument document)Checks if thedocumentis a ZIP containervoidASiCExtractResult. setMimeTypeDocument(DSSDocument mimeTypeDocument)Sets mimetype documentvoidASiCExtractResult. setRootContainer(DSSDocument rootContainer)Sets the root container (OpenDocument)Method parameters in eu.europa.esig.dss.asic.common with type arguments of type DSSDocument Modifier and Type Method Description DSSDocumentSecureContainerHandler. createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment)DSSDocumentZipContainerHandler. createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment)Creates a ZIP-Archive with the givencontainerEntriesDSSDocumentZipUtils. createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment)Creates a ZIP-Archive with the givencontainerEntriesstatic ASiCContainerTypeASiCUtils. getContainerType(DSSDocument archive, DSSDocument mimetype, String zipComment, List<DSSDocument> signedDocuments)Returns target container typestatic StringASiCUtils. getNextASiCEManifestName(String expectedManifestName, List<DSSDocument> existingManifests)Generates an unique name for a new ASiC-E Manifest file, avoiding any name collisionvoidASiCExtractResult. setAllDocuments(List<DSSDocument> allDocuments)Sets all documentsvoidASiCExtractResult. setArchiveManifestDocuments(List<DSSDocument> archiveManifestDocuments)Sets archive manifest documents (ASiC with CAdES only)voidASiCExtractResult. setContainerDocuments(List<DSSDocument> containerDocuments)Sets package.zip" documentsvoidASiCExtractResult. setManifestDocuments(List<DSSDocument> manifestDocuments)Sets manifest documentsvoidASiCExtractResult. setSignatureDocuments(List<DSSDocument> signatureDocuments)Sets signature documentsvoidASiCExtractResult. setSignedDocuments(List<DSSDocument> signedDocuments)Sets signed documentsvoidASiCExtractResult. setTimestampDocuments(List<DSSDocument> timestampDocuments)Sets timestamp documents (ASiC with CAdES only)voidASiCExtractResult. setUnsupportedDocuments(List<DSSDocument> unsupportedDocuments)Sets unsupported documentsConstructors in eu.europa.esig.dss.asic.common with parameters of type DSSDocument Constructor Description AbstractASiCContainerExtractor(DSSDocument asicContainer)The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.common.signature
Fields in eu.europa.esig.dss.asic.common.signature declared as DSSDocument Modifier and Type Field Description protected DSSDocumentASiCCounterSignatureHelper. asicContainerThe document representing an ASiC containerMethods in eu.europa.esig.dss.asic.common.signature that return DSSDocument Modifier and Type Method Description protected DSSDocumentAbstractASiCSignatureService. buildASiCContainer(List<DSSDocument> documentsToBeSigned, List<DSSDocument> signatures, List<DSSDocument> metaInfFolderDocuments, ASiCParameters asicParameters, Date creationTime)Creates a ZIP-Archive by copying the provided documents to the new containerDSSDocumentASiCCounterSignatureHelper. extractSignatureDocument(String signatureId)Returns a file containing a signature with the given idprotected DSSDocumentAbstractASiCSignatureService. getEmbeddedMimetype()Returns a mimetype document embedded into the ASiC containerprotected DSSDocumentAbstractASiCSignatureService. mergeArchiveAndExtendedSignatures(DSSDocument archiveDocument, List<DSSDocument> filesToAdd, Date creationTime, String zipComment)Creates a ZIP-Archive by copying the existingarchiveDocumententries and overwriting matching ones withfilesToAddDSSDocumentAbstractASiCSignatureService. signDocument(DSSDocument toSignDocument, SP parameters, SignatureValue signatureValue)DSSDocumentAbstractASiCSignatureService. timestamp(DSSDocument toTimestampDocument, TP parameters)Methods in eu.europa.esig.dss.asic.common.signature that return types with arguments of type DSSDocument Modifier and Type Method Description protected abstract List<DSSDocument>ASiCCounterSignatureHelper. getDetachedDocuments(String signatureFilename)Returns a list if detached documents for a signature with a given filenameprotected List<DSSDocument>AbstractASiCSignatureService. getEmbeddedArchiveManifests()Returns a list of archive manifest documents embedded into the ASiC containerprotected List<DSSDocument>AbstractASiCSignatureService. getEmbeddedManifests()Returns a list of manifest documents embedded into the ASiC containerprotected List<DSSDocument>AbstractASiCSignatureService. getEmbeddedSignatures()Returns a list of signature documents embedded into the ASiC containerprotected List<DSSDocument>AbstractASiCSignatureService. getEmbeddedSignedDocuments()Returns a list of signed documents embedded into the ASiC containerprotected List<DSSDocument>AbstractASiCSignatureService. getEmbeddedTimestamps()Returns a list of timestamp documents embedded into the ASiC containerList<DSSDocument>GetDataToSignHelper. getManifestFiles()Returns a list of manifest documentsList<DSSDocument>ASiCCounterSignatureHelper. getSignatureDocuments()Returns a list if signature documents from the containerList<DSSDocument>GetDataToSignHelper. getSignatures()Returns a list of signature documentsList<DSSDocument>GetDataToSignHelper. getSignedDocuments()Returns a list of signed documentsList<DSSDocument>ASiCCounterSignatureHelper. getUpdatedSignatureDocumentsList(DSSDocument updatedSignatureDocument)Returns a list of all signature files with a replacedupdatedSignatureDocumentMethods in eu.europa.esig.dss.asic.common.signature with parameters of type DSSDocument Modifier and Type Method Description protected voidASiCCounterSignatureHelper. checkCounterSignaturePossible(DSSDocument signatureDocument)This method verifies if a signatureDocument can be counter signed Throws an exception when an extension is not possibleprotected voidAbstractASiCSignatureService. extractCurrentArchive(DSSDocument archive)Extracts the content (documents) of the ASiC containerprotected abstract AbstractASiCContainerExtractorAbstractASiCSignatureService. getArchiveExtractor(DSSDocument archive)Returns a relevant ASiC container extractor for the given formatTimestampTokenAbstractASiCSignatureService. getContentTimestamp(DSSDocument toSignDocument, SP parameters)ToBeSignedAbstractASiCSignatureService. getDataToSign(DSSDocument toSignDocument, SP parameters)protected abstract DocumentValidatorASiCCounterSignatureHelper. getDocumentValidator(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 createList<DSSDocument>ASiCCounterSignatureHelper. getUpdatedSignatureDocumentsList(DSSDocument updatedSignatureDocument)Returns a list of all signature files with a replacedupdatedSignatureDocumentprotected DSSDocumentAbstractASiCSignatureService. mergeArchiveAndExtendedSignatures(DSSDocument archiveDocument, List<DSSDocument> filesToAdd, Date creationTime, String zipComment)Creates a ZIP-Archive by copying the existingarchiveDocumententries and overwriting matching ones withfilesToAddDSSDocumentAbstractASiCSignatureService. signDocument(DSSDocument toSignDocument, SP parameters, SignatureValue signatureValue)DSSDocumentAbstractASiCSignatureService. timestamp(DSSDocument toTimestampDocument, TP parameters)Method parameters in eu.europa.esig.dss.asic.common.signature with type arguments of type DSSDocument Modifier and Type Method Description protected voidAbstractASiCDataToSignHelperBuilder. assertDocumentNamesDefined(List<DSSDocument> documents)Checks if the document names are defined and adds them if neededprotected DSSDocumentAbstractASiCSignatureService. buildASiCContainer(List<DSSDocument> documentsToBeSigned, List<DSSDocument> signatures, List<DSSDocument> metaInfFolderDocuments, ASiCParameters asicParameters, Date creationTime)Creates a ZIP-Archive by copying the provided documents to the new containerprotected DSSDocumentAbstractASiCSignatureService. mergeArchiveAndExtendedSignatures(DSSDocument archiveDocument, List<DSSDocument> filesToAdd, Date creationTime, String zipComment)Creates a ZIP-Archive by copying the existingarchiveDocumententries and overwriting matching ones withfilesToAddConstructors in eu.europa.esig.dss.asic.common.signature with parameters of type DSSDocument Constructor Description ASiCCounterSignatureHelper(DSSDocument asicContainer)The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.common.signature.asics
Methods in eu.europa.esig.dss.asic.common.signature.asics that return DSSDocument Modifier and Type Method Description protected DSSDocumentAbstractGetDataToSignASiCS. createPackageZip(List<DSSDocument> documents, Date signingDate, String zipComment)Method parameters in eu.europa.esig.dss.asic.common.signature.asics with type arguments of type DSSDocument Modifier and Type Method Description protected DSSDocumentAbstractGetDataToSignASiCS. createPackageZip(List<DSSDocument> documents, Date signingDate, String zipComment) -
Uses of DSSDocument in eu.europa.esig.dss.asic.common.validation
Methods in eu.europa.esig.dss.asic.common.validation that return DSSDocument Modifier and Type Method Description DSSDocumentAbstractASiCContainerValidator. getMimeTypeDocument()Returns a mimetype documentMethods in eu.europa.esig.dss.asic.common.validation that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>AbstractASiCContainerValidator. getAllDocuments()Returns a list of all embedded documentsList<DSSDocument>AbstractASiCContainerValidator. getAllManifestDocuments()Returns a list of all embedded manifest documentsList<DSSDocument>AbstractASiCContainerValidator. getArchiveDocuments()Returns a list of archive documents embedded the containerList<DSSDocument>AbstractASiCContainerValidator. getArchiveManifestDocuments()Returns a list of embedded archive manifest documentsList<DSSDocument>AbstractASiCContainerValidator. getManifestDocuments()Returns a list of embedded signature manifest documentsList<DSSDocument>AbstractASiCContainerValidator. getSignatureDocuments()Returns a list of embedded signature documentsList<DSSDocument>AbstractASiCContainerValidator. getSignedDocuments()Returns a list of embedded signed documentsprotected List<DSSDocument>AbstractASiCContainerValidator. getSignedDocumentsASiCS(List<DSSDocument> retrievedDocs)Returns a list of "package.zip" documentsList<DSSDocument>AbstractASiCContainerValidator. getTimestampDocuments()Returns a list of embedded timestamp documentsList<DSSDocument>AbstractASiCContainerValidator. getUnsupportedDocuments()Returns a list of unsupported documents from the containerMethod parameters in eu.europa.esig.dss.asic.common.validation with type arguments of type DSSDocument Modifier and Type Method Description protected List<DSSDocument>AbstractASiCContainerValidator. getSignedDocumentsASiCS(List<DSSDocument> retrievedDocs)Returns a list of "package.zip" documentsConstructors in eu.europa.esig.dss.asic.common.validation with parameters of type DSSDocument Constructor Description AbstractASiCContainerValidator(DSSDocument document)The default constructorAbstractASiCContainerValidator(DSSDocument document, SignatureScopeFinder signatureScopeFinder)Constructor with a customSignatureScopeFinder -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades
Methods in eu.europa.esig.dss.asic.xades that return types with arguments of type DSSDocument Modifier and Type Method Description static List<DSSDocument>OpenDocumentSupportUtils. getOpenDocumentCoverage(ASiCExtractResult extractResult)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.Constructors in eu.europa.esig.dss.asic.xades with parameters of type DSSDocument Constructor Description ASiCWithXAdESContainerExtractor(DSSDocument archive)The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.signature
Methods in eu.europa.esig.dss.asic.xades.signature that return DSSDocument Modifier and Type Method Description DSSDocumentASiCWithXAdESService. addSignaturePolicyStore(DSSDocument asicContainer, SignaturePolicyStore signaturePolicyStore)Incorporates a Signature Policy Store as an unsigned property into the ASiC with XAdES SignatureDSSDocumentASiCWithXAdESService. counterSignSignature(DSSDocument asicContainer, XAdESCounterSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentASiCWithXAdESService. extendDocument(DSSDocument toExtendDocument, ASiCWithXAdESSignatureParameters parameters)DSSDocumentGetDataToSignASiCWithXAdESHelper. getExistingSignature()Returns the signature document (used for parallel signatures)DSSDocumentGetDataToSignASiCWithXAdESHelper. getRootDocument()Returns the root document (used for OpenDocument files)DSSDocumentASiCWithXAdESService. signDocument(List<DSSDocument> toSignDocuments, ASiCWithXAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentASiCWithXAdESService. timestamp(List<DSSDocument> toTimestampDocuments, XAdESTimestampParameters parameters)Methods in eu.europa.esig.dss.asic.xades.signature that return types with arguments of type DSSDocument Modifier and Type Method Description protected List<DSSDocument>ASiCWithXAdESCounterSignatureHelper. getDetachedDocuments(String signatureFilename)List<DSSDocument>GetDataToSignASiCWithXAdESHelper. getToBeSigned()Returns a list of documents to be signed (XAdES allows to sign multiple files)Methods in eu.europa.esig.dss.asic.xades.signature with parameters of type DSSDocument Modifier and Type Method Description DSSDocumentASiCWithXAdESService. addSignaturePolicyStore(DSSDocument asicContainer, SignaturePolicyStore signaturePolicyStore)Incorporates a Signature Policy Store as an unsigned property into the ASiC with XAdES SignatureDSSDocumentASiCWithXAdESService. counterSignSignature(DSSDocument asicContainer, XAdESCounterSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentASiCWithXAdESService. extendDocument(DSSDocument toExtendDocument, ASiCWithXAdESSignatureParameters parameters)protected AbstractASiCContainerExtractorASiCWithXAdESService. getArchiveExtractor(DSSDocument archive)ToBeSignedASiCWithXAdESService. getDataToBeCounterSigned(DSSDocument asicContainer, XAdESCounterSignatureParameters parameters)protected DocumentValidatorASiCWithXAdESCounterSignatureHelper. getDocumentValidator(DSSDocument signatureDocument)Method parameters in eu.europa.esig.dss.asic.xades.signature with type arguments of type DSSDocument Modifier and Type Method Description GetDataToSignASiCWithXAdESHelperASiCWithXAdESDataToSignHelperBuilder. build(List<DSSDocument> documents, ASiCWithXAdESSignatureParameters parameters)Builds aGetDataToSignASiCWithXAdESHelperfrom the given list of documents and defined parametersTimestampTokenASiCWithXAdESService. getContentTimestamp(List<DSSDocument> toSignDocuments, ASiCWithXAdESSignatureParameters parameters)ToBeSignedASiCWithXAdESService. getDataToSign(List<DSSDocument> toSignDocuments, ASiCWithXAdESSignatureParameters parameters)DSSDocumentASiCWithXAdESService. signDocument(List<DSSDocument> toSignDocuments, ASiCWithXAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentASiCWithXAdESService. timestamp(List<DSSDocument> toTimestampDocuments, XAdESTimestampParameters parameters)Constructors in eu.europa.esig.dss.asic.xades.signature with parameters of type DSSDocument Constructor Description ASiCWithXAdESCounterSignatureHelper(DSSDocument asicContainer)The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.signature.asice
Methods in eu.europa.esig.dss.asic.xades.signature.asice that return DSSDocument Modifier and Type Method Description protected DSSDocumentAbstractDataToSignASiCEWithXAdES. getASiCManifest(List<DSSDocument> documents)Returns the ASiC ManifestDSSDocumentDataToSignASiCEWithXAdESFromArchive. getExistingSignature()DSSDocumentDataToSignASiCEWithXAdESFromFiles. getExistingSignature()DSSDocumentDataToSignOpenDocument. getExistingSignature()DSSDocumentDataToSignASiCEWithXAdESFromArchive. getRootDocument()DSSDocumentDataToSignASiCEWithXAdESFromFiles. getRootDocument()DSSDocumentDataToSignOpenDocument. getRootDocument()Methods in eu.europa.esig.dss.asic.xades.signature.asice that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>DataToSignASiCEWithXAdESFromArchive. getManifestFiles()List<DSSDocument>DataToSignASiCEWithXAdESFromFiles. getManifestFiles()List<DSSDocument>DataToSignOpenDocument. getManifestFiles()List<DSSDocument>DataToSignASiCEWithXAdESFromArchive. getSignatures()List<DSSDocument>DataToSignASiCEWithXAdESFromFiles. getSignatures()List<DSSDocument>DataToSignOpenDocument. getSignatures()List<DSSDocument>DataToSignASiCEWithXAdESFromArchive. getSignedDocuments()List<DSSDocument>DataToSignASiCEWithXAdESFromFiles. getSignedDocuments()List<DSSDocument>DataToSignOpenDocument. getSignedDocuments()List<DSSDocument>DataToSignASiCEWithXAdESFromArchive. getToBeSigned()List<DSSDocument>DataToSignASiCEWithXAdESFromFiles. getToBeSigned()List<DSSDocument>DataToSignOpenDocument. getToBeSigned()Method parameters in eu.europa.esig.dss.asic.xades.signature.asice with type arguments of type DSSDocument Modifier and Type Method Description protected DSSDocumentAbstractDataToSignASiCEWithXAdES. getASiCManifest(List<DSSDocument> documents)Returns the ASiC Manifestprotected StringAbstractDataToSignASiCEWithXAdES. getSignatureFileName(ASiCParameters asicParameters, List<DSSDocument> existingSignatures)Returns the signature filenameConstructors in eu.europa.esig.dss.asic.xades.signature.asice with parameters of type DSSDocument Constructor Description DataToSignOpenDocument(List<DSSDocument> signedDocuments, List<DSSDocument> existingSignatures, List<DSSDocument> existingManifests, DSSDocument mimetype, DSSDocument rootContainer)The default constructorConstructor parameters in eu.europa.esig.dss.asic.xades.signature.asice with type arguments of type DSSDocument Constructor Description ASiCEWithXAdESManifestBuilder(List<DSSDocument> documents)DataToSignASiCEWithXAdESFromArchive(List<DSSDocument> signedDocuments, List<DSSDocument> existingSignatures, List<DSSDocument> existingManifests, ASiCParameters asicParameters)The default constructorDataToSignASiCEWithXAdESFromFiles(List<DSSDocument> filesToBeSigned, ASiCParameters asicParameters)The default constructorDataToSignOpenDocument(List<DSSDocument> signedDocuments, List<DSSDocument> existingSignatures, List<DSSDocument> existingManifests, DSSDocument mimetype, DSSDocument rootContainer)The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.asic.xades.signature.asics
Methods in eu.europa.esig.dss.asic.xades.signature.asics that return DSSDocument Modifier and Type Method Description DSSDocumentDataToSignASiCSWithXAdESFromArchive. getExistingSignature()DSSDocumentDataToSignASiCSWithXAdESFromFiles. getExistingSignature()DSSDocumentDataToSignASiCSWithXAdESFromArchive. getRootDocument()DSSDocumentDataToSignASiCSWithXAdESFromFiles. getRootDocument()Methods in eu.europa.esig.dss.asic.xades.signature.asics that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>DataToSignASiCSWithXAdESFromArchive. getManifestFiles()List<DSSDocument>DataToSignASiCSWithXAdESFromFiles. getManifestFiles()List<DSSDocument>DataToSignASiCSWithXAdESFromArchive. getSignatures()List<DSSDocument>DataToSignASiCSWithXAdESFromFiles. getSignatures()List<DSSDocument>DataToSignASiCSWithXAdESFromArchive. getSignedDocuments()List<DSSDocument>DataToSignASiCSWithXAdESFromFiles. getSignedDocuments()List<DSSDocument>DataToSignASiCSWithXAdESFromArchive. getToBeSigned()List<DSSDocument>DataToSignASiCSWithXAdESFromFiles. getToBeSigned()Constructor parameters in eu.europa.esig.dss.asic.xades.signature.asics with type arguments of type DSSDocument Constructor Description DataToSignASiCSWithXAdESFromArchive(List<DSSDocument> embeddedSignatures, List<DSSDocument> embeddedSignedFiles, ASiCParameters asicParameters)DataToSignASiCSWithXAdESFromFiles(List<DSSDocument> filesToBeSigned, Date signingDate, ASiCParameters asicParameters) -
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 DSSDocument Modifier and Type Method Description List<DSSDocument>ASiCContainerWithXAdESValidator. getOriginalDocuments(AdvancedSignature advancedSignature)List<DSSDocument>ASiCContainerWithXAdESValidator. getOriginalDocuments(String signatureId)Methods in eu.europa.esig.dss.asic.xades.validation with parameters of type DSSDocument Modifier and Type Method Description SignedDocumentValidatorASiCContainerWithXAdESValidatorFactory. create(DSSDocument document)booleanASiCContainerWithXAdESValidator. isSupported(DSSDocument dssDocument)booleanASiCContainerWithXAdESValidatorFactory. isSupported(DSSDocument document)Constructors in eu.europa.esig.dss.asic.xades.validation with parameters of type DSSDocument Constructor Description ASiCContainerWithXAdESValidator(DSSDocument asicContainer)The default constructorASiCEWithXAdESManifestParser(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 DSSDocument Modifier and Type Method Description static DSSDocumentCMSUtils. getOriginalDocument(org.bouncycastle.cms.CMSSignedData cmsSignedData, List<DSSDocument> detachedDocuments)Returns the original document from the providedcmsSignedDataMethods in eu.europa.esig.dss.cades with parameters of type DSSDocument Modifier and Type Method Description static org.bouncycastle.cms.CMSTypedDataCMSUtils. getContentToBeSigned(DSSDocument toSignData)Returns the content to be signedstatic org.bouncycastle.operator.DigestCalculatorProviderCMSUtils. getDigestCalculatorProvider(DSSDocument toSignDocument, DigestAlgorithm digestAlgorithm)Returns aDigestCalculatorProviderMethod parameters in eu.europa.esig.dss.cades with type arguments of type DSSDocument Modifier and Type Method Description static DSSDocumentCMSUtils. getOriginalDocument(org.bouncycastle.cms.CMSSignedData cmsSignedData, List<DSSDocument> detachedDocuments)Returns the original document from the providedcmsSignedData -
Uses of DSSDocument in eu.europa.esig.dss.cades.signature
Classes in eu.europa.esig.dss.cades.signature that implement DSSDocument Modifier and Type Class Description classCMSSignedDocumentA document composed by a CMSSignedDataMethods in eu.europa.esig.dss.cades.signature that return DSSDocument Modifier and Type Method Description DSSDocumentCAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore)Incorporates a Signature Policy Store as an unsigned property into the CAdES SignatureDSSDocumentCAdESService. counterSignSignature(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentCAdESService. extendDocument(DSSDocument toExtendDocument, CAdESSignatureParameters parameters)DSSDocumentCAdESService. signDocument(DSSDocument toSignDocument, CAdESSignatureParameters parameters, SignatureValue signatureValue)Methods in eu.europa.esig.dss.cades.signature with parameters of type DSSDocument Modifier and Type Method Description DSSDocumentCAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore)Incorporates a Signature Policy Store as an unsigned property into the CAdES SignatureDSSDocumentCAdESService. counterSignSignature(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentCAdESService. extendDocument(DSSDocument toExtendDocument, CAdESSignatureParameters parameters)TimestampTokenCAdESService. getContentTimestamp(DSSDocument toSignDocument, CAdESSignatureParameters parameters)ToBeSignedCAdESService. getDataToBeCounterSigned(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters)ToBeSignedCAdESService. getDataToBeCounterSigned(DSSDocument signatureDocument, org.bouncycastle.cms.SignerInformation signerInfoToCounterSign, CAdESSignatureParameters parameters)Returns a data toBeSigned for a counter signature on the givensignerInfoToCounterSignToBeSignedCAdESService. getDataToSign(DSSDocument toSignDocument, CAdESSignatureParameters parameters)org.bouncycastle.cms.SignerInformationCAdESCounterSignatureBuilder. getSignerInformationToBeCounterSigned(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters)Returns aSignerInformationto be counter signedDSSDocumentCAdESService. signDocument(DSSDocument toSignDocument, CAdESSignatureParameters parameters, SignatureValue signatureValue)Method parameters in eu.europa.esig.dss.cades.signature with type arguments of type DSSDocument Modifier and Type Method Description org.bouncycastle.cms.CMSSignedDataCMSSignedDataBuilder. extendCMSSignedData(org.bouncycastle.cms.CMSSignedData cmsSignedData, ValidationDataForInclusion validationDataForInclusion, List<DSSDocument> detachedContents)Extends the providedcmsSignedDatawith the required validation dataprotected org.bouncycastle.cms.CMSSignedDataCAdESLevelBaselineLT. extendWithValidationData(org.bouncycastle.cms.CMSSignedData cmsSignedData, ValidationDataForInclusion validationDataForInclusion, List<DSSDocument> detachedContents)Extends thecmsSignedDatawith the LT-level (validation data)protected org.bouncycastle.cms.CMSSignedDataCMSSignedDataBuilder. regenerateCMSSignedData(org.bouncycastle.cms.CMSSignedData cmsSignedData, List<DSSDocument> detachedContents, org.bouncycastle.util.Store certificatesStore, org.bouncycastle.util.Store attributeCertificatesStore, org.bouncycastle.util.Store crlsStore, org.bouncycastle.util.Store otherRevocationInfoFormatStoreBasic, org.bouncycastle.util.Store otherRevocationInfoFormatStoreOcsp)Generates a new CMSSignedData with incorporation of defined validation data stores -
Uses of DSSDocument in eu.europa.esig.dss.cades.validation
Methods in eu.europa.esig.dss.cades.validation that return DSSDocument Modifier and Type Method Description DSSDocumentCAdESSignature. getOriginalDocument()Returns the original signed documentMethods in eu.europa.esig.dss.cades.validation that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>CMSDocumentValidator. getOriginalDocuments(AdvancedSignature advancedSignature)List<DSSDocument>CMSDocumentValidator. getOriginalDocuments(String signatureId)Methods in eu.europa.esig.dss.cades.validation with parameters of type DSSDocument Modifier and Type Method Description SignedDocumentValidatorCMSDocumentValidatorFactory. create(DSSDocument document)booleanCMSDocumentValidator. isSupported(DSSDocument dssDocument)booleanCMSDocumentValidatorFactory. isSupported(DSSDocument document)Constructors in eu.europa.esig.dss.cades.validation with parameters of type DSSDocument Constructor Description CMSDocumentValidator(DSSDocument document)The default constructor forCMSDocumentValidator.CMSDocumentValidator(DSSDocument document, SignatureScopeFinder<CAdESSignature> signatureScopeFinder)Creates a validator from aDSSDocument -
Uses of DSSDocument in eu.europa.esig.dss.cades.validation.scope
Methods in eu.europa.esig.dss.cades.validation.scope that return DSSDocument Modifier and Type Method Description protected DSSDocumentCAdESSignatureScopeFinder. getOriginalDocument(CAdESSignature cadesSignature)Returns original document for the given CAdES signatureMethods in eu.europa.esig.dss.cades.validation.scope with parameters of type DSSDocument Modifier and Type Method Description protected List<SignatureScope>CAdESSignatureScopeFinder. getSignatureScopeFromOriginalDocument(CAdESSignature cadesSignature, DSSDocument originalDocument)Returns a list ofSignatureScopes from the signed document -
Uses of DSSDocument in eu.europa.esig.dss.cades.validation.timestamp
Methods in eu.europa.esig.dss.cades.validation.timestamp that return DSSDocument Modifier and Type Method Description DSSDocumentCAdESTimestampDataBuilder. getArchiveTimestampData(TimestampToken timestampToken)DSSDocumentCAdESTimestampDataBuilder. getContentTimestampData(TimestampToken timestampToken)DSSDocumentCAdESTimestampDataBuilder. getSignatureTimestampData(TimestampToken timestampToken)DSSDocumentCAdESTimestampDataBuilder. getTimestampX1Data(TimestampToken timestampToken)DSSDocumentCAdESTimestampDataBuilder. getTimestampX2Data(TimestampToken timestampToken) -
Uses of DSSDocument in eu.europa.esig.dss.jades
Classes in eu.europa.esig.dss.jades that implement DSSDocument Modifier and Type Class Description classHTTPHeaderThe 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_HEADERSmechanismclassHTTPHeaderDigestAn HTTP message body, which 'Digest' representation is being signed with 'sigD' HTTP_HEADERS mechanismMethods in eu.europa.esig.dss.jades that return DSSDocument Modifier and Type Method Description static 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.DSSDocumentJWSJsonSerializationGenerator. generate()Generates theDSSDocumentDSSDocumentHTTPHeaderDigest. getMessageBodyDocument()Returns the original HTTP Message Body DocumentMethods in eu.europa.esig.dss.jades with parameters of type DSSDocument Modifier and Type Method Description static 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 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 stringstatic JWSJsonSerializationObjectDSSJsonUtils. toJWSJsonSerializationObject(DSSDocument jadesDocument)Converts theDSSDocumenttoJWSJsonSerializationObject, if not possible returns nullMethod parameters in eu.europa.esig.dss.jades with type arguments of type DSSDocument Modifier and Type Method Description static byte[]DSSJsonUtils. concatenateDSSDocuments(List<DSSDocument> documents)Concatenates document octets to a single byte arrayConstructors in eu.europa.esig.dss.jades with parameters of type DSSDocument Constructor Description HTTPHeaderDigest(DSSDocument messageBodyDocument, DigestAlgorithm digestAlgorithm)The default constructorJWSCompactSerializationParser(DSSDocument document)The default constructorJWSJsonSerializationParser(DSSDocument document)The default constructor for parser to extract a list of signatures and payload -
Uses of DSSDocument in eu.europa.esig.dss.jades.signature
Methods in eu.europa.esig.dss.jades.signature that return DSSDocument Modifier and Type Method Description DSSDocumentJAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore)Incorporates a Signature Policy Store as a base64Url-encoded unsigned property into the JAdES SignatureDSSDocumentJAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance)Incorporates a Signature Policy Store as an unsigned property into the JAdES SignatureDSSDocumentJAdESSignaturePolicyStoreBuilder. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance)AddssignaturePolicyStoreto signatures inside thedocumentDSSDocumentJAdESBuilder. build(SignatureValue signatureValue)Builds a signatureDSSDocumentJAdESCompactBuilder. build(SignatureValue signatureValue)Builds the concatenation of signed header and payload (dataTobeSigned string) in the way : BASE64URL(UTF8(JWS Protected Header)) || '.' || BASE64URL(JWS Payload)DSSDocumentJAdESSerializationBuilder. build(SignatureValue signatureValue)DSSDocumentJAdESCounterSignatureBuilder. buildEmbeddedCounterSignature(DSSDocument signatureDocument, DSSDocument counterSignature, JAdESCounterSignatureParameters parameters)Embeds and returns the embedded counter signature into the original JAdES signatureDSSDocumentJAdESService. counterSignSignature(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentJAdESService. extendDocument(DSSDocument toExtendDocument, JAdESSignatureParameters parameters)DSSDocumentJAdESLevelBaselineT. extendSignatures(DSSDocument document, JAdESSignatureParameters params)DSSDocumentJAdESCounterSignatureBuilder. getSignatureValueToBeSigned(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters)Extract SignatureValue binaries from the provided JAdES signatureDSSDocumentJAdESService. signDocument(DSSDocument toSignDocument, JAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentJAdESService. signDocument(List<DSSDocument> toSignDocuments, JAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentJAdESService. timestamp(List<DSSDocument> toTimestampDocuments, JAdESTimestampParameters parameters)Methods in eu.europa.esig.dss.jades.signature with parameters of type DSSDocument Modifier and Type Method Description DSSDocumentJAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore)Incorporates a Signature Policy Store as a base64Url-encoded unsigned property into the JAdES SignatureDSSDocumentJAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance)Incorporates a Signature Policy Store as an unsigned property into the JAdES SignatureDSSDocumentJAdESSignaturePolicyStoreBuilder. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance)AddssignaturePolicyStoreto signatures inside thedocumentDSSDocumentJAdESCounterSignatureBuilder. buildEmbeddedCounterSignature(DSSDocument signatureDocument, DSSDocument counterSignature, JAdESCounterSignatureParameters parameters)Embeds and returns the embedded counter signature into the original JAdES signatureDSSDocumentJAdESService. counterSignSignature(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentJAdESService. extendDocument(DSSDocument toExtendDocument, JAdESSignatureParameters parameters)DSSDocumentJAdESLevelBaselineT. extendSignatures(DSSDocument document, JAdESSignatureParameters params)TimestampTokenJAdESService. getContentTimestamp(DSSDocument toSignDocument, JAdESSignatureParameters parameters)ToBeSignedJAdESService. getDataToBeCounterSigned(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters)ToBeSignedJAdESService. getDataToSign(DSSDocument toSignDocument, JAdESSignatureParameters parameters)DSSDocumentJAdESCounterSignatureBuilder. getSignatureValueToBeSigned(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters)Extract SignatureValue binaries from the provided JAdES signatureDSSDocumentJAdESService. signDocument(DSSDocument toSignDocument, JAdESSignatureParameters parameters, SignatureValue signatureValue)protected JWSJsonSerializationObjectJAdESExtensionBuilder. toJWSJsonSerializationObjectToExtend(DSSDocument document)Parses the provideddocumenttoJWSJsonSerializationObjectThrows an exception if the document cannot be extendedMethod parameters in eu.europa.esig.dss.jades.signature with type arguments of type DSSDocument Modifier and Type Method Description TimestampTokenJAdESService. getContentTimestamp(List<DSSDocument> toSignDocuments, JAdESSignatureParameters parameters)This methods allows to create a TimestampToken for a detached JAdES (with a 'sigD' parameter).ToBeSignedJAdESService. getDataToSign(List<DSSDocument> toSignDocuments, JAdESSignatureParameters parameters)protected JAdESBuilderJAdESService. getJAdESBuilder(JAdESSignatureParameters parameters, List<DSSDocument> documentsToSign)Returns the JAdESBuilder to be usedDSSDocumentJAdESService. signDocument(List<DSSDocument> toSignDocuments, JAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentJAdESService. timestamp(List<DSSDocument> toTimestampDocuments, JAdESTimestampParameters parameters)Constructor parameters in eu.europa.esig.dss.jades.signature with type arguments of type DSSDocument Constructor Description AbstractJAdESBuilder(CertificateVerifier certificateVerifier, JAdESSignatureParameters parameters, List<DSSDocument> documentsToSign)Default constructorHttpHeadersPayloadBuilder(List<DSSDocument> detachedContents, boolean isTimestamp)The default constructorJAdESCompactBuilder(CertificateVerifier certificateVerifier, JAdESSignatureParameters parameters, List<DSSDocument> documentsToSign)The default constructorJAdESLevelBaselineB(CertificateVerifier certificateVerifier, JAdESSignatureParameters parameters, List<DSSDocument> documentsToSign)The default constructorJAdESSerializationBuilder(CertificateVerifier certificateVerifier, JAdESSignatureParameters parameters, List<DSSDocument> documentsToSign)The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.jades.validation
Methods in eu.europa.esig.dss.jades.validation that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>AbstractJWSDocumentValidator. getOriginalDocuments(AdvancedSignature advancedSignature)List<DSSDocument>AbstractJWSDocumentValidator. getOriginalDocuments(String signatureId)List<DSSDocument>JAdESSignature. getOriginalDocuments()Returns a list of original documents signed by the signatureList<DSSDocument>JAdESSignature. getSignedDocumentsByUri(boolean caseSensitive)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 ObjectByUri detached signature mechanismMethods in eu.europa.esig.dss.jades.validation with parameters of type DSSDocument Modifier and Type Method Description SignedDocumentValidatorJAdESDocumentValidatorFactory. create(DSSDocument document)booleanJAdESDocumentValidatorFactory. isSupported(DSSDocument document)booleanJWSCompactDocumentValidator. isSupported(DSSDocument dssDocument)booleanJWSSerializationDocumentValidator. isSupported(DSSDocument document)Constructors in eu.europa.esig.dss.jades.validation with parameters of type DSSDocument Constructor Description AbstractJWSDocumentValidator(DSSDocument document)Default constructorJWSCompactDocumentValidator(DSSDocument document)Default constructorJWSSerializationDocumentValidator(DSSDocument document)Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.jades.validation.scope
Methods in eu.europa.esig.dss.jades.validation.scope that return types with arguments of type DSSDocument Modifier and Type Method Description protected 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 DSSDocument Modifier and Type Method Description protected SignatureScopeJAdESSignatureScopeFinder. getSignatureScopeFromOriginalDocument(DSSDocument originalDocument)Returns aSignatureScopefor the givenoriginalDocumentMethod parameters in eu.europa.esig.dss.jades.validation.scope with type arguments of type DSSDocument Modifier and Type Method Description protected 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.jades.validation.timestamp
Methods in eu.europa.esig.dss.jades.validation.timestamp that return DSSDocument Modifier and Type Method Description DSSDocumentJAdESTimestampDataBuilder. getArchiveTimestampData(TimestampToken timestampToken)DSSDocumentJAdESTimestampDataBuilder. getContentTimestampData(TimestampToken timestampToken)DSSDocumentJAdESTimestampDataBuilder. getSignatureTimestampData(TimestampToken timestampToken)DSSDocumentJAdESTimestampDataBuilder. getTimestampX1Data(TimestampToken timestampToken)DSSDocumentJAdESTimestampDataBuilder. getTimestampX2Data(TimestampToken timestampToken) -
Uses of DSSDocument in eu.europa.esig.dss.model
Classes in eu.europa.esig.dss.model that implement DSSDocument Modifier and Type Class Description classCommonDocumentThis class implements the default methods.classDigestDocumentDigest representation of aDSSDocument.classFileDocumentDocument implementation stored on file-system.classInMemoryDocumentIn memory representation of a documentMethods in eu.europa.esig.dss.model that return DSSDocument Modifier and Type Method Description DSSDocumentSignaturePolicyStore. getSignaturePolicyContent()Get policy store contentMethods in eu.europa.esig.dss.model with parameters of type DSSDocument Modifier and Type Method Description voidSignaturePolicyStore. setSignaturePolicyContent(DSSDocument signaturePolicyContent)Set policy store content -
Uses of DSSDocument in eu.europa.esig.dss.pades
Methods in eu.europa.esig.dss.pades that return DSSDocument Modifier and Type Method Description DSSDocumentSignatureImageParameters. getImage()Returns aDSSDocumentimage defined for displaying on the signature fieldMethods in eu.europa.esig.dss.pades with parameters of type DSSDocument Modifier and Type Method Description static byte[]PAdESUtils. getSignedContent(DSSDocument dssDocument, ByteRange byteRange)Returns a signed content according to the provided byteRangestatic booleanPAdESUtils. isPDFDocument(DSSDocument document)Checks if the givenDSSDocumentrepresents a PDF documentstatic InMemoryDocumentPAdESUtils. retrievePreviousPDFRevision(DSSDocument document, ByteRange byteRange)Retrieves the PDF document up to the previous PDF Revision, an empty document if such revision is not foundvoidSignatureImageParameters. 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 DSSDocument Constructor Description DSSFileFont(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 DSSDocument Modifier and Type Method Description DSSDocumentPAdESService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters)This method allows to add a new signature field to an existing pdf documentDSSDocumentPAdESService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String passwordProtection)This method allows to add a new signature field to an encrypted pdf documentDSSDocumentPAdESService. extendDocument(DSSDocument toExtendDocument, PAdESSignatureParameters parameters)DSSDocumentPAdESService. signDocument(DSSDocument toSignDocument, PAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentPAdESService. timestamp(DSSDocument toTimestampDocument, PAdESTimestampParameters parameters)Methods in eu.europa.esig.dss.pades.signature with parameters of type DSSDocument Modifier and Type Method Description DSSDocumentPAdESService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters)This method allows to add a new signature field to an existing pdf documentDSSDocumentPAdESService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String passwordProtection)This method allows to add a new signature field to an encrypted pdf documentprotected byte[]PAdESService. computeDocumentDigest(DSSDocument toSignDocument, PAdESSignatureParameters parameters)Computes digest of the document to be signedDSSDocumentPAdESService. extendDocument(DSSDocument toExtendDocument, PAdESSignatureParameters parameters)protected byte[]PAdESService. generateCMSSignedData(DSSDocument toSignDocument, PAdESSignatureParameters parameters, SignatureValue signatureValue)Generates the CMSSignedDataList<String>PAdESService. getAvailableSignatureFields(DSSDocument document)This method returns not signed signature-fieldsList<String>PAdESService. getAvailableSignatureFields(DSSDocument document, String passwordProtection)This method returns not signed signature-fields from an encrypted documentTimestampTokenPAdESService. getContentTimestamp(DSSDocument toSignDocument, PAdESSignatureParameters parameters)ToBeSignedPAdESService. getDataToSign(DSSDocument toSignDocument, PAdESSignatureParameters parameters)DSSDocumentPAdESService. signDocument(DSSDocument toSignDocument, PAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentPAdESService. 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 DSSDocument Modifier and Type Method Description DSSDocumentPAdESTimestampService. timestampDocument(DSSDocument document, PAdESTimestampParameters params)Timestamp the documentMethods in eu.europa.esig.dss.pades.timestamp with parameters of type DSSDocument Modifier and Type Method Description DSSDocumentPAdESTimestampService. timestampDocument(DSSDocument document, PAdESTimestampParameters params)Timestamp the document -
Uses of DSSDocument in eu.europa.esig.dss.pades.validation
Methods in eu.europa.esig.dss.pades.validation that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>PDFDocumentValidator. getOriginalDocuments(AdvancedSignature advancedSignature)List<DSSDocument>PDFDocumentValidator. getOriginalDocuments(String signatureId)Methods in eu.europa.esig.dss.pades.validation with parameters of type DSSDocument Modifier and Type Method Description SignedDocumentValidatorPDFDocumentValidatorFactory. create(DSSDocument document)booleanPDFDocumentValidator. isSupported(DSSDocument dssDocument)booleanPDFDocumentValidatorFactory. isSupported(DSSDocument document)Constructors in eu.europa.esig.dss.pades.validation with parameters of type DSSDocument Constructor Description PDFDocumentValidator(DSSDocument document)The default constructor for PDFDocumentValidator. -
Uses of DSSDocument in eu.europa.esig.dss.pades.validation.timestamp
Methods in eu.europa.esig.dss.pades.validation.timestamp that return DSSDocument Modifier and Type Method Description DSSDocumentPAdESTimestampDataBuilder. getArchiveTimestampData(TimestampToken timestampToken)DSSDocumentPAdESTimestampDataBuilder. getSignatureTimestampData(TimestampToken timestampToken)DSSDocumentPAdESTimestampDataBuilder. getTimestampX1Data(TimestampToken timestampToken)DSSDocumentPAdESTimestampDataBuilder. getTimestampX2Data(TimestampToken timestampToken) -
Uses of DSSDocument in eu.europa.esig.dss.pdf
Methods in eu.europa.esig.dss.pdf that return DSSDocument Modifier and Type Method Description DSSDocumentAbstractPDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks)DSSDocumentPDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks)This method adds the DSS dictionary (Baseline-LT)DSSDocumentPDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks, String pwd)This method adds the DSS dictionary (Baseline-LT)DSSDocumentAbstractPDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters)DSSDocumentPDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters)This method allows to add a new signature field to an existing pdf documentDSSDocumentPDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String pwd)This method allows to add a new signature field to an existing encrypted pdf documentDSSDocumentPDFSignatureService. sign(DSSDocument pdfData, byte[] signatureValue, PAdESCommonParameters parameters)Signs a PDF documentMethods in eu.europa.esig.dss.pdf with parameters of type DSSDocument Modifier and Type Method Description DSSDocumentAbstractPDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks)DSSDocumentPDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks)This method adds the DSS dictionary (Baseline-LT)DSSDocumentPDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks, String pwd)This method adds the DSS dictionary (Baseline-LT)DSSDocumentAbstractPDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters)DSSDocumentPDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters)This method allows to add a new signature field to an existing pdf documentDSSDocumentPDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String pwd)This method allows to add a new signature field to an existing encrypted pdf documentprotected abstract voidAbstractPDFSignatureService. checkDocumentPermissions(DSSDocument toSignDocument, String pwd)This method checks if the document is not encrypted or with limited edition rightsbyte[]PDFSignatureService. digest(DSSDocument toSignDocument, PAdESCommonParameters parameters)Returns the digest value of a PDF documentList<String>AbstractPDFSignatureService. getAvailableSignatureFields(DSSDocument document)List<String>PDFSignatureService. getAvailableSignatureFields(DSSDocument document)This method returns not signed signature-fieldsList<String>PDFSignatureService. getAvailableSignatureFields(DSSDocument document, String pwd)Returns not-signed signature fields from an encrypted documentList<PdfRevision>AbstractPDFSignatureService. getRevisions(DSSDocument document, String pwd)List<PdfRevision>PDFSignatureService. getRevisions(DSSDocument document, String pwd)Retrieves revisions from a PDF documentprotected byte[]AbstractPDFSignatureService. getSignatureValue(DSSDocument dssDocument, ByteRange byteRange)Gets the SignatureValue from thedssDocumentaccording to thebyteRangeExample: extracts bytes from 841 to 959. [0, 840, 960, 1200]protected booleanAbstractPDFSignatureService. isContentValueEqualsByteRangeExtraction(DSSDocument document, ByteRange byteRange, byte[] cms, List<String> signatureFieldNames)Checks if the of the value incorporated into /Contents matches the range defined in thebyteRangeNOTE: used for SIWA detectionprotected abstract PdfDocumentReaderAbstractPDFSignatureService. loadPdfDocumentReader(DSSDocument dssDocument, String passwordProtection)LoadsPdfDocumentReaderinstanceDSSDocumentPDFSignatureService. sign(DSSDocument pdfData, byte[] signatureValue, PAdESCommonParameters parameters)Signs a PDF document -
Uses of DSSDocument in eu.europa.esig.dss.pdf.openpdf
Methods in eu.europa.esig.dss.pdf.openpdf that return DSSDocument Modifier and Type Method Description DSSDocumentITextPDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks, String pwd)DSSDocumentITextPDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String pwd)DSSDocumentITextPDFSignatureService. sign(DSSDocument toSignDocument, byte[] signatureValue, PAdESCommonParameters parameters)Methods in eu.europa.esig.dss.pdf.openpdf with parameters of type DSSDocument Modifier and Type Method Description DSSDocumentITextPDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks, String pwd)DSSDocumentITextPDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String pwd)protected voidITextPDFSignatureService. checkDocumentPermissions(DSSDocument toSignDocument, String pwd)byte[]ITextPDFSignatureService. digest(DSSDocument toSignDocument, PAdESCommonParameters parameters)List<String>ITextPDFSignatureService. getAvailableSignatureFields(DSSDocument document, String pwd)protected PdfDocumentReaderITextPDFSignatureService. loadPdfDocumentReader(DSSDocument dssDocument, String passwordProtection)DSSDocumentITextPDFSignatureService. sign(DSSDocument toSignDocument, byte[] signatureValue, PAdESCommonParameters parameters)Constructors in eu.europa.esig.dss.pdf.openpdf with parameters of type DSSDocument Constructor Description ITextDocumentReader(DSSDocument dssDocument)Default constructor of the OpenPDF implementation of the ReaderITextDocumentReader(DSSDocument dssDocument, byte[] passwordProtection)The OpenPDF implementation of the Reader -
Uses of DSSDocument in eu.europa.esig.dss.pdf.pdfbox
Methods in eu.europa.esig.dss.pdf.pdfbox that return DSSDocument Modifier and Type Method Description DSSDocumentPdfBoxSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks, String pwd)DSSDocumentPdfBoxSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String pwd)static DSSDocumentPdfBoxUtils. generateScreenshot(DSSDocument pdfDocument, int page)Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocumentPdfBoxUtils. generateScreenshot(DSSDocument pdfDocument, String passwordProtection, int page)Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocumentPdfBoxUtils. generateSubtractionImage(DSSDocument document1, DSSDocument document2, int page)This method returns an image representing a subtraction result betweendocument1anddocument2for the given page numberstatic DSSDocumentPdfBoxUtils. generateSubtractionImage(DSSDocument document1, String passwordDocument1, int pageDocument1, DSSDocument document2, String passwordDocument2, int pageDocument2)This method returns an image representing a subtraction result betweendocument1anddocument2for the defined pagesDSSDocumentPdfBoxSignatureService. sign(DSSDocument toSignDocument, byte[] signatureValue, PAdESCommonParameters parameters)Methods in eu.europa.esig.dss.pdf.pdfbox with parameters of type DSSDocument Modifier and Type Method Description DSSDocumentPdfBoxSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks, String pwd)DSSDocumentPdfBoxSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String pwd)protected voidPdfBoxSignatureService. checkDocumentPermissions(DSSDocument document, String pwd)byte[]PdfBoxSignatureService. digest(DSSDocument toSignDocument, PAdESCommonParameters parameters)static BufferedImagePdfBoxUtils. generateBufferedImageScreenshot(DSSDocument pdfDocument, String passwordProtection, int page)The method generates a BufferedImage for the specified page of the documentstatic DSSDocumentPdfBoxUtils. generateScreenshot(DSSDocument pdfDocument, int page)Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocumentPdfBoxUtils. generateScreenshot(DSSDocument pdfDocument, String passwordProtection, int page)Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocumentPdfBoxUtils. generateSubtractionImage(DSSDocument document1, DSSDocument document2, int page)This method returns an image representing a subtraction result betweendocument1anddocument2for the given page numberstatic DSSDocumentPdfBoxUtils. generateSubtractionImage(DSSDocument document1, String passwordDocument1, int pageDocument1, DSSDocument document2, String passwordDocument2, int pageDocument2)This method returns an image representing a subtraction result betweendocument1anddocument2for the defined pagesList<String>PdfBoxSignatureService. getAvailableSignatureFields(DSSDocument document, String pwd)protected PdfDocumentReaderPdfBoxSignatureService. loadPdfDocumentReader(DSSDocument dssDocument, String passwordProtection)DSSDocumentPdfBoxSignatureService. sign(DSSDocument toSignDocument, byte[] signatureValue, PAdESCommonParameters parameters)Constructors in eu.europa.esig.dss.pdf.pdfbox with parameters of type DSSDocument Constructor Description PdfBoxDocumentReader(DSSDocument dssDocument)Default constructor of the PDFBox implementation of the ReaderPdfBoxDocumentReader(DSSDocument dssDocument, String passwordProtection)The PDFBox implementation of the Reader -
Uses of DSSDocument in eu.europa.esig.dss.pdf.pdfbox.visible
Methods in eu.europa.esig.dss.pdf.pdfbox.visible with parameters of type DSSDocument Modifier and Type Method Description protected voidAbstractPdfBoxSignatureDrawer. checkColorSpace(org.apache.pdfbox.pdmodel.PDDocument pdDocument, DSSDocument image)Method to check if the target image's color space is present in the document's catalogprotected abstract StringAbstractPdfBoxSignatureDrawer. getColorSpaceName(DSSDocument image)Returns color space name for the provided image -
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 DSSDocument Modifier and Type Method Description protected StringDefaultPdfBoxVisibleSignatureDrawer. getColorSpaceName(DSSDocument image) -
Uses of DSSDocument in eu.europa.esig.dss.pdf.pdfbox.visible.nativedrawer
Methods in eu.europa.esig.dss.pdf.pdfbox.visible.nativedrawer with parameters of type DSSDocument Modifier and Type Method Description protected StringNativePdfBoxVisibleSignatureDrawer. getColorSpaceName(DSSDocument image) -
Uses of DSSDocument in eu.europa.esig.dss.pdf.visible
Methods in eu.europa.esig.dss.pdf.visible with parameters of type DSSDocument Modifier and Type Method Description static ImageAndResolutionImageUtils. readDisplayMetadata(DSSDocument image)Reads image's metadataConstructors in eu.europa.esig.dss.pdf.visible with parameters of type DSSDocument Constructor Description ImageAndResolution(DSSDocument image, int xDpi, int yDpi) -
Uses of DSSDocument in eu.europa.esig.dss.service.http.commons
Methods in eu.europa.esig.dss.service.http.commons that return DSSDocument Modifier and Type Method Description DSSDocumentFileCacheDataLoader. getDocument(String url)Methods in eu.europa.esig.dss.service.http.commons with parameters of type DSSDocument Modifier and Type Method Description voidCommonsDataLoader. 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 DSSDocument Modifier and Type Method Description DSSDocumentCounterSignatureService. counterSignSignature(DSSDocument signatureDocument, CSP parameters, SignatureValue signatureValue)Counter signs thesignatureDocumentwith the provided signatureValue.DSSDocumentDocumentSignatureService. extendDocument(DSSDocument toExtendDocument, SP parameters)Extends the level of the signatures in thetoExtendDocumentDSSDocumentMultipleDocumentsSignatureService. extendDocument(DSSDocument toExtendDocument, SP parameters)Extends the level of the signatures in thetoExtendDocumentDSSDocumentSignatureExtension. extendSignatures(DSSDocument document, SP params)Extends the level of the signatures contained in a document.DSSDocumentDocumentSignatureService. signDocument(DSSDocument toSignDocument, SP parameters, SignatureValue signatureValue)Signs the toSignDocument with the provided signatureValue.DSSDocumentMultipleDocumentsSignatureService. signDocument(List<DSSDocument> toSignDocuments, SP parameters, SignatureValue signatureValue)Signs the toSignDocuments with the provided signatureValue.DSSDocumentAbstractSignatureService. timestamp(DSSDocument toTimestampDocument, TP parameters)DSSDocumentDocumentSignatureService. timestamp(DSSDocument toTimestampDocument, TP parameters)This method allows to add a timestamp to an unsigned documentDSSDocumentMultipleDocumentsSignatureService. timestamp(List<DSSDocument> toTimestampDocuments, TP parameters)Timestamps the toSignDocuments with the provided signatureValue.Methods in eu.europa.esig.dss.signature with parameters of type DSSDocument Modifier and Type Method Description DSSDocumentCounterSignatureService. counterSignSignature(DSSDocument signatureDocument, CSP parameters, SignatureValue signatureValue)Counter signs thesignatureDocumentwith the provided signatureValue.DSSDocumentDocumentSignatureService. extendDocument(DSSDocument toExtendDocument, SP parameters)Extends the level of the signatures in thetoExtendDocumentDSSDocumentMultipleDocumentsSignatureService. extendDocument(DSSDocument toExtendDocument, SP parameters)Extends the level of the signatures in thetoExtendDocumentDSSDocumentSignatureExtension. extendSignatures(DSSDocument document, SP params)Extends the level of the signatures contained in a document.TimestampTokenDocumentSignatureService. getContentTimestamp(DSSDocument toSignDocument, SP parameters)This method allows to compute a content-timestamp (which is added in the signed properties)ToBeSignedCounterSignatureService. getDataToBeCounterSigned(DSSDocument signatureDocument, CSP parameters)Retrieves the bytes of the data that need to be counter signed fromsignatureDocument.ToBeSignedDocumentSignatureService. 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. 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 createDSSDocumentDocumentSignatureService. signDocument(DSSDocument toSignDocument, SP parameters, SignatureValue signatureValue)Signs the toSignDocument with the provided signatureValue.DSSDocumentAbstractSignatureService. timestamp(DSSDocument toTimestampDocument, TP parameters)DSSDocumentDocumentSignatureService. 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 DSSDocument Modifier and Type Method Description TimestampTokenMultipleDocumentsSignatureService. getContentTimestamp(List<DSSDocument> toSignDocuments, SP parameters)Creates a content-timestamp attribute (to be include in the signed-data)ToBeSignedMultipleDocumentsSignatureService. getDataToSign(List<DSSDocument> toSignDocuments, SP parameters)Retrieves the bytes of the data that need to be signed based on thetoSignDocumentsandparameters.DSSDocumentMultipleDocumentsSignatureService. signDocument(List<DSSDocument> toSignDocuments, SP parameters, SignatureValue signatureValue)Signs the toSignDocuments with the provided signatureValue.DSSDocumentMultipleDocumentsSignatureService. timestamp(List<DSSDocument> toTimestampDocuments, TP parameters)Timestamps the toSignDocuments with the provided signatureValue. -
Uses of DSSDocument in eu.europa.esig.dss.spi
Methods in eu.europa.esig.dss.spi that return DSSDocument Modifier and Type Method Description static DSSDocumentDSSUtils. splitDocument(DSSDocument origin, int start, int end)This method create a new document from a sub-part of another documentMethods in eu.europa.esig.dss.spi with parameters of type DSSDocument Modifier and Type Method Description static booleanDSSUtils. compareFirstBytes(DSSDocument dssDocument, byte[] byteArray)Reads firstbyteArray.lengthbytes of thedssDocumentand compares them withbyteArraystatic 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. isTimestampToken(DSSDocument document)Checks if the document contains a TimeStampTokenstatic longDSSUtils. readAvailableBytes(DSSDocument dssDocument, byte[] b)Read the requested number of bytes fromDSSDocumentaccording to the size of the providedbyte[] buffer and validates success of the operationstatic byteDSSUtils. readFirstByte(DSSDocument dssDocument)Reads the first byte from the DSSDocumentstatic DSSDocumentDSSUtils. splitDocument(DSSDocument origin, int start, int end)This method create a new document from a sub-part of another documentstatic byte[]DSSUtils. toByteArray(DSSDocument document)Get the contents of 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 DSSDocument Modifier and Type Method Description static List<String>DSSUtils. getDocumentNames(List<DSSDocument> dssDocuments)Returns a list of document names from the given document list -
Uses of DSSDocument in eu.europa.esig.dss.spi.client.http
Methods in eu.europa.esig.dss.spi.client.http that return DSSDocument Modifier and Type Method Description DSSDocumentDSSFileLoader. getDocument(String url)Returns DSSDocument from the provided url -
Uses of DSSDocument in eu.europa.esig.dss.tsl.download
Methods in eu.europa.esig.dss.tsl.download that return DSSDocument Modifier and Type Method Description DSSDocumentXmlDownloadResult. getDSSDocument()Gets the downloaded documentConstructors in eu.europa.esig.dss.tsl.download with parameters of type DSSDocument Constructor Description XmlDownloadResult(DSSDocument dssDocument, Digest digest)Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.tsl.parsing
Constructors in eu.europa.esig.dss.tsl.parsing with parameters of type DSSDocument Constructor Description AbstractParsingTask(DSSDocument document)Default constructorLOTLParsingTask(DSSDocument document, LOTLSource lotlSource)The default constructorTLParsingTask(DSSDocument document, TLSource tlSource)The default constructor -
Uses of DSSDocument in eu.europa.esig.dss.tsl.runnable
Methods in eu.europa.esig.dss.tsl.runnable that return DSSDocument Modifier and Type Method Description protected DSSDocumentAbstractAnalysis. download(String url)Downloads the document by urlDSSDocumentPivotProcessingResult. getPivot()Gets the pivot documentMethods in eu.europa.esig.dss.tsl.runnable with parameters of type DSSDocument Modifier and Type Method Description protected voidAbstractAnalysis. lotlParsing(DSSDocument document, LOTLSource source)Parses the documentprotected voidAbstractAnalysis. validation(DSSDocument document, CertificateSource certificateSource)Validates the documentConstructors in eu.europa.esig.dss.tsl.runnable with parameters of type DSSDocument Constructor Description PivotProcessingResult(DSSDocument pivot, CertificateSource certificateSource, String lotlLocation)Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.tsl.validation
Constructors in eu.europa.esig.dss.tsl.validation with parameters of type DSSDocument Constructor Description TLValidatorTask(DSSDocument trustedList, CertificateSource certificateSource)Constructor used to instantiate a validator for a trusted list -
Uses of DSSDocument in eu.europa.esig.dss.validation
Fields in eu.europa.esig.dss.validation declared as DSSDocument Modifier and Type Field Description protected DSSDocumentSignedDocumentValidator. documentThe document to be validated (with the signature(s) or timestamp(s))protected DSSDocumentSignedDocumentDiagnosticDataBuilder. signedDocumentThe signed documentFields in eu.europa.esig.dss.validation with type parameters of type DSSDocument Modifier and Type Field Description protected List<DSSDocument>SignedDocumentValidator. containerContentsIn case of an ASiC signature thisListof container documents.protected List<DSSDocument>DefaultAdvancedSignature. detachedContentsIn case of a detached signature this is the signed document.protected List<DSSDocument>SignedDocumentValidator. detachedContentsIn case of a detached signature thisListcontains the signed documents.Methods in eu.europa.esig.dss.validation that return DSSDocument Modifier and Type Method Description DSSDocumentXmlPolicyBuilder. extractPolicyContent()ExtractsSignaturePolicycontent NOTE: the relevantSignaturePolicyStoreor/andSignaturePolicyProvidershall be providedDSSDocumentSignaturePolicy. getPolicyContent()Returns a DSSDocument with the signature policy contentDSSDocumentSignaturePolicyProvider. getSignaturePolicy(String policyId, String url)Gets signature policy by all available ways (id and uri)DSSDocumentSignaturePolicyProvider. getSignaturePolicyById(String policyId)Gets a signature policy document with the correspondingpolicyIdfromsignaturePoliciesByIdmapDSSDocumentSignaturePolicyProvider. getSignaturePolicyByUrl(String url)Gets a signature policy document with the correspondingurlfromsignaturePoliciesByUrlmap, if not found, retrieved the data fromurlwithdataLoaderMethods in eu.europa.esig.dss.validation that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>AdvancedSignature. getContainerContents()Returns container's contentList<DSSDocument>DefaultAdvancedSignature. getContainerContents()List<DSSDocument>AdvancedSignature. getDetachedContents()Returns detached contentsList<DSSDocument>DefaultAdvancedSignature. getDetachedContents()List<DSSDocument>DocumentValidator. getOriginalDocuments(AdvancedSignature advancedSignature)This method returns the signed document(s) without their signature(s)List<DSSDocument>DocumentValidator. getOriginalDocuments(String signatureId)This method returns the signed document(s) without their signature(s)Methods in eu.europa.esig.dss.validation with parameters of type DSSDocument Modifier and Type Method Description SignedDocumentValidatorDocumentValidatorFactory. create(DSSDocument document)This methods instantiates aDocumentValidatorwith the given documentSignedDocumentDiagnosticDataBuilderSignedDocumentDiagnosticDataBuilder. document(DSSDocument signedDocument)This method allows to set the document which is analysedstatic 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 documentabstract booleanSignedDocumentValidator. isSupported(DSSDocument dssDocument)Checks if the document is supported by the current validatorvoidManifestFile. setDocument(DSSDocument document)Sets the manifest documentvoidSignaturePolicy. setPolicyContent(DSSDocument policyContent)Sets policy document contentMethod parameters in eu.europa.esig.dss.validation with type arguments of type DSSDocument Modifier and Type Method Description voidAdvancedSignature. 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)voidDocumentValidator. setContainerContents(List<DSSDocument> archiveContents)Sets theListofDSSDocumentcontaining the original container content for ASiC-S signatures.voidSignedDocumentValidator. 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)voidDocumentValidator. setDetachedContents(List<DSSDocument> detachedContent)Sets theListofDSSDocumentcontaining the original contents to sign, for detached signature scenarios.voidSignedDocumentValidator. setDetachedContents(List<DSSDocument> detachedContents)voidSignaturePolicyProvider. 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.validation.scope
Methods in eu.europa.esig.dss.validation.scope with parameters of type DSSDocument Modifier and Type Method Description protected DigestAbstractSignatureScopeFinder. getDigest(DSSDocument document)Gets digest of a documentprotected booleanAbstractSignatureScopeFinder. isASiCSArchive(AdvancedSignature advancedSignature, DSSDocument signedDocument)Checks if the given signature represents an ASiC-S container -
Uses of DSSDocument in eu.europa.esig.dss.validation.timestamp
Methods in eu.europa.esig.dss.validation.timestamp that return DSSDocument Modifier and Type Method Description DSSDocumentTimestampDataBuilder. getArchiveTimestampData(TimestampToken timestampToken)Archive timestamp seals the data of the signature in a specific order.DSSDocumentTimestampDataBuilder. getContentTimestampData(TimestampToken timestampToken)Returns the content timestamp data (timestamped or to be).DSSDocumentTimestampDataBuilder. getSignatureTimestampData(TimestampToken timestampToken)Returns the data (signature value) that was timestamped by the SignatureTimeStamp for the given timestamp.DSSDocumentDetachedTimestampValidator. getTimestampedData()Returns the timestamped dataDSSDocumentTimestampDataBuilder. getTimestampX1Data(TimestampToken timestampToken)Returns the data to be time-stamped.DSSDocumentTimestampDataBuilder. getTimestampX2Data(TimestampToken timestampToken)Returns the data to be time-stamped which contains the concatenation of CompleteCertificateRefs and CompleteRevocationRefs elements (XAdES example).Methods in eu.europa.esig.dss.validation.timestamp that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>DetachedTimestampValidator. getOriginalDocuments(AdvancedSignature advancedSignature)List<DSSDocument>DetachedTimestampValidator. getOriginalDocuments(String signatureId)Methods in eu.europa.esig.dss.validation.timestamp with parameters of type DSSDocument Modifier and Type Method Description SignedDocumentValidatorDetachedTimestampValidatorFactory. create(DSSDocument document)booleanDetachedTimestampValidator. isSupported(DSSDocument dssDocument)booleanDetachedTimestampValidatorFactory. isSupported(DSSDocument document)booleanTimestampToken. matchData(DSSDocument timestampedData)Checks if theTimeStampTokenmatches the signed data.booleanTimestampToken. matchData(DSSDocument timestampedData, boolean suppressMatchWarnings)Checks if theTimeStampTokenmatches the signed data.voidDetachedTimestampValidator. setTimestampedData(DSSDocument document)Sets the data that has been timestampedConstructors in eu.europa.esig.dss.validation.timestamp with parameters of type DSSDocument Constructor Description DetachedTimestampValidator(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 DSSDocument Modifier and Type Method Description static DSSDocumentRemoteDocumentConverter. toDSSDocument(RemoteDocument remoteDocument)Converts the givenRemoteDocumentto aDSSDocumentMethods in eu.europa.esig.dss.ws.converter that return types with arguments of type DSSDocument Modifier and Type Method Description static 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 DSSDocument Modifier and Type Method Description static RemoteDocumentRemoteDocumentConverter. toRemoteDocument(DSSDocument originalDocument)Converts the givenDSSDocumentto aRemoteDocumentMethod parameters in eu.europa.esig.dss.ws.converter with type arguments of type DSSDocument Modifier and Type Method Description static 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 DSSDocument Modifier and Type Method Description DSSDocumentSignatureBuilder. signDocument(byte[] signatureValue)Signs a documentDSSDocumentSignatureProfile. 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 DSSDocument Modifier and Type Method Description static List<DSSDocument>XAdESSignatureUtils. getSignerDocuments(XAdESSignature signature)Returns list of original signed documentsMethods in eu.europa.esig.dss.xades with parameters of type DSSDocument Modifier and Type Method Description static 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 valuesDSSDocumentSignatureProfile. signDocument(DSSDocument toSignDocument, XAdESSignatureParameters parameters, byte[] signatureValue)Creates a signature of the defines profileConstructors in eu.europa.esig.dss.xades with parameters of type DSSDocument Constructor Description TrustedListSignatureParametersBuilder(CertificateToken signingCertificate, DSSDocument tlXmlDocument)The constructor to build Signature Parameters for a Trusted List signing with respect to ETSI TS 119 612TrustedListSignatureParametersBuilder(CertificateToken signingCertificate, List<CertificateToken> certificateChain, DSSDocument tlXmlDocument)The default constructor to build Signature Parameters for a Trusted List signing with respect to ETSI TS 119 612 -
Uses of DSSDocument in eu.europa.esig.dss.xades.reference
Methods in eu.europa.esig.dss.xades.reference that return DSSDocument Modifier and Type Method Description DSSDocumentDSSReference. getContents()Gets the original referenced document contentDSSDocumentReferenceBuilder. getReferenceOutput(DSSReference reference)Returns an output content after processing the givenDSSReferenceMethods in eu.europa.esig.dss.xades.reference with parameters of type DSSDocument Modifier and Type Method Description voidDSSReference. setContents(DSSDocument contents)Sets the original referenced document contentMethod parameters in eu.europa.esig.dss.xades.reference with type arguments of type DSSDocument Modifier and Type Method Description List<DSSReference>ReferenceBuilder. build(List<DSSDocument> documents)Builds a list of references based on the configuration -
Uses of DSSDocument in eu.europa.esig.dss.xades.signature
Fields in eu.europa.esig.dss.xades.signature declared as DSSDocument Modifier and Type Field Description protected DSSDocumentXAdESSignatureBuilder. documentThis is the reference to the original document to signMethods in eu.europa.esig.dss.xades.signature that return DSSDocument Modifier and Type Method Description DSSDocumentSignaturePolicyStoreBuilder. addSignaturePolicyStore(DSSDocument signatureDocument, SignaturePolicyStore signaturePolicyStore)Adds a signaturePolicyStore to all signatures inside the documentDSSDocumentXAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore)Incorporates a Signature Policy Store as an unsigned property into the XAdES SignatureDSSDocumentManifestBuilder. build()Builds the ManifestDSSDocumentCounterSignatureBuilder. buildEmbeddedCounterSignature(DSSDocument signatureDocument, DSSDocument counterSignature, XAdESCounterSignatureParameters parameters)Embeds and returns the embedded counter signature into the UnsignedProperties of original XAdES signatureDSSDocumentXAdESService. counterSignSignature(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters, SignatureValue signatureValue)protected DSSDocumentXAdESBuilder. createXmlDocument()CreatesDSSDocumentfrom the current documentDomDSSDocumentXAdESService. extendDocument(DSSDocument toExtendDocument, XAdESSignatureParameters parameters)DSSDocumentXAdESLevelBaselineT. extendSignatures(DSSDocument dssDocument, XAdESSignatureParameters params)DSSDocumentCounterSignatureBuilder. getCanonicalizedSignatureValue(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters)Extract a canonicalized SignatureValue element from the provided XAdES signatureDSSDocumentXAdESLevelBaselineB. signDocument(DSSDocument document, XAdESSignatureParameters parameters, byte[] signatureValue)Adds the signature value to the signature.DSSDocumentXAdESService. signDocument(DSSDocument toSignDocument, XAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentXAdESService. signDocument(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentXAdESSignatureBuilder. signDocument(byte[] signatureValue)Adds signature value to the signature and returns XML signature (InMemoryDocument)DSSDocumentXAdESService. timestamp(List<DSSDocument> toTimestampDocuments, XAdESTimestampParameters parameters)Methods in eu.europa.esig.dss.xades.signature with parameters of type DSSDocument Modifier and Type Method Description DSSDocumentSignaturePolicyStoreBuilder. addSignaturePolicyStore(DSSDocument signatureDocument, SignaturePolicyStore signaturePolicyStore)Adds a signaturePolicyStore to all signatures inside the documentDSSDocumentXAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore)Incorporates a Signature Policy Store as an unsigned property into the XAdES SignatureTimestampTokenAllDataObjectsTimeStampBuilder. build(DSSDocument document)Builds a message-imprint from the given document and generates a timestampDSSReferenceCounterSignatureBuilder. buildCounterSignatureDSSReference(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters)The method builds aDSSReferencefor a SignatureValue to counter signDSSDocumentCounterSignatureBuilder. buildEmbeddedCounterSignature(DSSDocument signatureDocument, DSSDocument counterSignature, XAdESCounterSignatureParameters parameters)Embeds and returns the embedded counter signature into the UnsignedProperties of original XAdES signatureDSSDocumentXAdESService. counterSignSignature(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentXAdESService. extendDocument(DSSDocument toExtendDocument, XAdESSignatureParameters parameters)DSSDocumentXAdESLevelBaselineT. extendSignatures(DSSDocument dssDocument, XAdESSignatureParameters params)DSSDocumentCounterSignatureBuilder. getCanonicalizedSignatureValue(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters)Extract a canonicalized SignatureValue element from the provided XAdES signatureTimestampTokenXAdESService. getContentTimestamp(DSSDocument toSignDocument, XAdESSignatureParameters parameters)ToBeSignedXAdESService. getDataToBeCounterSigned(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters)byte[]XAdESLevelBaselineB. getDataToSign(DSSDocument dssDocument, XAdESSignatureParameters parameters)Returns the canonicalized ds:SignedInfo XML segment under the form of InputStreamToBeSignedXAdESService. getDataToSign(DSSDocument toSignDocument, XAdESSignatureParameters parameters)static XAdESSignatureBuilderXAdESSignatureBuilder. getSignatureBuilder(XAdESSignatureParameters params, DSSDocument document, CertificateVerifier certificateVerifier)Creates the signature according to the packagingprotected voidXAdESBuilder. incorporateDigestValue(Element parentDom, DigestAlgorithm digestAlgorithm, DSSDocument originalDocument)This method creates the ds:DigestValue DOM object.DSSDocumentXAdESLevelBaselineB. signDocument(DSSDocument document, XAdESSignatureParameters parameters, byte[] signatureValue)Adds the signature value to the signature.DSSDocumentXAdESService. signDocument(DSSDocument toSignDocument, XAdESSignatureParameters parameters, SignatureValue signatureValue)Method parameters in eu.europa.esig.dss.xades.signature with type arguments of type DSSDocument Modifier and Type Method Description TimestampTokenAllDataObjectsTimeStampBuilder. build(List<DSSDocument> documents)Timestamps the list of documentsTimestampTokenXAdESService. getContentTimestamp(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters)ToBeSignedXAdESService. getDataToSign(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters)DSSDocumentXAdESService. signDocument(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters, SignatureValue signatureValue)DSSDocumentXAdESService. timestamp(List<DSSDocument> toTimestampDocuments, XAdESTimestampParameters parameters)Constructors in eu.europa.esig.dss.xades.signature with parameters of type DSSDocument Constructor Description XAdESSignatureBuilder(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 DSSDocument Constructor Description ManifestBuilder(DigestAlgorithm digestAlgorithm, List<DSSDocument> documents)Constructor for the builder (the Id of the Manifest tag will be equals to "manifest")ManifestBuilder(String manifestId, DigestAlgorithm digestAlgorithm, List<DSSDocument> documents)Constructor for the builderManifestBuilder(String manifestId, DigestAlgorithm digestAlgorithm, List<DSSDocument> documents, DSSNamespace xmldsigNamespace)Constructor for the builder -
Uses of DSSDocument in eu.europa.esig.dss.xades.validation
Methods in eu.europa.esig.dss.xades.validation that return types with arguments of type DSSDocument Modifier and Type Method Description List<DSSDocument>XMLDocumentValidator. getOriginalDocuments(AdvancedSignature advancedSignature)List<DSSDocument>XMLDocumentValidator. getOriginalDocuments(String signatureId)Methods in eu.europa.esig.dss.xades.validation with parameters of type DSSDocument Modifier and Type Method Description SignedDocumentValidatorXMLDocumentValidatorFactory. create(DSSDocument document)booleanXMLDocumentValidator. isSupported(DSSDocument dssDocument)booleanXMLDocumentValidatorFactory. isSupported(DSSDocument document)Constructors in eu.europa.esig.dss.xades.validation with parameters of type DSSDocument Constructor Description CounterSignatureResolver(DSSDocument document)Default constructorXMLDocumentValidator(DSSDocument dssDocument)The default constructor for XMLDocumentValidator.Constructor parameters in eu.europa.esig.dss.xades.validation with type arguments of type DSSDocument Constructor Description DetachedSignatureResolver(List<DSSDocument> documents, DigestAlgorithm digestAlgorithm)Default constructor -
Uses of DSSDocument in eu.europa.esig.dss.xades.validation.timestamp
Methods in eu.europa.esig.dss.xades.validation.timestamp that return DSSDocument Modifier and Type Method Description DSSDocumentXAdESTimestampDataBuilder. getArchiveTimestampData(TimestampToken timestampToken)DSSDocumentXAdESTimestampDataBuilder. getContentTimestampData(TimestampToken timestampToken)DSSDocumentXAdESTimestampDataBuilder. getSignatureTimestampData(TimestampToken timestampToken)DSSDocumentXAdESTimestampDataBuilder. getTimestampX1Data(TimestampToken timestampToken)DSSDocumentXAdESTimestampDataBuilder. getTimestampX2Data(TimestampToken timestampToken)