Class AbstractAcceptanceValidation<T extends eu.europa.esig.dss.diagnostic.AbstractTokenProxy>
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<T>
- Type Parameters:
T- validation token wrapper
- Direct Known Subclasses:
RevocationAcceptanceValidation, SignatureAcceptanceValidation, TimestampAcceptanceValidation
public abstract class AbstractAcceptanceValidation<T extends eu.europa.esig.dss.diagnostic.AbstractTokenProxy>
extends Chain<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV>
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
FieldsModifier and TypeFieldDescriptionprotected final eu.europa.esig.dss.detailedreport.jaxb.XmlAOVResult of Algorithm Obsolescence Validation blockprotected final eu.europa.esig.dss.enumerations.ContextThe validation contextprotected final DateThe validation timeprotected final TThe token to be validatedprotected final eu.europa.esig.dss.model.policy.ValidationPolicyThe validation policyFields inherited from class Chain
firstItem, i18nProvider, result -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAcceptanceValidation(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T token, Date currentTime, eu.europa.esig.dss.enumerations.Context context, eu.europa.esig.dss.detailedreport.jaxb.XmlAOV aov, eu.europa.esig.dss.model.policy.ValidationPolicy validationPolicy) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV> algorithmObsolescenceValidationCheck(eu.europa.esig.dss.detailedreport.jaxb.XmlSAV result, eu.europa.esig.dss.detailedreport.jaxb.XmlAOV aovResult, eu.europa.esig.dss.i18n.MessageTag position) Verifies the result of the Algorithm Obsolescence Validation building blockprotected ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV> Checks if all certificates in a signing certificate chain are references within signing-certificate signed attributeprotected ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV> cryptographic(ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV> item) Verifies cryptographic validity of signature references and signing-certificate signed attributeprotected ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV> Checks whether a signing-certificate signed attribute is presentprotected ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV> Checks whether a signing-certificate signed attribute is valid to the determined signing certificateprotected ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV> Checks if only one signing-certificate signed attribute is presentMethods inherited from class Chain
addAdditionalInfo, buildChainTitle, collectAdditionalMessages, collectAllMessages, collectMessages, execute, getFailLevelRule, getInfoLevelRule, getTitle, getWarnLevelRule, initChain, isValid, isValidConclusion
-
Field Details
-
token
The token to be validated -
currentTime
The validation time -
context
protected final eu.europa.esig.dss.enumerations.Context contextThe validation context -
aov
protected final eu.europa.esig.dss.detailedreport.jaxb.XmlAOV aovResult of Algorithm Obsolescence Validation block -
validationPolicy
protected final eu.europa.esig.dss.model.policy.ValidationPolicy validationPolicyThe validation policy
-
-
Constructor Details
-
AbstractAcceptanceValidation
protected AbstractAcceptanceValidation(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T token, Date currentTime, eu.europa.esig.dss.enumerations.Context context, eu.europa.esig.dss.detailedreport.jaxb.XmlAOV aov, eu.europa.esig.dss.model.policy.ValidationPolicy validationPolicy) Default constructor- Parameters:
i18nProvider-I18nProvidertoken- to validatecurrentTime-Datecontext-Contextaov-XmlAOVvalidationPolicy-ValidationPolicy
-
-
Method Details
-
signingCertificateAttributePresent
-
unicitySigningCertificateAttribute
-
signingCertificateReferencesValidity
-
allCertificatesInPathReferenced
-
cryptographic
-
algorithmObsolescenceValidationCheck
protected ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV> algorithmObsolescenceValidationCheck(eu.europa.esig.dss.detailedreport.jaxb.XmlSAV result, eu.europa.esig.dss.detailedreport.jaxb.XmlAOV aovResult, eu.europa.esig.dss.i18n.MessageTag position) Verifies the result of the Algorithm Obsolescence Validation building block- Parameters:
result-XmlSAVaovResult-XmlAOVposition-MessageTag- Returns:
ChainItem
-