Class AbstractAlgorithmCryptographicChecker
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<eu.europa.esig.dss.detailedreport.jaxb.XmlCC>
eu.europa.esig.dss.validation.process.bbb.aov.cc.AbstractAlgorithmCryptographicChecker
- Direct Known Subclasses:
DigestAlgorithmCryptographicChecker, SignatureAlgorithmCryptographicChecker
public abstract class AbstractAlgorithmCryptographicChecker
extends Chain<eu.europa.esig.dss.detailedreport.jaxb.XmlCC>
Abstract class to perform cryptographic validation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe name string for a unidentified (unsupported) algorithmprotected static final StringThe urn for a not identified (unsupported) algorithmprotected eu.europa.esig.dss.detailedreport.jaxb.XmlCryptographicAlgorithmThe verified cryptographic algorithmprotected final eu.europa.esig.dss.model.policy.CryptographicSuiteCryptographic constraintprotected final eu.europa.esig.dss.i18n.MessageTagThe validation constraint positionprotected final DateThe validation timeFields inherited from class Chain
firstItem, i18nProvider, result -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAlgorithmCryptographicChecker(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, Date validationDate, eu.europa.esig.dss.i18n.MessageTag position, eu.europa.esig.dss.model.policy.CryptographicSuite cryptographicSuite) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdds additional info to the chainprotected abstract eu.europa.esig.dss.detailedreport.jaxb.XmlCryptographicAlgorithmBuilds and returns the validated algorithmprotected eu.europa.esig.dss.detailedreport.jaxb.XmlCryptographicValidationBuilds aXmlCryptographicValidationinformationprotected abstract DateReturns time after which the used cryptographic algorithm(s) is no longer considered secureprotected eu.europa.esig.dss.i18n.MessageTaggetTitle()Returns title of a Chain (i.e.Methods inherited from class Chain
buildChainTitle, collectAdditionalMessages, collectAllMessages, collectMessages, execute, getFailLevelRule, getInfoLevelRule, getWarnLevelRule, initChain, isValid, isValidConclusion
-
Field Details
-
ALGORITHM_UNIDENTIFIED
The name string for a unidentified (unsupported) algorithm- See Also:
-
ALGORITHM_UNIDENTIFIED_URN
The urn for a not identified (unsupported) algorithm- See Also:
-
validationDate
The validation time -
cryptographicSuite
protected final eu.europa.esig.dss.model.policy.CryptographicSuite cryptographicSuiteCryptographic constraint -
position
protected final eu.europa.esig.dss.i18n.MessageTag positionThe validation constraint position -
cryptographicAlgorithm
protected eu.europa.esig.dss.detailedreport.jaxb.XmlCryptographicAlgorithm cryptographicAlgorithmThe verified cryptographic algorithm
-
-
Constructor Details
-
AbstractAlgorithmCryptographicChecker
protected AbstractAlgorithmCryptographicChecker(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, Date validationDate, eu.europa.esig.dss.i18n.MessageTag position, eu.europa.esig.dss.model.policy.CryptographicSuite cryptographicSuite) Default constructor- Parameters:
i18nProvider-I18nProvidervalidationDate-Dateposition-MessageTagcryptographicSuite-CryptographicSuite
-
-
Method Details
-
getTitle
-
addAdditionalInfo
protected void addAdditionalInfo()Description copied from class:ChainAdds additional info to the chain- Overrides:
addAdditionalInfoin classChain<eu.europa.esig.dss.detailedreport.jaxb.XmlCC>
-
getCryptographicValidation
protected eu.europa.esig.dss.detailedreport.jaxb.XmlCryptographicValidation getCryptographicValidation()Builds aXmlCryptographicValidationinformation- Returns:
XmlCryptographicValidation
-
getAlgorithm
protected abstract eu.europa.esig.dss.detailedreport.jaxb.XmlCryptographicAlgorithm getAlgorithm()Builds and returns the validated algorithm- Returns:
XmlCryptographicAlgorithm
-
getNotAfter
-