Class XmlDiagnosticDataFactory
java.lang.Object
eu.europa.esig.dss.validation.reports.diagnostic.XmlDiagnosticDataFactory
-
Constructor Summary
ConstructorDescriptionXmlDiagnosticDataFactory
(SignedDocumentDiagnosticDataBuilder diagnosticDataBuilder) Default constructor -
Method Summary
Modifier and TypeMethodDescriptioncreate()
Creates aXmlDiagnosticData
setDefaultDigestAlgorithm
(DigestAlgorithm defaultDigestAlgorithm) Sets the digest algorithm to be used to compute references to the data objectssetDocument
(DSSDocument document) Sets original document to be validatedsetTokenExtractionStrategy
(TokenExtractionStrategy tokenExtractionStrategy) Sets the token extraction strategysetTokenIdentifierProvider
(TokenIdentifierProvider tokenIdentifierProvider) Sets the token identifier providersetValidationContext
(ValidationContext validationContext) Sets the validation contextsetValidationTime
(Date validationTime) Sets the validation time
-
Constructor Details
-
XmlDiagnosticDataFactory
Default constructor- Parameters:
diagnosticDataBuilder
-SignedDocumentDiagnosticDataBuilder
corresponding to the given signature format
-
-
Method Details
-
setDocument
Sets original document to be validated- Parameters:
document
-DSSDocument
- Returns:
XmlDiagnosticDataFactory
this
-
setValidationTime
Sets the validation time- Parameters:
validationTime
-Date
- Returns:
XmlDiagnosticDataFactory
this
-
setValidationContext
Sets the validation context- Parameters:
validationContext
-ValidationContext
- Returns:
XmlDiagnosticDataFactory
this
-
setDefaultDigestAlgorithm
Sets the digest algorithm to be used to compute references to the data objects- Parameters:
defaultDigestAlgorithm
-DigestAlgorithm
- Returns:
XmlDiagnosticDataFactory
this
-
setTokenExtractionStrategy
public XmlDiagnosticDataFactory setTokenExtractionStrategy(TokenExtractionStrategy tokenExtractionStrategy) Sets the token extraction strategy- Parameters:
tokenExtractionStrategy
-TokenExtractionStrategy
- Returns:
XmlDiagnosticDataFactory
this
-
setTokenIdentifierProvider
public XmlDiagnosticDataFactory setTokenIdentifierProvider(TokenIdentifierProvider tokenIdentifierProvider) Sets the token identifier provider- Parameters:
tokenIdentifierProvider
-TokenIdentifierProvider
- Returns:
XmlDiagnosticDataFactory
this
-
create
-