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 DSSDocument
DomUtils. createDssDocumentFromDomDocument(Document document, String name)
This method creates a new InMemoryDocument with theDocument
content and the given nameMethods in eu.europa.esig.dss that return types with arguments of type 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 Document
DomUtils. buildDOM(DSSDocument dssDocument)
This method returns theDocument
created based on theDSSDocument
.static boolean
DomUtils. isDOM(DSSDocument dssDocument)
This method returns true if the provided document is a valid XMLDocument
static boolean
DomUtils. startsWithXmlPreamble(DSSDocument document)
Checks if the given document starts with an XML Preamble'<'
Processes values with or without BOM-encoding NOTE: does not check XML-conformity of the whole file call isDOM(bytes) for a deep checkMethod parameters in eu.europa.esig.dss with type arguments of type DSSDocument Modifier and Type Method Description void
AbstractSignatureParameters. setDetachedContents(List<DSSDocument> detachedContents)
When signing this method is internally invoked by theAbstractSignatureService
and the related variabledetachedContent
is overwritten by the service parameter. -
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 DSSDocument
ASiCWithCAdESService. addSignaturePolicyStore(DSSDocument asicContainer, SignaturePolicyStore signaturePolicyStore)
Incorporates a Signature Policy Store as an unsigned property into the ASiC with CAdES SignatureDSSDocument
ASiCWithCAdESService. counterSignSignature(DSSDocument asicContainer, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
ASiCWithCAdESService. extendDocument(DSSDocument toExtendDocument, ASiCWithCAdESSignatureParameters parameters)
DSSDocument
GetDataToSignASiCWithCAdESHelper. getToBeSigned()
Returns a signed file document NOTE: In CMS/CAdES, only one file can be signedDSSDocument
ASiCWithCAdESService. signDocument(List<DSSDocument> toSignDocuments, ASiCWithCAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
ASiCWithCAdESService. 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 DSSDocument
ASiCWithCAdESService. addSignaturePolicyStore(DSSDocument asicContainer, SignaturePolicyStore signaturePolicyStore)
Incorporates a Signature Policy Store as an unsigned property into the ASiC with CAdES Signatureprotected void
ASiCWithCAdESCounterSignatureHelper. checkCounterSignaturePossible(DSSDocument signatureDocument)
DSSDocument
ASiCWithCAdESService. counterSignSignature(DSSDocument asicContainer, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
ASiCWithCAdESService. extendDocument(DSSDocument toExtendDocument, ASiCWithCAdESSignatureParameters parameters)
protected AbstractASiCContainerExtractor
ASiCWithCAdESService. getArchiveExtractor(DSSDocument archive)
ToBeSigned
ASiCWithCAdESService. getDataToBeCounterSigned(DSSDocument asicContainer, CAdESCounterSignatureParameters parameters)
protected DocumentValidator
ASiCWithCAdESCounterSignatureHelper. getDocumentValidator(DSSDocument signatureDocument)
Method parameters in eu.europa.esig.dss.asic.cades.signature with type arguments of type DSSDocument Modifier and Type Method Description GetDataToSignASiCWithCAdESHelper
ASiCWithCAdESDataToSignHelperBuilder. build(SigningOperation operation, List<DSSDocument> documents, ASiCWithCAdESCommonParameters parameters)
Builds aGetDataToSignASiCWithCAdESHelper
from the given list of documents and defined parametersTimestampToken
ASiCWithCAdESService. getContentTimestamp(List<DSSDocument> toSignDocuments, ASiCWithCAdESSignatureParameters parameters)
ToBeSigned
ASiCWithCAdESService. getDataToSign(List<DSSDocument> toSignDocuments, ASiCWithCAdESSignatureParameters parameters)
DSSDocument
ASiCWithCAdESService. signDocument(List<DSSDocument> toSignDocuments, ASiCWithCAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
ASiCWithCAdESService. 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 DSSDocument
AbstractDataToSignASiCEWithCAdES. getASiCManifest(List<DSSDocument> documents, List<DSSDocument> signatures, List<DSSDocument> timestamps, List<DSSDocument> manifests)
Generates an ASiC Manifest document to signDSSDocument
DataToSignASiCEWithCAdESFromArchive. getToBeSigned()
DSSDocument
DataToSignASiCEWithCAdESFromFiles. 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 DSSDocument
AbstractDataToSignASiCEWithCAdES. getASiCManifest(List<DSSDocument> documents, List<DSSDocument> signatures, List<DSSDocument> timestamps, List<DSSDocument> manifests)
Generates an ASiC Manifest document to signprotected String
AbstractDataToSignASiCEWithCAdES. getSignatureFileName(List<DSSDocument> existingSignatures)
Generates and returns a signature filenameprotected String
AbstractDataToSignASiCEWithCAdES. 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 DSSDocument
DataToSignASiCSWithCAdESFromArchive. getToBeSigned()
DSSDocument
DataToSignASiCSWithCAdESFromFiles. 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 Element
AbstractManifestBuilder. addDataObjectReference(Document documentDom, Element asicManifestDom, DSSDocument document, DigestAlgorithm digestAlgorithm)
Adds a<DataObjectReference>
elementConstructors in eu.europa.esig.dss.asic.cades.signature.manifest with parameters of type 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 DSSDocument
ASiCEWithCAdESManifestParser. getLinkedManifest(List<DSSDocument> manifestDocuments, String signatureName)
Returns the relative manifests for the given signature namestatic DSSDocument
ASiCWithCAdESExtractResultUtils. getSignedDocument(ASiCExtractResult extractResult, String signatureFilename)
Returns a list of signed documents by a signature with a givensignatureFilename
Methods in eu.europa.esig.dss.asic.cades.validation that return types with arguments of type 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 SignedDocumentValidator
ASiCContainerWithCAdESValidatorFactory. create(DSSDocument document)
static ManifestFile
ASiCEWithCAdESManifestParser. getManifestFile(DSSDocument manifestDocument)
Parses and convertsDSSDocument
toManifestFile
boolean
ASiCContainerWithCAdESValidator. isSupported(DSSDocument dssDocument)
boolean
ASiCContainerWithCAdESValidatorFactory. isSupported(DSSDocument document)
Method parameters in eu.europa.esig.dss.asic.cades.validation with type arguments of type DSSDocument Modifier and Type Method Description static DSSDocument
ASiCEWithCAdESManifestParser. 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 DSSDocument
SecureContainerHandler. createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment)
DSSDocument
ZipContainerHandler. createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment)
Creates a ZIP-Archive with the givencontainerEntries
DSSDocument
ZipUtils. createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment)
Creates a ZIP-Archive with the givencontainerEntries
DSSDocument
ASiCExtractResult. getMimeTypeDocument()
Gets mimetype documentDSSDocument
ASiCExtractResult. 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 ofDSSDocument
from the given ZIP-archiveList<DSSDocument>
ZipUtils. extractContainerContent(DSSDocument zipPackage)
Extracts a list ofDSSDocument
from 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 ofDSSDocument
from the given ZIP-archiveList<DSSDocument>
ZipUtils. extractContainerContent(DSSDocument zipPackage)
Extracts a list ofDSSDocument
from 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 ASiCContainerType
ASiCUtils. getContainerType(DSSDocument archive, DSSDocument mimetype, String zipComment, List<DSSDocument> signedDocuments)
Returns target container typestatic MimeType
ASiCUtils. getMimeType(DSSDocument mimeTypeDocument)
Extracts and returns MimeType from the documentstatic boolean
ASiCUtils. isASiCSArchive(DSSDocument document)
Checks if the current document an ASiC-E ZIP specific archivestatic boolean
ASiCUtils. isOpenDocument(DSSDocument mimeTypeDoc)
Checks if the mimeType document defines an OpenDocumentstatic boolean
ASiCUtils. isZip(DSSDocument document)
Checks if thedocument
is a ZIP containervoid
ASiCExtractResult. setMimeTypeDocument(DSSDocument mimeTypeDocument)
Sets mimetype documentvoid
ASiCExtractResult. 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 DSSDocument
SecureContainerHandler. createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment)
DSSDocument
ZipContainerHandler. createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment)
Creates a ZIP-Archive with the givencontainerEntries
DSSDocument
ZipUtils. createZipArchive(List<DSSDocument> containerEntries, Date creationTime, String zipComment)
Creates a ZIP-Archive with the givencontainerEntries
static ASiCContainerType
ASiCUtils. getContainerType(DSSDocument archive, DSSDocument mimetype, String zipComment, List<DSSDocument> signedDocuments)
Returns target container typestatic String
ASiCUtils. getNextASiCEManifestName(String expectedManifestName, List<DSSDocument> existingManifests)
Generates an unique name for a new ASiC-E Manifest file, avoiding any name collisionvoid
ASiCExtractResult. setAllDocuments(List<DSSDocument> allDocuments)
Sets all documentsvoid
ASiCExtractResult. setArchiveManifestDocuments(List<DSSDocument> archiveManifestDocuments)
Sets archive manifest documents (ASiC with CAdES only)void
ASiCExtractResult. setContainerDocuments(List<DSSDocument> containerDocuments)
Sets package.zip" documentsvoid
ASiCExtractResult. setManifestDocuments(List<DSSDocument> manifestDocuments)
Sets manifest documentsvoid
ASiCExtractResult. setSignatureDocuments(List<DSSDocument> signatureDocuments)
Sets signature documentsvoid
ASiCExtractResult. setSignedDocuments(List<DSSDocument> signedDocuments)
Sets signed documentsvoid
ASiCExtractResult. setTimestampDocuments(List<DSSDocument> timestampDocuments)
Sets timestamp documents (ASiC with CAdES only)void
ASiCExtractResult. 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 DSSDocument
ASiCCounterSignatureHelper. asicContainer
The document representing an ASiC containerMethods in eu.europa.esig.dss.asic.common.signature that return DSSDocument Modifier and Type Method Description protected DSSDocument
AbstractASiCSignatureService. 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 containerDSSDocument
ASiCCounterSignatureHelper. extractSignatureDocument(String signatureId)
Returns a file containing a signature with the given idprotected DSSDocument
AbstractASiCSignatureService. getEmbeddedMimetype()
Returns a mimetype document embedded into the ASiC containerprotected DSSDocument
AbstractASiCSignatureService. mergeArchiveAndExtendedSignatures(DSSDocument archiveDocument, List<DSSDocument> filesToAdd, Date creationTime, String zipComment)
Creates a ZIP-Archive by copying the existingarchiveDocument
entries and overwriting matching ones withfilesToAdd
DSSDocument
AbstractASiCSignatureService. signDocument(DSSDocument toSignDocument, SP parameters, SignatureValue signatureValue)
DSSDocument
AbstractASiCSignatureService. 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 replacedupdatedSignatureDocument
Methods in eu.europa.esig.dss.asic.common.signature with parameters of type DSSDocument Modifier and Type Method Description protected void
ASiCCounterSignatureHelper. checkCounterSignaturePossible(DSSDocument signatureDocument)
This method verifies if a signatureDocument can be counter signed Throws an exception when an extension is not possibleprotected void
AbstractASiCSignatureService. extractCurrentArchive(DSSDocument archive)
Extracts the content (documents) of the ASiC containerprotected abstract AbstractASiCContainerExtractor
AbstractASiCSignatureService. getArchiveExtractor(DSSDocument archive)
Returns a relevant ASiC container extractor for the given formatTimestampToken
AbstractASiCSignatureService. getContentTimestamp(DSSDocument toSignDocument, SP parameters)
ToBeSigned
AbstractASiCSignatureService. getDataToSign(DSSDocument toSignDocument, SP parameters)
protected abstract DocumentValidator
ASiCCounterSignatureHelper. getDocumentValidator(DSSDocument signatureDocument)
Gets a Document Validator relative to the current implementationprotected String
AbstractASiCSignatureService. getFinalArchiveName(DSSDocument originalFile, SigningOperation operation, MimeType containerMimeType)
Generates and returns a final name for the archive to createList<DSSDocument>
ASiCCounterSignatureHelper. getUpdatedSignatureDocumentsList(DSSDocument updatedSignatureDocument)
Returns a list of all signature files with a replacedupdatedSignatureDocument
protected DSSDocument
AbstractASiCSignatureService. mergeArchiveAndExtendedSignatures(DSSDocument archiveDocument, List<DSSDocument> filesToAdd, Date creationTime, String zipComment)
Creates a ZIP-Archive by copying the existingarchiveDocument
entries and overwriting matching ones withfilesToAdd
DSSDocument
AbstractASiCSignatureService. signDocument(DSSDocument toSignDocument, SP parameters, SignatureValue signatureValue)
DSSDocument
AbstractASiCSignatureService. 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 void
AbstractASiCDataToSignHelperBuilder. assertDocumentNamesDefined(List<DSSDocument> documents)
Checks if the document names are defined and adds them if neededprotected DSSDocument
AbstractASiCSignatureService. 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 DSSDocument
AbstractASiCSignatureService. mergeArchiveAndExtendedSignatures(DSSDocument archiveDocument, List<DSSDocument> filesToAdd, Date creationTime, String zipComment)
Creates a ZIP-Archive by copying the existingarchiveDocument
entries and overwriting matching ones withfilesToAdd
Constructors 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 DSSDocument
AbstractGetDataToSignASiCS. 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 DSSDocument
AbstractGetDataToSignASiCS. 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 DSSDocument
AbstractASiCContainerValidator. 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 DSSDocument
ASiCWithXAdESService. addSignaturePolicyStore(DSSDocument asicContainer, SignaturePolicyStore signaturePolicyStore)
Incorporates a Signature Policy Store as an unsigned property into the ASiC with XAdES SignatureDSSDocument
ASiCWithXAdESService. counterSignSignature(DSSDocument asicContainer, XAdESCounterSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
ASiCWithXAdESService. extendDocument(DSSDocument toExtendDocument, ASiCWithXAdESSignatureParameters parameters)
DSSDocument
GetDataToSignASiCWithXAdESHelper. getExistingSignature()
Returns the signature document (used for parallel signatures)DSSDocument
GetDataToSignASiCWithXAdESHelper. getRootDocument()
Returns the root document (used for OpenDocument files)DSSDocument
ASiCWithXAdESService. signDocument(List<DSSDocument> toSignDocuments, ASiCWithXAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
ASiCWithXAdESService. 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 DSSDocument
ASiCWithXAdESService. addSignaturePolicyStore(DSSDocument asicContainer, SignaturePolicyStore signaturePolicyStore)
Incorporates a Signature Policy Store as an unsigned property into the ASiC with XAdES SignatureDSSDocument
ASiCWithXAdESService. counterSignSignature(DSSDocument asicContainer, XAdESCounterSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
ASiCWithXAdESService. extendDocument(DSSDocument toExtendDocument, ASiCWithXAdESSignatureParameters parameters)
protected AbstractASiCContainerExtractor
ASiCWithXAdESService. getArchiveExtractor(DSSDocument archive)
ToBeSigned
ASiCWithXAdESService. getDataToBeCounterSigned(DSSDocument asicContainer, XAdESCounterSignatureParameters parameters)
protected DocumentValidator
ASiCWithXAdESCounterSignatureHelper. getDocumentValidator(DSSDocument signatureDocument)
Method parameters in eu.europa.esig.dss.asic.xades.signature with type arguments of type DSSDocument Modifier and Type Method Description GetDataToSignASiCWithXAdESHelper
ASiCWithXAdESDataToSignHelperBuilder. build(List<DSSDocument> documents, ASiCWithXAdESSignatureParameters parameters)
Builds aGetDataToSignASiCWithXAdESHelper
from the given list of documents and defined parametersTimestampToken
ASiCWithXAdESService. getContentTimestamp(List<DSSDocument> toSignDocuments, ASiCWithXAdESSignatureParameters parameters)
ToBeSigned
ASiCWithXAdESService. getDataToSign(List<DSSDocument> toSignDocuments, ASiCWithXAdESSignatureParameters parameters)
DSSDocument
ASiCWithXAdESService. signDocument(List<DSSDocument> toSignDocuments, ASiCWithXAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
ASiCWithXAdESService. 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 DSSDocument
AbstractDataToSignASiCEWithXAdES. getASiCManifest(List<DSSDocument> documents)
Returns the ASiC ManifestDSSDocument
DataToSignASiCEWithXAdESFromArchive. getExistingSignature()
DSSDocument
DataToSignASiCEWithXAdESFromFiles. getExistingSignature()
DSSDocument
DataToSignOpenDocument. getExistingSignature()
DSSDocument
DataToSignASiCEWithXAdESFromArchive. getRootDocument()
DSSDocument
DataToSignASiCEWithXAdESFromFiles. getRootDocument()
DSSDocument
DataToSignOpenDocument. 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 DSSDocument
AbstractDataToSignASiCEWithXAdES. getASiCManifest(List<DSSDocument> documents)
Returns the ASiC Manifestprotected String
AbstractDataToSignASiCEWithXAdES. 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 DSSDocument
DataToSignASiCSWithXAdESFromArchive. getExistingSignature()
DSSDocument
DataToSignASiCSWithXAdESFromFiles. getExistingSignature()
DSSDocument
DataToSignASiCSWithXAdESFromArchive. getRootDocument()
DSSDocument
DataToSignASiCSWithXAdESFromFiles. 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 SignedDocumentValidator
ASiCContainerWithXAdESValidatorFactory. create(DSSDocument document)
boolean
ASiCContainerWithXAdESValidator. isSupported(DSSDocument dssDocument)
boolean
ASiCContainerWithXAdESValidatorFactory. isSupported(DSSDocument document)
Constructors in eu.europa.esig.dss.asic.xades.validation with parameters of type 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 DSSDocument
CMSUtils. getOriginalDocument(org.bouncycastle.cms.CMSSignedData cmsSignedData, List<DSSDocument> detachedDocuments)
Returns the original document from the providedcmsSignedData
Methods in eu.europa.esig.dss.cades with parameters of type DSSDocument Modifier and Type Method Description static org.bouncycastle.cms.CMSTypedData
CMSUtils. getContentToBeSigned(DSSDocument toSignData)
Returns the content to be signedstatic org.bouncycastle.operator.DigestCalculatorProvider
CMSUtils. getDigestCalculatorProvider(DSSDocument toSignDocument, DigestAlgorithm digestAlgorithm)
Returns aDigestCalculatorProvider
Method parameters in eu.europa.esig.dss.cades with type arguments of type DSSDocument Modifier and Type Method Description static DSSDocument
CMSUtils. getOriginalDocument(org.bouncycastle.cms.CMSSignedData cmsSignedData, List<DSSDocument> detachedDocuments)
Returns the original document from the providedcmsSignedData
-
Uses of DSSDocument in eu.europa.esig.dss.cades.signature
Classes in eu.europa.esig.dss.cades.signature that implement DSSDocument Modifier and Type Class Description class
CMSSignedDocument
A document composed by a CMSSignedDataMethods in eu.europa.esig.dss.cades.signature that return DSSDocument Modifier and Type Method Description DSSDocument
CAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore)
Incorporates a Signature Policy Store as an unsigned property into the CAdES SignatureDSSDocument
CAdESService. counterSignSignature(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
CAdESService. extendDocument(DSSDocument toExtendDocument, CAdESSignatureParameters parameters)
DSSDocument
CAdESService. 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 DSSDocument
CAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore)
Incorporates a Signature Policy Store as an unsigned property into the CAdES SignatureDSSDocument
CAdESService. counterSignSignature(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
CAdESService. extendDocument(DSSDocument toExtendDocument, CAdESSignatureParameters parameters)
TimestampToken
CAdESService. getContentTimestamp(DSSDocument toSignDocument, CAdESSignatureParameters parameters)
ToBeSigned
CAdESService. getDataToBeCounterSigned(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters)
ToBeSigned
CAdESService. getDataToBeCounterSigned(DSSDocument signatureDocument, org.bouncycastle.cms.SignerInformation signerInfoToCounterSign, CAdESSignatureParameters parameters)
Returns a data toBeSigned for a counter signature on the givensignerInfoToCounterSign
ToBeSigned
CAdESService. getDataToSign(DSSDocument toSignDocument, CAdESSignatureParameters parameters)
org.bouncycastle.cms.SignerInformation
CAdESCounterSignatureBuilder. getSignerInformationToBeCounterSigned(DSSDocument signatureDocument, CAdESCounterSignatureParameters parameters)
Returns aSignerInformation
to be counter signedDSSDocument
CAdESService. 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.CMSSignedData
CMSSignedDataBuilder. extendCMSSignedData(org.bouncycastle.cms.CMSSignedData cmsSignedData, ValidationDataForInclusion validationDataForInclusion, List<DSSDocument> detachedContents)
Extends the providedcmsSignedData
with the required validation dataprotected org.bouncycastle.cms.CMSSignedData
CAdESLevelBaselineLT. extendWithValidationData(org.bouncycastle.cms.CMSSignedData cmsSignedData, ValidationDataForInclusion validationDataForInclusion, List<DSSDocument> detachedContents)
Extends thecmsSignedData
with the LT-level (validation data)protected org.bouncycastle.cms.CMSSignedData
CMSSignedDataBuilder. 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 DSSDocument
CAdESSignature. 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 SignedDocumentValidator
CMSDocumentValidatorFactory. create(DSSDocument document)
boolean
CMSDocumentValidator. isSupported(DSSDocument dssDocument)
boolean
CMSDocumentValidatorFactory. isSupported(DSSDocument document)
Constructors in eu.europa.esig.dss.cades.validation with parameters of type 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 DSSDocument
CAdESSignatureScopeFinder. getOriginalDocument(CAdESSignature cadesSignature)
Returns original document for the given CAdES signatureMethods in eu.europa.esig.dss.cades.validation.scope with parameters of type DSSDocument Modifier and Type Method Description protected List<SignatureScope>
CAdESSignatureScopeFinder. getSignatureScopeFromOriginalDocument(CAdESSignature cadesSignature, DSSDocument originalDocument)
Returns a list ofSignatureScope
s from the signed document -
Uses of DSSDocument in eu.europa.esig.dss.cades.validation.timestamp
Methods in eu.europa.esig.dss.cades.validation.timestamp that return DSSDocument Modifier and Type Method Description DSSDocument
CAdESTimestampDataBuilder. getArchiveTimestampData(TimestampToken timestampToken)
DSSDocument
CAdESTimestampDataBuilder. getContentTimestampData(TimestampToken timestampToken)
DSSDocument
CAdESTimestampDataBuilder. getSignatureTimestampData(TimestampToken timestampToken)
DSSDocument
CAdESTimestampDataBuilder. getTimestampX1Data(TimestampToken timestampToken)
DSSDocument
CAdESTimestampDataBuilder. 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 class
HTTPHeader
The class represents an HTTP Header to be signed See ETSI TS 119 182-1 "5.2.8.2 Mechanism HttpHeaders" The class shall be used only for JAdES detachedSigDMechanism.HTTP_HEADERS
mechanismclass
HTTPHeaderDigest
An 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 DSSDocument
JWSConverter. fromEtsiUWithBase64UrlToClearJsonIncorporation(DSSDocument document)
Converts unprotected content of 'etsiU' header of JAdES signatures inside a document to its clear JSON incorporation formstatic DSSDocument
JWSConverter. fromEtsiUWithClearJsonToBase64UrlIncorporation(DSSDocument document)
Converts unprotected content of 'etsiU' header of JAdES signatures inside a document to its base64Url JSON incorporation formstatic DSSDocument
JWSConverter. fromJWSCompactToJSONFlattenedSerialization(DSSDocument document)
Converts a JWS Compact Serialization to a JSON Flattened Serialization.static DSSDocument
JWSConverter. fromJWSCompactToJSONSerialization(DSSDocument document)
Converts a JWS Compact Serialization to a JSON Serialization.DSSDocument
JWSJsonSerializationGenerator. generate()
Generates theDSSDocument
DSSDocument
HTTPHeaderDigest. 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 DSSDocument
JWSConverter. fromEtsiUWithBase64UrlToClearJsonIncorporation(DSSDocument document)
Converts unprotected content of 'etsiU' header of JAdES signatures inside a document to its clear JSON incorporation formstatic DSSDocument
JWSConverter. fromEtsiUWithClearJsonToBase64UrlIncorporation(DSSDocument document)
Converts unprotected content of 'etsiU' header of JAdES signatures inside a document to its base64Url JSON incorporation formstatic DSSDocument
JWSConverter. fromJWSCompactToJSONFlattenedSerialization(DSSDocument document)
Converts a JWS Compact Serialization to a JSON Flattened Serialization.static DSSDocument
JWSConverter. fromJWSCompactToJSONSerialization(DSSDocument document)
Converts a JWS Compact Serialization to a JSON Serialization.static boolean
DSSJsonUtils. isAllowedSignatureDocumentType(DSSDocument document)
Checks if the signature document has an allowed type (bytes can be extracted)static boolean
DSSJsonUtils. isJsonDocument(DSSDocument document)
Checks if the provided document is JSON documentstatic String
DSSJsonUtils. toBase64Url(DSSDocument document)
Returns a base64Url encoded stringstatic JWSJsonSerializationObject
DSSJsonUtils. toJWSJsonSerializationObject(DSSDocument jadesDocument)
Converts theDSSDocument
toJWSJsonSerializationObject
, 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 DSSDocument
JAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore)
Incorporates a Signature Policy Store as a base64Url-encoded unsigned property into the JAdES SignatureDSSDocument
JAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance)
Incorporates a Signature Policy Store as an unsigned property into the JAdES SignatureDSSDocument
JAdESSignaturePolicyStoreBuilder. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance)
AddssignaturePolicyStore
to signatures inside thedocument
DSSDocument
JAdESBuilder. build(SignatureValue signatureValue)
Builds a signatureDSSDocument
JAdESCompactBuilder. build(SignatureValue signatureValue)
Builds the concatenation of signed header and payload (dataTobeSigned string) in the way : BASE64URL(UTF8(JWS Protected Header)) || '.' || BASE64URL(JWS Payload)DSSDocument
JAdESSerializationBuilder. build(SignatureValue signatureValue)
DSSDocument
JAdESCounterSignatureBuilder. buildEmbeddedCounterSignature(DSSDocument signatureDocument, DSSDocument counterSignature, JAdESCounterSignatureParameters parameters)
Embeds and returns the embedded counter signature into the original JAdES signatureDSSDocument
JAdESService. counterSignSignature(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
JAdESService. extendDocument(DSSDocument toExtendDocument, JAdESSignatureParameters parameters)
DSSDocument
JAdESLevelBaselineT. extendSignatures(DSSDocument document, JAdESSignatureParameters params)
DSSDocument
JAdESCounterSignatureBuilder. getSignatureValueToBeSigned(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters)
Extract SignatureValue binaries from the provided JAdES signatureDSSDocument
JAdESService. signDocument(DSSDocument toSignDocument, JAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
JAdESService. signDocument(List<DSSDocument> toSignDocuments, JAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
JAdESService. timestamp(List<DSSDocument> toTimestampDocuments, JAdESTimestampParameters parameters)
Methods in eu.europa.esig.dss.jades.signature with parameters of type DSSDocument Modifier and Type Method Description DSSDocument
JAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore)
Incorporates a Signature Policy Store as a base64Url-encoded unsigned property into the JAdES SignatureDSSDocument
JAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance)
Incorporates a Signature Policy Store as an unsigned property into the JAdES SignatureDSSDocument
JAdESSignaturePolicyStoreBuilder. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore, boolean base64UrlInstance)
AddssignaturePolicyStore
to signatures inside thedocument
DSSDocument
JAdESCounterSignatureBuilder. buildEmbeddedCounterSignature(DSSDocument signatureDocument, DSSDocument counterSignature, JAdESCounterSignatureParameters parameters)
Embeds and returns the embedded counter signature into the original JAdES signatureDSSDocument
JAdESService. counterSignSignature(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
JAdESService. extendDocument(DSSDocument toExtendDocument, JAdESSignatureParameters parameters)
DSSDocument
JAdESLevelBaselineT. extendSignatures(DSSDocument document, JAdESSignatureParameters params)
TimestampToken
JAdESService. getContentTimestamp(DSSDocument toSignDocument, JAdESSignatureParameters parameters)
ToBeSigned
JAdESService. getDataToBeCounterSigned(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters)
ToBeSigned
JAdESService. getDataToSign(DSSDocument toSignDocument, JAdESSignatureParameters parameters)
DSSDocument
JAdESCounterSignatureBuilder. getSignatureValueToBeSigned(DSSDocument signatureDocument, JAdESCounterSignatureParameters parameters)
Extract SignatureValue binaries from the provided JAdES signatureDSSDocument
JAdESService. signDocument(DSSDocument toSignDocument, JAdESSignatureParameters parameters, SignatureValue signatureValue)
protected JWSJsonSerializationObject
JAdESExtensionBuilder. toJWSJsonSerializationObjectToExtend(DSSDocument document)
Parses the provideddocument
toJWSJsonSerializationObject
Throws 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 TimestampToken
JAdESService. getContentTimestamp(List<DSSDocument> toSignDocuments, JAdESSignatureParameters parameters)
This methods allows to create a TimestampToken for a detached JAdES (with a 'sigD' parameter).ToBeSigned
JAdESService. getDataToSign(List<DSSDocument> toSignDocuments, JAdESSignatureParameters parameters)
protected JAdESBuilder
JAdESService. getJAdESBuilder(JAdESSignatureParameters parameters, List<DSSDocument> documentsToSign)
Returns the JAdESBuilder to be usedDSSDocument
JAdESService. signDocument(List<DSSDocument> toSignDocuments, JAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
JAdESService. 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 SignedDocumentValidator
JAdESDocumentValidatorFactory. create(DSSDocument document)
boolean
JAdESDocumentValidatorFactory. isSupported(DSSDocument document)
boolean
JWSCompactDocumentValidator. isSupported(DSSDocument dssDocument)
boolean
JWSSerializationDocumentValidator. isSupported(DSSDocument document)
Constructors in eu.europa.esig.dss.jades.validation with parameters of type 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 SignatureScope
JAdESSignatureScopeFinder. getSignatureScopeFromOriginalDocument(DSSDocument originalDocument)
Returns aSignatureScope
for the givenoriginalDocument
Method parameters in eu.europa.esig.dss.jades.validation.scope with type arguments of type 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 DSSDocument
JAdESTimestampDataBuilder. getArchiveTimestampData(TimestampToken timestampToken)
DSSDocument
JAdESTimestampDataBuilder. getContentTimestampData(TimestampToken timestampToken)
DSSDocument
JAdESTimestampDataBuilder. getSignatureTimestampData(TimestampToken timestampToken)
DSSDocument
JAdESTimestampDataBuilder. getTimestampX1Data(TimestampToken timestampToken)
DSSDocument
JAdESTimestampDataBuilder. 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 class
CommonDocument
This class implements the default methods.class
DigestDocument
Digest representation of aDSSDocument
.class
FileDocument
Document implementation stored on file-system.class
InMemoryDocument
In memory representation of a documentMethods in eu.europa.esig.dss.model that return DSSDocument Modifier and Type Method Description DSSDocument
SignaturePolicyStore. getSignaturePolicyContent()
Get policy store contentMethods in eu.europa.esig.dss.model with parameters of type DSSDocument Modifier and Type Method Description void
SignaturePolicyStore. 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 DSSDocument
SignatureImageParameters. getImage()
Returns aDSSDocument
image 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 boolean
PAdESUtils. isPDFDocument(DSSDocument document)
Checks if the givenDSSDocument
represents a PDF documentstatic InMemoryDocument
PAdESUtils. retrievePreviousPDFRevision(DSSDocument document, ByteRange byteRange)
Retrieves the PDF document up to the previous PDF Revision, an empty document if such revision is not foundvoid
SignatureImageParameters. setImage(DSSDocument image)
Allows to set a custom image to display on a signature fieldConstructors in eu.europa.esig.dss.pades with parameters of type 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 DSSDocument
PAdESService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters)
This method allows to add a new signature field to an existing pdf documentDSSDocument
PAdESService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String passwordProtection)
This method allows to add a new signature field to an encrypted pdf documentDSSDocument
PAdESService. extendDocument(DSSDocument toExtendDocument, PAdESSignatureParameters parameters)
DSSDocument
PAdESService. signDocument(DSSDocument toSignDocument, PAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
PAdESService. timestamp(DSSDocument toTimestampDocument, PAdESTimestampParameters parameters)
Methods in eu.europa.esig.dss.pades.signature with parameters of type DSSDocument Modifier and Type Method Description DSSDocument
PAdESService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters)
This method allows to add a new signature field to an existing pdf documentDSSDocument
PAdESService. 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 signedDSSDocument
PAdESService. 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 documentTimestampToken
PAdESService. getContentTimestamp(DSSDocument toSignDocument, PAdESSignatureParameters parameters)
ToBeSigned
PAdESService. getDataToSign(DSSDocument toSignDocument, PAdESSignatureParameters parameters)
DSSDocument
PAdESService. signDocument(DSSDocument toSignDocument, PAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
PAdESService. timestamp(DSSDocument toTimestampDocument, PAdESTimestampParameters parameters)
-
Uses of DSSDocument in eu.europa.esig.dss.pades.timestamp
Methods in eu.europa.esig.dss.pades.timestamp that return DSSDocument Modifier and Type Method Description DSSDocument
PAdESTimestampService. 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 DSSDocument
PAdESTimestampService. 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 SignedDocumentValidator
PDFDocumentValidatorFactory. create(DSSDocument document)
boolean
PDFDocumentValidator. isSupported(DSSDocument dssDocument)
boolean
PDFDocumentValidatorFactory. isSupported(DSSDocument document)
Constructors in eu.europa.esig.dss.pades.validation with parameters of type 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 DSSDocument
PAdESTimestampDataBuilder. getArchiveTimestampData(TimestampToken timestampToken)
DSSDocument
PAdESTimestampDataBuilder. getSignatureTimestampData(TimestampToken timestampToken)
DSSDocument
PAdESTimestampDataBuilder. getTimestampX1Data(TimestampToken timestampToken)
DSSDocument
PAdESTimestampDataBuilder. 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 DSSDocument
AbstractPDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks)
DSSDocument
PDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks)
This method adds the DSS dictionary (Baseline-LT)DSSDocument
PDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks, String pwd)
This method adds the DSS dictionary (Baseline-LT)DSSDocument
AbstractPDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters)
DSSDocument
PDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters)
This method allows to add a new signature field to an existing pdf documentDSSDocument
PDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String pwd)
This method allows to add a new signature field to an existing encrypted pdf documentDSSDocument
PDFSignatureService. 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 DSSDocument
AbstractPDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks)
DSSDocument
PDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks)
This method adds the DSS dictionary (Baseline-LT)DSSDocument
PDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks, String pwd)
This method adds the DSS dictionary (Baseline-LT)DSSDocument
AbstractPDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters)
DSSDocument
PDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters)
This method allows to add a new signature field to an existing pdf documentDSSDocument
PDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String pwd)
This method allows to add a new signature field to an existing encrypted pdf documentprotected abstract void
AbstractPDFSignatureService. 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 thedssDocument
according to thebyteRange
Example: extracts bytes from 841 to 959. [0, 840, 960, 1200]protected boolean
AbstractPDFSignatureService. isContentValueEqualsByteRangeExtraction(DSSDocument document, ByteRange byteRange, byte[] cms, List<String> signatureFieldNames)
Checks if the of the value incorporated into /Contents matches the range defined in thebyteRange
NOTE: used for SIWA detectionprotected abstract PdfDocumentReader
AbstractPDFSignatureService. loadPdfDocumentReader(DSSDocument dssDocument, String passwordProtection)
LoadsPdfDocumentReader
instanceDSSDocument
PDFSignatureService. 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 DSSDocument
ITextPDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks, String pwd)
DSSDocument
ITextPDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String pwd)
DSSDocument
ITextPDFSignatureService. 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 DSSDocument
ITextPDFSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks, String pwd)
DSSDocument
ITextPDFSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String pwd)
protected void
ITextPDFSignatureService. checkDocumentPermissions(DSSDocument toSignDocument, String pwd)
byte[]
ITextPDFSignatureService. digest(DSSDocument toSignDocument, PAdESCommonParameters parameters)
List<String>
ITextPDFSignatureService. getAvailableSignatureFields(DSSDocument document, String pwd)
protected PdfDocumentReader
ITextPDFSignatureService. loadPdfDocumentReader(DSSDocument dssDocument, String passwordProtection)
DSSDocument
ITextPDFSignatureService. 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 DSSDocument
PdfBoxSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks, String pwd)
DSSDocument
PdfBoxSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String pwd)
static DSSDocument
PdfBoxUtils. generateScreenshot(DSSDocument pdfDocument, int page)
Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocument
PdfBoxUtils. generateScreenshot(DSSDocument pdfDocument, String passwordProtection, int page)
Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocument
PdfBoxUtils. generateSubtractionImage(DSSDocument document1, DSSDocument document2, int page)
This method returns an image representing a subtraction result betweendocument1
anddocument2
for the given page numberstatic DSSDocument
PdfBoxUtils. generateSubtractionImage(DSSDocument document1, String passwordDocument1, int pageDocument1, DSSDocument document2, String passwordDocument2, int pageDocument2)
This method returns an image representing a subtraction result betweendocument1
anddocument2
for the defined pagesDSSDocument
PdfBoxSignatureService. 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 DSSDocument
PdfBoxSignatureService. addDssDictionary(DSSDocument document, List<DSSDictionaryCallback> callbacks, String pwd)
DSSDocument
PdfBoxSignatureService. addNewSignatureField(DSSDocument document, SignatureFieldParameters parameters, String pwd)
protected void
PdfBoxSignatureService. checkDocumentPermissions(DSSDocument document, String pwd)
byte[]
PdfBoxSignatureService. digest(DSSDocument toSignDocument, PAdESCommonParameters parameters)
static BufferedImage
PdfBoxUtils. generateBufferedImageScreenshot(DSSDocument pdfDocument, String passwordProtection, int page)
The method generates a BufferedImage for the specified page of the documentstatic DSSDocument
PdfBoxUtils. generateScreenshot(DSSDocument pdfDocument, int page)
Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocument
PdfBoxUtils. generateScreenshot(DSSDocument pdfDocument, String passwordProtection, int page)
Generates a screenshot image of the specified page for the given PDF documentstatic DSSDocument
PdfBoxUtils. generateSubtractionImage(DSSDocument document1, DSSDocument document2, int page)
This method returns an image representing a subtraction result betweendocument1
anddocument2
for the given page numberstatic DSSDocument
PdfBoxUtils. generateSubtractionImage(DSSDocument document1, String passwordDocument1, int pageDocument1, DSSDocument document2, String passwordDocument2, int pageDocument2)
This method returns an image representing a subtraction result betweendocument1
anddocument2
for the defined pagesList<String>
PdfBoxSignatureService. getAvailableSignatureFields(DSSDocument document, String pwd)
protected PdfDocumentReader
PdfBoxSignatureService. loadPdfDocumentReader(DSSDocument dssDocument, String passwordProtection)
DSSDocument
PdfBoxSignatureService. 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 void
AbstractPdfBoxSignatureDrawer. 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 String
AbstractPdfBoxSignatureDrawer. 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 String
DefaultPdfBoxVisibleSignatureDrawer. 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 String
NativePdfBoxVisibleSignatureDrawer. 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 ImageAndResolution
ImageUtils. 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 DSSDocument
FileCacheDataLoader. getDocument(String url)
Methods in eu.europa.esig.dss.service.http.commons with parameters of type DSSDocument Modifier and Type Method Description void
CommonsDataLoader. setSslKeystore(DSSDocument sslKeyStore)
Sets the SSL KeyStorevoid
CommonsDataLoader. setSslTruststore(DSSDocument sslTrustStore)
Sets the SSL trust store NOTE: different from KeyStore! -
Uses of DSSDocument in eu.europa.esig.dss.signature
Methods in eu.europa.esig.dss.signature that return DSSDocument Modifier and Type Method Description DSSDocument
CounterSignatureService. counterSignSignature(DSSDocument signatureDocument, CSP parameters, SignatureValue signatureValue)
Counter signs thesignatureDocument
with the provided signatureValue.DSSDocument
DocumentSignatureService. extendDocument(DSSDocument toExtendDocument, SP parameters)
Extends the level of the signatures in thetoExtendDocument
DSSDocument
MultipleDocumentsSignatureService. extendDocument(DSSDocument toExtendDocument, SP parameters)
Extends the level of the signatures in thetoExtendDocument
DSSDocument
SignatureExtension. extendSignatures(DSSDocument document, SP params)
Extends the level of the signatures contained in a document.DSSDocument
DocumentSignatureService. signDocument(DSSDocument toSignDocument, SP parameters, SignatureValue signatureValue)
Signs the toSignDocument with the provided signatureValue.DSSDocument
MultipleDocumentsSignatureService. signDocument(List<DSSDocument> toSignDocuments, SP parameters, SignatureValue signatureValue)
Signs the toSignDocuments with the provided signatureValue.DSSDocument
AbstractSignatureService. timestamp(DSSDocument toTimestampDocument, TP parameters)
DSSDocument
DocumentSignatureService. timestamp(DSSDocument toTimestampDocument, TP parameters)
This method allows to add a timestamp to an unsigned documentDSSDocument
MultipleDocumentsSignatureService. 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 DSSDocument
CounterSignatureService. counterSignSignature(DSSDocument signatureDocument, CSP parameters, SignatureValue signatureValue)
Counter signs thesignatureDocument
with the provided signatureValue.DSSDocument
DocumentSignatureService. extendDocument(DSSDocument toExtendDocument, SP parameters)
Extends the level of the signatures in thetoExtendDocument
DSSDocument
MultipleDocumentsSignatureService. extendDocument(DSSDocument toExtendDocument, SP parameters)
Extends the level of the signatures in thetoExtendDocument
DSSDocument
SignatureExtension. extendSignatures(DSSDocument document, SP params)
Extends the level of the signatures contained in a document.TimestampToken
DocumentSignatureService. getContentTimestamp(DSSDocument toSignDocument, SP parameters)
This method allows to compute a content-timestamp (which is added in the signed properties)ToBeSigned
CounterSignatureService. getDataToBeCounterSigned(DSSDocument signatureDocument, CSP parameters)
Retrieves the bytes of the data that need to be counter signed fromsignatureDocument
.ToBeSigned
DocumentSignatureService. getDataToSign(DSSDocument toSignDocument, SP parameters)
Retrieves the bytes of the data that need to be signed based on thetoSignDocument
andparameters
.protected String
AbstractSignatureService. getFinalDocumentName(DSSDocument originalFile, SigningOperation operation, SignatureLevel level, MimeType containerMimeType)
Generates and returns a final name for the document to createprotected String
AbstractSignatureService. getFinalFileName(DSSDocument originalFile, SigningOperation operation)
Returns the final name for the document to createprotected String
AbstractSignatureService. getFinalFileName(DSSDocument originalFile, SigningOperation operation, SignatureLevel level)
Returns the final name for the document to createDSSDocument
DocumentSignatureService. signDocument(DSSDocument toSignDocument, SP parameters, SignatureValue signatureValue)
Signs the toSignDocument with the provided signatureValue.DSSDocument
AbstractSignatureService. timestamp(DSSDocument toTimestampDocument, TP parameters)
DSSDocument
DocumentSignatureService. timestamp(DSSDocument toTimestampDocument, TP parameters)
This method allows to add a timestamp to an unsigned documentMethod parameters in eu.europa.esig.dss.signature with type arguments of type DSSDocument Modifier and Type Method Description TimestampToken
MultipleDocumentsSignatureService. getContentTimestamp(List<DSSDocument> toSignDocuments, SP parameters)
Creates a content-timestamp attribute (to be include in the signed-data)ToBeSigned
MultipleDocumentsSignatureService. getDataToSign(List<DSSDocument> toSignDocuments, SP parameters)
Retrieves the bytes of the data that need to be signed based on thetoSignDocuments
andparameters
.DSSDocument
MultipleDocumentsSignatureService. signDocument(List<DSSDocument> toSignDocuments, SP parameters, SignatureValue signatureValue)
Signs the toSignDocuments with the provided signatureValue.DSSDocument
MultipleDocumentsSignatureService. 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 DSSDocument
DSSUtils. splitDocument(DSSDocument origin, int start, int end)
This method create a new document from a sub-part of another documentMethods in eu.europa.esig.dss.spi with parameters of type DSSDocument Modifier and Type Method Description static boolean
DSSUtils. compareFirstBytes(DSSDocument dssDocument, byte[] byteArray)
Reads firstbyteArray.length
bytes of thedssDocument
and compares them withbyteArray
static byte[]
DSSUtils. digest(DigestAlgorithm digestAlgorithm, DSSDocument document)
Computes the digests for thedocument
static Digest
DSSUtils. getDigest(DigestAlgorithm digestAlgo, DSSDocument dssDocument)
ReturnsDigest
of thedssDocument
static long
DSSUtils. getFileByteSize(DSSDocument dssDocument)
Returns byte size of the given documentstatic boolean
DSSUtils. isTimestampToken(DSSDocument document)
Checks if the document contains a TimeStampTokenstatic long
DSSUtils. readAvailableBytes(DSSDocument dssDocument, byte[] b)
Read the requested number of bytes fromDSSDocument
according to the size of the providedbyte
[] buffer and validates success of the operationstatic byte
DSSUtils. readFirstByte(DSSDocument dssDocument)
Reads the first byte from the DSSDocumentstatic DSSDocument
DSSUtils. splitDocument(DSSDocument origin, int start, int end)
This method create a new document from a sub-part of another documentstatic byte[]
DSSUtils. toByteArray(DSSDocument document)
Get the contents of anDSSDocument
as abyte[]
.static org.bouncycastle.cms.CMSSignedData
DSSUtils. toCMSSignedData(DSSDocument document)
Gets CMSSignedData from thedocument
bytesMethod 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 DSSDocument
DSSFileLoader. 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 DSSDocument
XmlDownloadResult. 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 DSSDocument
AbstractAnalysis. download(String url)
Downloads the document by urlDSSDocument
PivotProcessingResult. getPivot()
Gets the pivot documentMethods in eu.europa.esig.dss.tsl.runnable with parameters of type DSSDocument Modifier and Type Method Description protected void
AbstractAnalysis. lotlParsing(DSSDocument document, LOTLSource source)
Parses the documentprotected void
AbstractAnalysis. 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 DSSDocument
SignedDocumentValidator. document
The document to be validated (with the signature(s) or timestamp(s))protected DSSDocument
SignedDocumentDiagnosticDataBuilder. signedDocument
The signed documentFields in eu.europa.esig.dss.validation with type parameters of type DSSDocument Modifier and Type Field Description protected List<DSSDocument>
SignedDocumentValidator. containerContents
In case of an ASiC signature thisList
of container documents.protected List<DSSDocument>
DefaultAdvancedSignature. detachedContents
In case of a detached signature this is the signed document.protected List<DSSDocument>
SignedDocumentValidator. detachedContents
In case of a detached signature thisList
contains the signed documents.Methods in eu.europa.esig.dss.validation that return DSSDocument Modifier and Type Method Description DSSDocument
XmlPolicyBuilder. extractPolicyContent()
ExtractsSignaturePolicy
content NOTE: the relevantSignaturePolicyStore
or/andSignaturePolicyProvider
shall be providedDSSDocument
SignaturePolicy. getPolicyContent()
Returns a DSSDocument with the signature policy contentDSSDocument
SignaturePolicyProvider. getSignaturePolicy(String policyId, String url)
Gets signature policy by all available ways (id and uri)DSSDocument
SignaturePolicyProvider. getSignaturePolicyById(String policyId)
Gets a signature policy document with the correspondingpolicyId
fromsignaturePoliciesById
mapDSSDocument
SignaturePolicyProvider. getSignaturePolicyByUrl(String url)
Gets a signature policy document with the correspondingurl
fromsignaturePoliciesByUrl
map, if not found, retrieved the data fromurl
withdataLoader
Methods in eu.europa.esig.dss.validation that return types with arguments of type 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 SignedDocumentValidator
DocumentValidatorFactory. create(DSSDocument document)
This methods instantiates aDocumentValidator
with the given documentSignedDocumentDiagnosticDataBuilder
SignedDocumentDiagnosticDataBuilder. document(DSSDocument signedDocument)
This method allows to set the document which is analysedstatic SignedDocumentValidator
SignedDocumentValidator. fromDocument(DSSDocument dssDocument)
This method guesses the document format and returns an appropriate document validator.boolean
DocumentValidatorFactory. isSupported(DSSDocument document)
This method tests if the current implementation ofDocumentValidator
supports the given documentabstract boolean
SignedDocumentValidator. isSupported(DSSDocument dssDocument)
Checks if the document is supported by the current validatorvoid
ManifestFile. setDocument(DSSDocument document)
Sets the manifest documentvoid
SignaturePolicy. setPolicyContent(DSSDocument policyContent)
Sets policy document contentMethod parameters in eu.europa.esig.dss.validation with type arguments of type DSSDocument Modifier and Type Method Description void
AdvancedSignature. setContainerContents(List<DSSDocument> containerContents)
This method allows to set the archive container contents in the case of ASiC-S signature.void
DefaultAdvancedSignature. setContainerContents(List<DSSDocument> containerContents)
void
DocumentValidator. setContainerContents(List<DSSDocument> archiveContents)
Sets theList
ofDSSDocument
containing the original container content for ASiC-S signatures.void
SignedDocumentValidator. setContainerContents(List<DSSDocument> containerContents)
void
AdvancedSignature. setDetachedContents(List<DSSDocument> detachedContents)
This method allows to set the signed contents in the case of the detached signature.void
DefaultAdvancedSignature. setDetachedContents(List<DSSDocument> detachedContents)
void
DocumentValidator. setDetachedContents(List<DSSDocument> detachedContent)
Sets theList
ofDSSDocument
containing the original contents to sign, for detached signature scenarios.void
SignedDocumentValidator. setDetachedContents(List<DSSDocument> detachedContents)
void
SignaturePolicyProvider. setSignaturePoliciesById(Map<String,DSSDocument> signaturePoliciesById)
Sets the map of signature policy documents to retrieve by IDsvoid
SignaturePolicyProvider. setSignaturePoliciesByUrl(Map<String,DSSDocument> signaturePoliciesByUrl)
Sets the map of signature policy documents to retrieve by URLs -
Uses of DSSDocument in eu.europa.esig.dss.validation.scope
Methods in eu.europa.esig.dss.validation.scope with parameters of type DSSDocument Modifier and Type Method Description protected Digest
AbstractSignatureScopeFinder. getDigest(DSSDocument document)
Gets digest of a documentprotected boolean
AbstractSignatureScopeFinder. 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 DSSDocument
TimestampDataBuilder. getArchiveTimestampData(TimestampToken timestampToken)
Archive timestamp seals the data of the signature in a specific order.DSSDocument
TimestampDataBuilder. getContentTimestampData(TimestampToken timestampToken)
Returns the content timestamp data (timestamped or to be).DSSDocument
TimestampDataBuilder. getSignatureTimestampData(TimestampToken timestampToken)
Returns the data (signature value) that was timestamped by the SignatureTimeStamp for the given timestamp.DSSDocument
DetachedTimestampValidator. getTimestampedData()
Returns the timestamped dataDSSDocument
TimestampDataBuilder. getTimestampX1Data(TimestampToken timestampToken)
Returns the data to be time-stamped.DSSDocument
TimestampDataBuilder. 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 SignedDocumentValidator
DetachedTimestampValidatorFactory. create(DSSDocument document)
boolean
DetachedTimestampValidator. isSupported(DSSDocument dssDocument)
boolean
DetachedTimestampValidatorFactory. isSupported(DSSDocument document)
boolean
TimestampToken. matchData(DSSDocument timestampedData)
Checks if theTimeStampToken
matches the signed data.boolean
TimestampToken. matchData(DSSDocument timestampedData, boolean suppressMatchWarnings)
Checks if theTimeStampToken
matches the signed data.void
DetachedTimestampValidator. setTimestampedData(DSSDocument document)
Sets the data that has been timestampedConstructors in eu.europa.esig.dss.validation.timestamp with parameters of type 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 DSSDocument
RemoteDocumentConverter. toDSSDocument(RemoteDocument remoteDocument)
Converts the givenRemoteDocument
to aDSSDocument
Methods in eu.europa.esig.dss.ws.converter that return types with arguments of type DSSDocument Modifier and Type Method Description static List<DSSDocument>
RemoteDocumentConverter. toDSSDocuments(List<RemoteDocument> remoteDocuments)
Converts the given list ofremoteDocuments
to a list ofDSSDocument
sMethods in eu.europa.esig.dss.ws.converter with parameters of type DSSDocument Modifier and Type Method Description static RemoteDocument
RemoteDocumentConverter. toRemoteDocument(DSSDocument originalDocument)
Converts the givenDSSDocument
to aRemoteDocument
Method 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 oforiginalDocuments
to a list ofRemoteDocument
s -
Uses of DSSDocument in eu.europa.esig.dss.xades
Methods in eu.europa.esig.dss.xades that return DSSDocument Modifier and Type Method Description DSSDocument
SignatureBuilder. signDocument(byte[] signatureValue)
Signs a documentDSSDocument
SignatureProfile. 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 oftransforms
is empty.static boolean
DSSXMLUtils. isDuplicateIdsDetected(DSSDocument doc)
This method is used to detect duplicate id valuesDSSDocument
SignatureProfile. signDocument(DSSDocument toSignDocument, XAdESSignatureParameters parameters, byte[] signatureValue)
Creates a signature of the defines profileConstructors in eu.europa.esig.dss.xades with parameters of type 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 DSSDocument
DSSReference. getContents()
Gets the original referenced document contentDSSDocument
ReferenceBuilder. getReferenceOutput(DSSReference reference)
Returns an output content after processing the givenDSSReference
Methods in eu.europa.esig.dss.xades.reference with parameters of type DSSDocument Modifier and Type Method Description void
DSSReference. 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 DSSDocument
XAdESSignatureBuilder. document
This is the reference to the original document to signMethods in eu.europa.esig.dss.xades.signature that return DSSDocument Modifier and Type Method Description DSSDocument
SignaturePolicyStoreBuilder. addSignaturePolicyStore(DSSDocument signatureDocument, SignaturePolicyStore signaturePolicyStore)
Adds a signaturePolicyStore to all signatures inside the documentDSSDocument
XAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore)
Incorporates a Signature Policy Store as an unsigned property into the XAdES SignatureDSSDocument
ManifestBuilder. build()
Builds the ManifestDSSDocument
CounterSignatureBuilder. buildEmbeddedCounterSignature(DSSDocument signatureDocument, DSSDocument counterSignature, XAdESCounterSignatureParameters parameters)
Embeds and returns the embedded counter signature into the UnsignedProperties of original XAdES signatureDSSDocument
XAdESService. counterSignSignature(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters, SignatureValue signatureValue)
protected DSSDocument
XAdESBuilder. createXmlDocument()
CreatesDSSDocument
from the current documentDomDSSDocument
XAdESService. extendDocument(DSSDocument toExtendDocument, XAdESSignatureParameters parameters)
DSSDocument
XAdESLevelBaselineT. extendSignatures(DSSDocument dssDocument, XAdESSignatureParameters params)
DSSDocument
CounterSignatureBuilder. getCanonicalizedSignatureValue(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters)
Extract a canonicalized SignatureValue element from the provided XAdES signatureDSSDocument
XAdESLevelBaselineB. signDocument(DSSDocument document, XAdESSignatureParameters parameters, byte[] signatureValue)
Adds the signature value to the signature.DSSDocument
XAdESService. signDocument(DSSDocument toSignDocument, XAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
XAdESService. signDocument(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
XAdESSignatureBuilder. signDocument(byte[] signatureValue)
Adds signature value to the signature and returns XML signature (InMemoryDocument)DSSDocument
XAdESService. timestamp(List<DSSDocument> toTimestampDocuments, XAdESTimestampParameters parameters)
Methods in eu.europa.esig.dss.xades.signature with parameters of type DSSDocument Modifier and Type Method Description DSSDocument
SignaturePolicyStoreBuilder. addSignaturePolicyStore(DSSDocument signatureDocument, SignaturePolicyStore signaturePolicyStore)
Adds a signaturePolicyStore to all signatures inside the documentDSSDocument
XAdESService. addSignaturePolicyStore(DSSDocument document, SignaturePolicyStore signaturePolicyStore)
Incorporates a Signature Policy Store as an unsigned property into the XAdES SignatureTimestampToken
AllDataObjectsTimeStampBuilder. build(DSSDocument document)
Builds a message-imprint from the given document and generates a timestampDSSReference
CounterSignatureBuilder. buildCounterSignatureDSSReference(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters)
The method builds aDSSReference
for a SignatureValue to counter signDSSDocument
CounterSignatureBuilder. buildEmbeddedCounterSignature(DSSDocument signatureDocument, DSSDocument counterSignature, XAdESCounterSignatureParameters parameters)
Embeds and returns the embedded counter signature into the UnsignedProperties of original XAdES signatureDSSDocument
XAdESService. counterSignSignature(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
XAdESService. extendDocument(DSSDocument toExtendDocument, XAdESSignatureParameters parameters)
DSSDocument
XAdESLevelBaselineT. extendSignatures(DSSDocument dssDocument, XAdESSignatureParameters params)
DSSDocument
CounterSignatureBuilder. getCanonicalizedSignatureValue(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters)
Extract a canonicalized SignatureValue element from the provided XAdES signatureTimestampToken
XAdESService. getContentTimestamp(DSSDocument toSignDocument, XAdESSignatureParameters parameters)
ToBeSigned
XAdESService. getDataToBeCounterSigned(DSSDocument signatureDocument, XAdESCounterSignatureParameters parameters)
byte[]
XAdESLevelBaselineB. getDataToSign(DSSDocument dssDocument, XAdESSignatureParameters parameters)
Returns the canonicalized ds:SignedInfo XML segment under the form of InputStreamToBeSigned
XAdESService. getDataToSign(DSSDocument toSignDocument, XAdESSignatureParameters parameters)
static XAdESSignatureBuilder
XAdESSignatureBuilder. getSignatureBuilder(XAdESSignatureParameters params, DSSDocument document, CertificateVerifier certificateVerifier)
Creates the signature according to the packagingprotected void
XAdESBuilder. incorporateDigestValue(Element parentDom, DigestAlgorithm digestAlgorithm, DSSDocument originalDocument)
This method creates the ds:DigestValue DOM object.DSSDocument
XAdESLevelBaselineB. signDocument(DSSDocument document, XAdESSignatureParameters parameters, byte[] signatureValue)
Adds the signature value to the signature.DSSDocument
XAdESService. 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 TimestampToken
AllDataObjectsTimeStampBuilder. build(List<DSSDocument> documents)
Timestamps the list of documentsTimestampToken
XAdESService. getContentTimestamp(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters)
ToBeSigned
XAdESService. getDataToSign(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters)
DSSDocument
XAdESService. signDocument(List<DSSDocument> toSignDocuments, XAdESSignatureParameters parameters, SignatureValue signatureValue)
DSSDocument
XAdESService. 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 SignedDocumentValidator
XMLDocumentValidatorFactory. create(DSSDocument document)
boolean
XMLDocumentValidator. isSupported(DSSDocument dssDocument)
boolean
XMLDocumentValidatorFactory. isSupported(DSSDocument document)
Constructors in eu.europa.esig.dss.xades.validation with parameters of type 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 DSSDocument
XAdESTimestampDataBuilder. getArchiveTimestampData(TimestampToken timestampToken)
DSSDocument
XAdESTimestampDataBuilder. getContentTimestampData(TimestampToken timestampToken)
DSSDocument
XAdESTimestampDataBuilder. getSignatureTimestampData(TimestampToken timestampToken)
DSSDocument
XAdESTimestampDataBuilder. getTimestampX1Data(TimestampToken timestampToken)
DSSDocument
XAdESTimestampDataBuilder. getTimestampX2Data(TimestampToken timestampToken)