Module jpms_dss_validation
Class SignatureAcceptanceValidation
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV>
eu.europa.esig.dss.validation.process.bbb.sav.AbstractAcceptanceValidation<eu.europa.esig.dss.diagnostic.SignatureWrapper>
eu.europa.esig.dss.validation.process.bbb.sav.SignatureAcceptanceValidation
public class SignatureAcceptanceValidation
extends AbstractAcceptanceValidation<eu.europa.esig.dss.diagnostic.SignatureWrapper>
5.2.8 Signature acceptance validation (SAV) This building block covers any
additional verification to be performed on the signature itself or on the
attributes of the signature ETSI EN 319 132-1
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.bbb.sav.AbstractAcceptanceValidation
context, currentTime, token, validationPolicyFields inherited from class eu.europa.esig.dss.validation.process.Chain
firstItem, i18nProvider, result -
Constructor Summary
ConstructorsConstructorDescriptionSignatureAcceptanceValidation(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, eu.europa.esig.dss.diagnostic.DiagnosticData diagnosticData, Date currentTime, eu.europa.esig.dss.diagnostic.SignatureWrapper signature, eu.europa.esig.dss.enumerations.Context context, Map<String, eu.europa.esig.dss.detailedreport.jaxb.XmlBasicBuildingBlocks> bbbs, eu.europa.esig.dss.policy.ValidationPolicy validationPolicy) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcollectMessages(eu.europa.esig.dss.detailedreport.jaxb.XmlConclusion conclusion, eu.europa.esig.dss.detailedreport.jaxb.XmlConstraint constraint) Collects required messages fromxmlConstraintto the givenconclusionNOTE: bye default the only one error is already collected in the chain (no more possible), therefore no need to collect it againprotected eu.europa.esig.dss.i18n.MessageTaggetTitle()Returns title of a Chain (i.e.protected voidInitializes the chainMethods inherited from class eu.europa.esig.dss.validation.process.bbb.sav.AbstractAcceptanceValidation
addAdditionalInfo, allCertificatesInPathReferenced, cryptographic, cryptographicSignedAttributes, signingCertificateAttributePresent, signingCertificateReferencesValidity, unicitySigningCertificateAttributeMethods inherited from class eu.europa.esig.dss.validation.process.Chain
buildChainTitle, collectAdditionalMessages, collectAllMessages, execute, getFailLevelConstraint, getInfoLevelConstraint, getWarnLevelConstraint, isValid, isValidConclusion
-
Constructor Details
-
SignatureAcceptanceValidation
public SignatureAcceptanceValidation(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, eu.europa.esig.dss.diagnostic.DiagnosticData diagnosticData, Date currentTime, eu.europa.esig.dss.diagnostic.SignatureWrapper signature, eu.europa.esig.dss.enumerations.Context context, Map<String, eu.europa.esig.dss.detailedreport.jaxb.XmlBasicBuildingBlocks> bbbs, eu.europa.esig.dss.policy.ValidationPolicy validationPolicy) Default constructor- Parameters:
i18nProvider-I18nProviderdiagnosticData-DiagnosticDatacurrentTime-Datevalidation timesignature-SignatureWrappercontext-Contextbbbs- a map ofXmlBasicBuildingBlocksvalidationPolicy-ValidationPolicy
-
-
Method Details
-
getTitle
-
initChain
-
collectMessages
protected void collectMessages(eu.europa.esig.dss.detailedreport.jaxb.XmlConclusion conclusion, eu.europa.esig.dss.detailedreport.jaxb.XmlConstraint constraint) Description copied from class:ChainCollects required messages fromxmlConstraintto the givenconclusionNOTE: bye default the only one error is already collected in the chain (no more possible), therefore no need to collect it again- Overrides:
collectMessagesin classChain<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV>- Parameters:
conclusion-XmlConclusionto fill upconstraint-XmlConstraintto extract messages from
-