Class AbstractAcceptanceValidation<T extends AbstractTokenProxy>
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<XmlSAV>
eu.europa.esig.dss.validation.process.bbb.sav.AbstractAcceptanceValidation<T>
- Type Parameters:
T
- validation token wrapper
- Direct Known Subclasses:
CertificateAcceptanceValidation
,RevocationAcceptanceValidation
,SignatureAcceptanceValidation
,TimestampAcceptanceValidation
public abstract class AbstractAcceptanceValidation<T extends AbstractTokenProxy>
extends Chain<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
Modifier and TypeFieldDescriptionprotected final Context
The validation contextprotected final Date
The validation timeprotected final T
The token to be validatedprotected final ValidationPolicy
The validation policyFields inherited from class eu.europa.esig.dss.validation.process.Chain
firstItem, i18nProvider, result
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractAcceptanceValidation
(I18nProvider i18nProvider, T token, Date currentTime, Context context, ValidationPolicy validationPolicy) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Adds additional info to the chainChecks if all certificates in a signing certificate chain are references within signing-certificate signed attributecryptographic
(ChainItem<XmlSAV> item) Verifies cryptographic validity of signature references and signing-certificate signed attributeThis method verifies the validity of the used cryptographic constraints for signed-attributesChecks whether a signing-certificate signed attribute is presentChecks whether a signing-certificate signed attribute is valid to the determined signing certificateChecks if only one signing-certificate signed attribute is presentMethods inherited from class eu.europa.esig.dss.validation.process.Chain
buildChainTitle, collectAdditionalMessages, collectAllMessages, collectMessages, execute, getFailLevelConstraint, getInfoLevelConstraint, getTitle, getWarnLevelConstraint, initChain, isValid, isValidConclusion
-
Field Details
-
token
The token to be validated -
currentTime
The validation time -
context
The validation context -
validationPolicy
The validation policy
-
-
Constructor Details
-
AbstractAcceptanceValidation
protected AbstractAcceptanceValidation(I18nProvider i18nProvider, T token, Date currentTime, Context context, ValidationPolicy validationPolicy) Default constructor- Parameters:
i18nProvider
-I18nProvider
token
- to validatecurrentTime
-Date
context
-Context
validationPolicy
-ValidationPolicy
-
-
Method Details
-
signingCertificateAttributePresent
Checks whether a signing-certificate signed attribute is present- Returns:
ChainItem
-
unicitySigningCertificateAttribute
Checks if only one signing-certificate signed attribute is present- Returns:
ChainItem
-
signingCertificateReferencesValidity
Checks whether a signing-certificate signed attribute is valid to the determined signing certificate- Returns:
ChainItem
-
allCertificatesInPathReferenced
Checks if all certificates in a signing certificate chain are references within signing-certificate signed attribute- Returns:
ChainItem
-
cryptographic
Verifies cryptographic validity of signature references and signing-certificate signed attribute -
cryptographicSignedAttributes
This method verifies the validity of the used cryptographic constraints for signed-attributes -
addAdditionalInfo
protected void addAdditionalInfo()Description copied from class:Chain
Adds additional info to the chain- Overrides:
addAdditionalInfo
in classChain<XmlSAV>
-