Class EncryptionAlgorithmAtValidationTimeCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlCC>
eu.europa.esig.dss.validation.process.bbb.sav.cc.AbstractCryptographicCheck
eu.europa.esig.dss.validation.process.bbb.sav.cc.EncryptionAlgorithmAtValidationTimeCheck
Check EncryptionAlgorithm at validation time
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.bbb.sav.cc.AbstractCryptographicCheck
position
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ModifierConstructorDescriptionprotected
EncryptionAlgorithmAtValidationTimeCheck
(I18nProvider i18nProvider, EncryptionAlgorithm encryptionAlgo, String keyLength, Date validationDate, XmlCC result, MessageTag position, CryptographicConstraintWrapper constraintWrapper) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected XmlMessage
Builds a constraint messageprotected XmlMessage
Builds an error messageprotected Level
getLevel()
Returns an execution Level of the chain itemprotected boolean
process()
Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.bbb.sav.cc.AbstractCryptographicCheck
getFailedIndicationForConclusion, getFailedSubIndicationForConclusion, getName, getName
Methods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getErrorMessageTag, getMessageTag, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
EncryptionAlgorithmAtValidationTimeCheck
protected EncryptionAlgorithmAtValidationTimeCheck(I18nProvider i18nProvider, EncryptionAlgorithm encryptionAlgo, String keyLength, Date validationDate, XmlCC result, MessageTag position, CryptographicConstraintWrapper constraintWrapper) Default constructor- Parameters:
i18nProvider
-I18nProvider
encryptionAlgo
-EncryptionAlgorithm
keyLength
-String
validationDate
-Date
result
-XmlCC
position
-MessageTag
constraintWrapper
-CryptographicConstraintWrapper
-
-
Method Details
-
process
protected boolean process()Description copied from class:ChainItem
Performs the check -
getLevel
Description copied from class:ChainItem
Returns an execution Level of the chain item -
buildConstraintMessage
Description copied from class:ChainItem
Builds a constraint message- Overrides:
buildConstraintMessage
in classChainItem<XmlCC>
- Returns:
XmlMessage
-
buildErrorMessage
Description copied from class:ChainItem
Builds an error message- Overrides:
buildErrorMessage
in classChainItem<XmlCC>
- Returns:
XmlMessage
-