Uses of Interface
eu.europa.esig.dss.validation.AdvancedSignature
Package
Description
-
Uses of AdvancedSignature in eu.europa.esig.dss.asic.cades.validation
Modifier and TypeMethodDescriptionASiCWithCAdESDiagnosticDataBuilder.buildDetachedXmlSignature
(AdvancedSignature signature) ASiCContainerWithCAdESValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionprotected List<TimestampToken>
ASiCContainerWithCAdESValidator.attachExternalTimestamps
(List<AdvancedSignature> allSignatures) -
Uses of AdvancedSignature in eu.europa.esig.dss.asic.cades.validation.scope
Modifier and TypeMethodDescriptionprotected boolean
ASiCWithCAdESSignatureScopeFinder.isASiCSArchive
(AdvancedSignature advancedSignature) -
Uses of AdvancedSignature in eu.europa.esig.dss.asic.common.validation
Modifier and TypeMethodDescriptionprotected List<AdvancedSignature>
AbstractASiCContainerValidator.buildSignatures()
AbstractASiCContainerValidator.getAllSignatures()
Modifier and TypeMethodDescriptionprotected List<TimestampToken>
AbstractASiCContainerValidator.attachExternalTimestamps
(List<AdvancedSignature> allSignatures) Attaches existing external timestamps to the list ofAdvancedSignature
sprotected DiagnosticDataBuilder
AbstractASiCContainerValidator.createDiagnosticDataBuilder
(ValidationContext validationContext, List<AdvancedSignature> signatures) -
Uses of AdvancedSignature in eu.europa.esig.dss.asic.xades.validation
Modifier and TypeMethodDescriptionASiCContainerWithXAdESValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) -
Uses of AdvancedSignature in eu.europa.esig.dss.cades.validation
Modifier and TypeMethodDescriptionprotected List<AdvancedSignature>
CMSDocumentValidator.buildSignatures()
CAdESSignature.getCounterSignatures()
Modifier and TypeMethodDescriptionCAdESDiagnosticDataBuilder.buildDetachedXmlSignature
(AdvancedSignature signature) protected Integer
CAdESSignatureIdentifierBuilder.getCounterSignaturePosition
(AdvancedSignature masterSignature) CMSDocumentValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) -
Uses of AdvancedSignature in eu.europa.esig.dss.cades.validation.timestamp
Modifier and TypeMethodDescriptionprotected List<AdvancedSignature>
CAdESTimestampSource.getCounterSignatures
(CAdESAttribute unsignedAttribute) Modifier and TypeMethodDescriptionprotected List<TimestampedReference>
CAdESTimestampSource.getCounterSignatureReferences
(AdvancedSignature counterSignature) -
Uses of AdvancedSignature in eu.europa.esig.dss.jades.signature
Modifier and TypeMethodDescriptionprotected void
JAdESLevelBaselineLT.extendSignatures
(List<AdvancedSignature> signatures, JAdESSignatureParameters params) protected void
JAdESLevelBaselineLTA.extendSignatures
(List<AdvancedSignature> signatures, JAdESSignatureParameters params) protected void
JAdESLevelBaselineT.extendSignatures
(List<AdvancedSignature> signatures, JAdESSignatureParameters params) Extends the signatures -
Uses of AdvancedSignature in eu.europa.esig.dss.jades.validation
Modifier and TypeMethodDescriptionprotected List<AdvancedSignature>
JWSCompactDocumentValidator.buildSignatures()
protected List<AdvancedSignature>
JWSSerializationDocumentValidator.buildSignatures()
JAdESSignature.getCounterSignatures()
Modifier and TypeMethodDescriptionprotected Integer
JAdESSignatureIdentifierBuilder.getCounterSignaturePosition
(AdvancedSignature masterSignature) AbstractJWSDocumentValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) -
Uses of AdvancedSignature in eu.europa.esig.dss.jades.validation.timestamp
Modifier and TypeMethodDescriptionprotected List<AdvancedSignature>
JAdESTimestampSource.getCounterSignatures
(JAdESAttribute unsignedAttribute) -
Uses of AdvancedSignature in eu.europa.esig.dss.pades.validation
Modifier and TypeClassDescriptionclass
Implementation of AdvancedSignature for PAdESModifier and TypeMethodDescription<T extends AdvancedSignature>
voidPDFDocumentValidator.findSignatureScopes
(Collection<T> allSignatures) <T extends AdvancedSignature>
PdfValidationDataContainerPDFDocumentValidator.getValidationData
(Collection<T> signatures, Collection<TimestampToken> detachedTimestamps) protected <T extends AdvancedSignature>
ValidationContextPDFDocumentValidator.prepareValidationContext
(Collection<T> signatures, Collection<TimestampToken> detachedTimestamps, CertificateVerifier certificateVerifier) Modifier and TypeMethodDescriptionprotected List<AdvancedSignature>
PDFDocumentValidator.buildSignatures()
protected List<AdvancedSignature>
PDFDocumentValidator.getAllSignatures()
PAdESSignature.getCounterSignatures()
Modifier and TypeMethodDescriptionPAdESDiagnosticDataBuilder.buildDetachedXmlSignature
(AdvancedSignature signature) protected Object
PAdESSignatureIdentifierBuilder.getCounterSignaturePosition
(AdvancedSignature masterSignature) PDFDocumentValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionprotected void
PDFDocumentValidator.postProcessing
(List<AdvancedSignature> signatures) Post-process the extracted signatures NOTE: the method shall be used only for the document validation -
Uses of AdvancedSignature in eu.europa.esig.dss.pades.validation.timestamp
Modifier and TypeMethodDescriptionprotected List<AdvancedSignature>
PAdESTimestampSource.getCounterSignatures
(CAdESAttribute unsignedAttribute) -
Uses of AdvancedSignature in eu.europa.esig.dss.pdf
Modifier and TypeMethodDescriptionvoid
AbstractPDFSignatureService.analyzePdfModifications
(DSSDocument document, List<AdvancedSignature> signatures, char[] pwd) void
AbstractPDFSignatureService.analyzePdfModifications
(DSSDocument document, List<AdvancedSignature> signatures, String pwd) Deprecated.void
PDFSignatureService.analyzePdfModifications
(DSSDocument document, List<AdvancedSignature> signatures, char[] pwd) Analyze the PDF revision and try to detect any modification (shadow attacks) for signaturesvoid
PDFSignatureService.analyzePdfModifications
(DSSDocument document, List<AdvancedSignature> signatures, String pwd) Deprecated.since DSS 5.12. -
Uses of AdvancedSignature in eu.europa.esig.dss.pdfa.validation
Modifier and TypeMethodDescriptionprotected DiagnosticDataBuilder
PDFADocumentValidator.createDiagnosticDataBuilder
(ValidationContext validationContext, List<AdvancedSignature> signatures) -
Uses of AdvancedSignature in eu.europa.esig.dss.signature
Modifier and TypeMethodDescriptionvoid
SignatureRequirementsChecker.assertSigningCertificateIsValid
(AdvancedSignature signature) This method verifies a signing certificate of the givensignature
-
Uses of AdvancedSignature in eu.europa.esig.dss.validation
Modifier and TypeClassDescriptionclass
A common implementation ofAdvancedSignature
Modifier and TypeFieldDescriptionprotected final AdvancedSignature
AbstractSignatureIdentifierBuilder.signature
The signature to build identifier forModifier and TypeFieldDescriptionprotected List<AdvancedSignature>
DefaultAdvancedSignature.counterSignatures
Cached list of embedded counter signaturesprotected List<AdvancedSignature>
SignedDocumentDiagnosticDataBuilder.signatures
The list of signaturesModifier and TypeMethodDescription<T extends AdvancedSignature>
voidDocumentValidator.findSignatureScopes
(Collection<T> currentValidatorSignatures) Finds SignatureScopes for a list of signatures<T extends AdvancedSignature>
voidSignedDocumentValidator.findSignatureScopes
(Collection<T> allSignatures) Finds and assigns SignatureScopes for a list of signatures<T extends AdvancedSignature>
ValidationDataContainerDocumentValidator.getValidationData
(Collection<T> signatures) Extracts a validation data for provided collection of signatures<T extends AdvancedSignature>
ValidationDataContainerDocumentValidator.getValidationData
(Collection<T> signatures, Collection<TimestampToken> detachedTimestamps) Extracts a validation data for provided collection of signatures and/or timestamps<T extends AdvancedSignature>
ValidationDataContainerSignedDocumentValidator.getValidationData
(Collection<T> signatures) <T extends AdvancedSignature>
ValidationDataContainerSignedDocumentValidator.getValidationData
(Collection<T> signatures, Collection<TimestampToken> detachedTimestamps) protected <T extends AdvancedSignature>
voidSignedDocumentValidator.prepareSignatureForVerification
(ValidationContext validationContext, Collection<T> allSignatureList) This method prepares aSignatureValidationContext
for signatures validationprotected <T extends AdvancedSignature>
voidSignedDocumentValidator.prepareSignatureValidationContext
(ValidationContext validationContext, Collection<T> allSignatures) Prepares thevalidationContext
for signature validation processprotected <T extends AdvancedSignature>
ValidationContextSignedDocumentValidator.prepareValidationContext
(Collection<T> signatures, Collection<TimestampToken> detachedTimestamps, CertificateVerifier certificateVerifier) Initializes and fillsValidationContext
with necessary data sources<T extends AdvancedSignature>
voidDocumentValidator.processSignaturesValidation
(Collection<T> allSignatureList) This method process the signature validation on the givenallSignatureList
<T extends AdvancedSignature>
voidSignedDocumentValidator.processSignaturesValidation
(Collection<T> allSignatureList) Modifier and TypeMethodDescriptionAdvancedSignature.getMasterSignature()
Gets master signatureDefaultAdvancedSignature.getMasterSignature()
SignedDocumentValidator.getSignatureById
(String signatureId) Returns the signature with the given id.Modifier and TypeMethodDescriptionprotected List<AdvancedSignature>
SignedDocumentValidator.buildSignatures()
This method build a list of signatures to be extracted from a documentprotected List<AdvancedSignature>
SignedDocumentValidator.getAllSignatures()
Returns a list of all signatures from the validating documentAdvancedSignature.getCounterSignatures()
Returns a list of counter signatures applied to this signatureDocumentValidator.getSignatures()
Retrieves the signatures found in the documentSignedDocumentValidator.getSignatures()
ValidationDataContainer.getSignatures()
Returns a collection ofAdvancedSignature
sModifier and TypeMethodDescriptionvoid
SignatureValidationContext.addSignatureForVerification
(AdvancedSignature signature) void
ValidationContext.addSignatureForVerification
(AdvancedSignature signature) Adds a new signature to collect the information to verify.void
ValidationDataContainer.addValidationData
(AdvancedSignature signature, ValidationData validationData) Adds validation data to the containerprotected void
SignedDocumentValidator.appendCounterSignatures
(List<AdvancedSignature> allSignatureList, AdvancedSignature signature) The util method to link counter signatures with the related master signaturesSignedDocumentDiagnosticDataBuilder.buildDetachedXmlSignature
(AdvancedSignature signature) BuildsXmlSignature
boolean
SignatureValidationContext.checkAtLeastOneRevocationDataPresentAfterBestSignatureTime
(AdvancedSignature signature) boolean
ValidationContext.checkAtLeastOneRevocationDataPresentAfterBestSignatureTime
(AdvancedSignature signature) This method allows to verify if there is at least one revocation data present after the earliest available timestamp token producing time Additionally, an alert can be handledCertificateVerifier.setAlertOnNoRevocationAfterBestSignatureTime(eu.europa.esig.dss.alert.StatusAlert)
boolean
SignatureValidationContext.checkCertificatesNotRevoked
(AdvancedSignature signature) boolean
ValidationContext.checkCertificatesNotRevoked
(AdvancedSignature signature) This method allows to verify if signature certificates are not revoked Additionally, an alert can be handledCertificateVerifier.setAlertOnRevokedCertificate(eu.europa.esig.dss.alert.StatusAlert)
boolean
SignatureValidationContext.checkSignatureNotExpired
(AdvancedSignature signature) boolean
ValidationContext.checkSignatureNotExpired
(AdvancedSignature signature) This method verifies if the signing certificate has not been expired yet or has a still valid timestamp Additionally, an alert can be handledCertificateVerifier.setAlertOnExpiredSignature(eu.europa.esig.dss.alert.StatusAlert)
ValidationDataContainer.getAllValidationDataForSignature
(AdvancedSignature signature) Returns a complete validation data for a signature, including the data for incorporated timestamps and/or counter-signaturesValidationDataContainer.getCompleteValidationDataForSignature
(AdvancedSignature signature) Returns a complete validation data for a signature, including the data for incorporated timestamps and/or counter-signatures, but excluding the tokens already incorporated within the signatureprotected abstract Object
AbstractSignatureIdentifierBuilder.getCounterSignaturePosition
(AdvancedSignature masterSignature) Returns a current counter signature position in its master signatureprotected String
UserFriendlyIdentifierProvider.getIdAsStringForSignature
(AdvancedSignature signature) Gets aString
identifier for a givenAdvancedSignature
DocumentValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) This method returns the signed document(s) without their signature(s)SignatureValidationContext.getValidationData
(AdvancedSignature signature) ValidationContext.getValidationData
(AdvancedSignature signature) Returns a validation data for the given signature's certificate chainValidationDataContainer.getValidationData
(AdvancedSignature signature) Returns a relatedValidationData
for the given token idprotected void
SignedDocumentValidator.prepareTimestampScopeFinder
(TimestampScopeFinder timestampScopeFinder, AdvancedSignature signature) This method is used to prepare aDetachedTimestampScopeFinder
for executionvoid
AdvancedSignature.setMasterSignature
(AdvancedSignature masterSignature) This setter allows to indicate the master signature.void
DefaultAdvancedSignature.setMasterSignature
(AdvancedSignature masterSignature) Modifier and TypeMethodDescriptionprotected void
SignedDocumentValidator.appendCounterSignatures
(List<AdvancedSignature> allSignatureList, AdvancedSignature signature) The util method to link counter signatures with the related master signaturesprotected DiagnosticDataBuilder
SignedDocumentValidator.createDiagnosticDataBuilder
(ValidationContext validationContext, List<AdvancedSignature> signatures) Creates and fills theDiagnosticDataBuilder
with a relevant dataSignedDocumentDiagnosticDataBuilder.foundSignatures
(List<AdvancedSignature> signatures) This method allows to set the found signaturesModifierConstructorDescriptionprotected
The default constructor -
Uses of AdvancedSignature in eu.europa.esig.dss.validation.scope
Modifier and TypeInterfaceDescriptioninterface
SignatureScopeFinder<T extends AdvancedSignature>
Builds a list ofSignatureScope
s from anAdvancedSignature
Modifier and TypeFieldDescriptionprotected AdvancedSignature
EncapsulatedTimestampScopeFinder.signature
AdvancedSignature
embedding the timestampModifier and TypeMethodDescriptionprotected boolean
AbstractSignatureScopeFinder.isASiCEArchive
(AdvancedSignature advancedSignature) Checks if the given signature represents an ASiC-E containerprotected boolean
AbstractSignatureScopeFinder.isASiCSArchive
(AdvancedSignature advancedSignature) Checks if the given signature represents an ASiC-S containervoid
EncapsulatedTimestampScopeFinder.setSignature
(AdvancedSignature signature) This method sets an encapsulatingAdvancedSignature
-
Uses of AdvancedSignature in eu.europa.esig.dss.validation.status
Modifier and TypeMethodDescriptionSignatureStatus.getRelatedSignatures()
Returns a collection of signatures concerned by failure of the processed checkModifier and TypeMethodDescriptionvoid
SignatureStatus.addRelatedTokenAndErrorMessage
(AdvancedSignature signature, String errorMessage) Adds concerned signature and information about the occurred eventSignatureStatus.getMessageForSignature
(AdvancedSignature signature) Returns error message for the given signature -
Uses of AdvancedSignature in eu.europa.esig.dss.validation.timestamp
Modifier and TypeClassDescriptionclass
SignatureTimestampSource<AS extends AdvancedSignature,
SA extends SignatureAttribute> The timestamp source of a signatureModifier and TypeFieldDescriptionprotected final AS
SignatureTimestampSource.signature
The signature is being validatedModifier and TypeMethodDescriptionprotected abstract List<AdvancedSignature>
SignatureTimestampSource.getCounterSignatures
(SA unsignedAttribute) Extracts Counter Signatures from the givenunsignedAttribute
Modifier and TypeMethodDescriptionprotected List<TimestampedReference>
SignatureTimestampSource.getCounterSignatureReferences
(AdvancedSignature counterSignature) Returns a list of references extracted from a counter signatureDetachedTimestampValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) Modifier and TypeMethodDescriptionprotected List<TimestampedReference>
SignatureTimestampSource.getCounterSignaturesReferences
(List<AdvancedSignature> counterSignatures) Returns a list ofTimestampedReference
s encapsulated from the list of counter signatures -
Uses of AdvancedSignature in eu.europa.esig.dss.xades.signature
Modifier and TypeMethodDescriptionprotected void
ExtensionBuilder.assertSignatureValid
(AdvancedSignature signature) Verifies if the signature is valid.Modifier and TypeMethodDescriptionprotected void
XAdESLevelA.extendSignatures
(List<AdvancedSignature> signatures) Adds the ArchiveTimeStamp element which is an unsigned property qualifying the signature.protected void
XAdESLevelBaselineLT.extendSignatures
(List<AdvancedSignature> signatures) Adds CertificateValues and RevocationValues segments to UnsignedSignatureProperties.
An XML electronic signature MAY contain at most one:
- CertificateValues element and
- RevocationValues element.protected void
XAdESLevelBaselineLTA.extendSignatures
(List<AdvancedSignature> signatures) Adds the ArchiveTimeStamp element which is an unsigned property qualifying the signature.protected void
XAdESLevelBaselineT.extendSignatures
(List<AdvancedSignature> signatures) Extends signatures to a desired level.
This method is overridden by other profiles.
For -T profile adds the SignatureTimeStamp element which contains a single HashDataInfo element that refers to the ds:SignatureValue element of the [XMLDSIG] signature.protected void
XAdESLevelC.extendSignatures
(List<AdvancedSignature> signatures) This format builds up taking XAdES-T signature and incorporating additional data required for validation: The sequence of references to the full set of CA certificates that have been used to validate the electronic signature up to (but not including ) the signer's certificate.
A full set of references to the revocation data that have been used in the validation of the signer and CA certificates.
Adds<CompleteCertificateRefs>
and<CompleteRevocationRefs>
segments into<UnsignedSignatureProperties>
element.protected void
XAdESLevelX.extendSignatures
(List<AdvancedSignature> signatures) Adds SigAndRefsTimeStamp segment to UnsignedSignatureProperties
The time-stamp is placed on the digital signature (ds:Signature element), the time-stamp(s) present in the XAdES-T form, the certification path references and the revocation status references.protected void
XAdESLevelXL.extendSignatures
(List<AdvancedSignature> signatures) Adds CertificateValues and RevocationValues segments to UnsignedSignatureProperties.
An XML electronic signature MAY contain at most one:
- CertificateValues element and
- RevocationValues element. -
Uses of AdvancedSignature in eu.europa.esig.dss.xades.validation
Modifier and TypeMethodDescriptionprotected List<AdvancedSignature>
XMLDocumentValidator.buildSignatures()
XAdESSignature.getCounterSignatures()
This method retrieves the potential countersignatures embedded in the XAdES signature document.Modifier and TypeMethodDescriptionprotected Integer
XAdESSignatureIdentifierBuilder.getCounterSignaturePosition
(AdvancedSignature masterSignature) XMLDocumentValidator.getOriginalDocuments
(AdvancedSignature advancedSignature) -
Uses of AdvancedSignature in eu.europa.esig.dss.xades.validation.timestamp
Modifier and TypeMethodDescriptionprotected List<AdvancedSignature>
XAdESTimestampSource.getCounterSignatures
(XAdESAttribute unsignedAttribute)