Class AlgorithmObsolescenceValidation<T>
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<XmlAOV>
eu.europa.esig.dss.validation.process.bbb.aov.AlgorithmObsolescenceValidation<T>
- Type Parameters:
T- validation token wrapper
- Direct Known Subclasses:
DigestAlgorithmObsolescenceValidation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<XmlCryptographicValidation> The cryptographic information for the certificate chain algorithms validationprotected final ContextThe validation contextprotected CryptographicSuiteCryptographic suite for the token's validationprotected XmlCryptographicValidationThe cryptographic information for the digest matchers (signed references) algorithms validationprotected MessageTagPosition of the tokenprotected XmlCryptographicValidationThe cryptographic information for the SignatureValue algorithms validationprotected XmlCryptographicValidationThe cryptographic information for the signed attributes algorithms validationprotected final TThe token to be validatedprotected final DateThe validation timeprotected final ValidationPolicyValidation policy containing the corresponding cryptographic constraintsFields inherited from class Chain
firstItem, i18nProvider, result -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAlgorithmObsolescenceValidation(I18nProvider i18nProvider, T token, Context context, Date validationDate, ValidationPolicy validationPolicy) Common constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdds additional info to the chainBuilds a chain of checks to be executed during the processprotected CryptographicSuiteGets the cryptographic suite based on the currently validatingcontextprotected MessageTagGets position of the currently verifying token, based on thecontextprotected MessageTaggetTitle()Returns title of a Chain (i.e.protected voidInitializes the chainprotected booleanisValid(XmlCryptographicValidation cryptographicValidation) Checks whether CryptographicValidation returned a successful validation resultMethods inherited from class Chain
buildChainTitle, collectAdditionalMessages, collectAllMessages, collectMessages, execute, getFailLevelRule, getInfoLevelRule, getWarnLevelRule, isValid, isValidConclusion
-
Field Details
-
token
The token to be validated -
context
The validation context -
validationDate
The validation time -
validationPolicy
Validation policy containing the corresponding cryptographic constraints -
position
Position of the token -
cryptographicSuite
Cryptographic suite for the token's validation -
signatureCryptographicValidation
The cryptographic information for the SignatureValue algorithms validation -
signedAttributesCryptographicValidation
The cryptographic information for the signed attributes algorithms validation -
digestMatchersCryptographicValidation
The cryptographic information for the digest matchers (signed references) algorithms validation -
certificateChainCryptographicValidation
The cryptographic information for the certificate chain algorithms validation
-
-
Constructor Details
-
AlgorithmObsolescenceValidation
protected AlgorithmObsolescenceValidation(I18nProvider i18nProvider, T token, Context context, Date validationDate, ValidationPolicy validationPolicy) Common constructor- Parameters:
i18nProvider- the access to translationstoken- instance ofAbstractTokenProxyto be processedcontext-Contextvalidation contextvalidationDate-Datevalidation timevalidationPolicy-ValidationPolicyto be used during the validation
-
-
Method Details
-
getTitle
Description copied from class:ChainReturns title of a Chain (i.e. BasicBuildingBlock title)- Overrides:
getTitlein classChain<XmlAOV>- Returns:
MessageTag
-
initChain
-
buildChain
-
getPosition
Gets position of the currently verifying token, based on thecontext- Returns:
MessageTag
-
getCryptographicSuite
Gets the cryptographic suite based on the currently validatingcontext- Returns:
CryptographicSuite
-
isValid
Checks whether CryptographicValidation returned a successful validation result- Parameters:
cryptographicValidation-XmlCryptographicValidation- Returns:
- TRUE if the cryptographic validation was successful, FALSE otherwise
-
addAdditionalInfo
protected void addAdditionalInfo()Description copied from class:ChainAdds additional info to the chain- Overrides:
addAdditionalInfoin classChain<XmlAOV>
-