Class AbstractCryptographicCheck<T extends XmlConstraintsConclusion>
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.bbb.sav.checks.AbstractCryptographicCheck<T>
- Direct Known Subclasses:
CryptographicCheck,DigestCryptographicCheck
public abstract class AbstractCryptographicCheck<T extends XmlConstraintsConclusion> extends ChainItem<T>
-
Field Summary
Fields Modifier and Type Field Description protected MessageTagerrorMessageprotected StringfailedAlgorithmprotected DatevalidationDate -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractCryptographicCheck(I18nProvider i18nProvider, T result, Date currentTime, CryptographicConstraint constraint) -
Method Summary
Modifier and Type Method Description protected booleandigestAlgorithmIsReliable(DigestAlgorithm digestAlgo)protected booleandigestAlgorithmIsValidOnValidationDate(DigestAlgorithm digestAlgo)protected booleanencryptionAlgorithmIsReliable(EncryptionAlgorithm encryptionAlgo)protected booleanencryptionAlgorithmIsValidOnValidationDate(EncryptionAlgorithm encryptionAlgo, String keyLengthUsedToSignThisToken)protected MessageTaggetAdditionalInfo()protected MessageTaggetErrorMessageTag()Returns an i18n key String of an error message to getprotected IndicationgetFailedIndicationForConclusion()protected SubIndicationgetFailedSubIndicationForConclusion()protected MessageTaggetMessageTag()Returns an i18n key String of a message to getprotected booleanisExpirationDateAvailable(CryptographicConstraint constraint)protected booleanisPublicKeySizeKnown(String keyLengthUsedToSignThisToken)protected booleanpublicKeySizeIsAcceptable(EncryptionAlgorithm encryptionAlgo, String keyLengthUsedToSignThisToken)Methods inherited from class eu.europa.esig.dss.validation.process.ChainItem
execute, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, process, setNextItem
-
Field Details
-
Constructor Details
-
AbstractCryptographicCheck
protected AbstractCryptographicCheck(I18nProvider i18nProvider, T result, Date currentTime, CryptographicConstraint constraint)
-
-
Method Details
-
isPublicKeySizeKnown
-
publicKeySizeIsAcceptable
protected boolean publicKeySizeIsAcceptable(EncryptionAlgorithm encryptionAlgo, String keyLengthUsedToSignThisToken) -
encryptionAlgorithmIsReliable
-
digestAlgorithmIsReliable
-
digestAlgorithmIsValidOnValidationDate
-
encryptionAlgorithmIsValidOnValidationDate
protected boolean encryptionAlgorithmIsValidOnValidationDate(EncryptionAlgorithm encryptionAlgo, String keyLengthUsedToSignThisToken) -
getMessageTag
Description copied from class:ChainItemReturns an i18n key String of a message to get- Specified by:
getMessageTagin classChainItem<T extends XmlConstraintsConclusion>- Returns:
MessageTagkey
-
getErrorMessageTag
Description copied from class:ChainItemReturns an i18n key String of an error message to get- Specified by:
getErrorMessageTagin classChainItem<T extends XmlConstraintsConclusion>- Returns:
MessageTagkey
-
getFailedIndicationForConclusion
- Specified by:
getFailedIndicationForConclusionin classChainItem<T extends XmlConstraintsConclusion>
-
getFailedSubIndicationForConclusion
- Specified by:
getFailedSubIndicationForConclusionin classChainItem<T extends XmlConstraintsConclusion>
-
getAdditionalInfo
- Overrides:
getAdditionalInfoin classChainItem<T extends XmlConstraintsConclusion>
-
isExpirationDateAvailable
-