Class BasicSignatureValidationProcess
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<XmlValidationProcessBasicSignature>
eu.europa.esig.dss.validation.process.vpfbs.AbstractBasicValidationProcess<XmlValidationProcessBasicSignature>
eu.europa.esig.dss.validation.process.vpfbs.BasicSignatureValidationProcess
public class BasicSignatureValidationProcess
extends AbstractBasicValidationProcess<XmlValidationProcessBasicSignature>
Signature validation process at validation time as per EN 319 102-1 ch. "5.3 Validation process for Basic Signatures"
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.vpfbs.AbstractBasicValidationProcess
bbbs, diagnosticData, token
Fields inherited from class eu.europa.esig.dss.validation.process.Chain
firstItem, i18nProvider, result
-
Constructor Summary
ConstructorDescriptionBasicSignatureValidationProcess
(I18nProvider i18nProvider, DiagnosticData diagnosticData, SignatureWrapper signatureWrapper, List<XmlTimestamp> xmlTimestamps, Map<String, XmlBasicBuildingBlocks> bbbs) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected List
<TimestampWrapper> Returns a list of content timestampsprotected XmlValidationProcessBasicTimestamp
getTimestampValidation
(String timestampId) Gets the corresponding validation result for a timestamp with the given Idprotected MessageTag
getTitle()
Returns title of a Chain (i.e.Methods inherited from class eu.europa.esig.dss.validation.process.vpfbs.AbstractBasicValidationProcess
basicValidationProcess, collectAdditionalMessages, collectMessages, cryptographicVerification, formatChecking, identificationOfSigningCertificate, initChain, signatureAcceptanceValidation, validationContextInitialization, x509CertificateValidation
Methods inherited from class eu.europa.esig.dss.validation.process.Chain
addAdditionalInfo, buildChainTitle, collectAllMessages, execute, getFailLevelConstraint, getInfoLevelConstraint, getWarnLevelConstraint, isValid, isValidConclusion
-
Constructor Details
-
BasicSignatureValidationProcess
public BasicSignatureValidationProcess(I18nProvider i18nProvider, DiagnosticData diagnosticData, SignatureWrapper signatureWrapper, List<XmlTimestamp> xmlTimestamps, Map<String, XmlBasicBuildingBlocks> bbbs) Default constructor- Parameters:
i18nProvider
-I18nProvider
diagnosticData
-DiagnosticData
signatureWrapper
-SignatureWrapper
xmlTimestamps
- a collection ofXmlTimestamp
validationsbbbs
- map of BasicBuildingBlocks
-
-
Method Details
-
getTitle
Description copied from class:Chain
Returns title of a Chain (i.e. BasicBuildingBlock title)- Overrides:
getTitle
in classChain<XmlValidationProcessBasicSignature>
- Returns:
MessageTag
-
getContentTimestamps
Description copied from class:AbstractBasicValidationProcess
Returns a list of content timestamps- Overrides:
getContentTimestamps
in classAbstractBasicValidationProcess<XmlValidationProcessBasicSignature>
- Returns:
- a list of
TimestampWrapper
s
-
getTimestampValidation
Description copied from class:AbstractBasicValidationProcess
Gets the corresponding validation result for a timestamp with the given Id- Overrides:
getTimestampValidation
in classAbstractBasicValidationProcess<XmlValidationProcessBasicSignature>
- Parameters:
timestampId
-String
Id of a timestamp to get validation result for- Returns:
XmlValidationProcessBasicTimestamp
-