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(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 StringgetAdditionalInfo()protected MessageTaggetErrorMessageTag()protected IndicationgetFailedIndicationForConclusion()protected SubIndicationgetFailedSubIndicationForConclusion()protected MessageTaggetMessageTag()protected 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, isAcceptableConclusion, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, process, setNextItem
-
-
-
-
Field Detail
-
validationDate
protected final Date validationDate
-
failedAlgorithm
protected String failedAlgorithm
-
errorMessage
protected MessageTag errorMessage
-
-
Constructor Detail
-
AbstractCryptographicCheck
protected AbstractCryptographicCheck(T result, Date currentTime, CryptographicConstraint constraint)
-
-
Method Detail
-
isPublicKeySizeKnown
protected boolean isPublicKeySizeKnown(String keyLengthUsedToSignThisToken)
-
encryptionAlgorithmIsReliable
protected boolean encryptionAlgorithmIsReliable(EncryptionAlgorithm encryptionAlgo)
-
digestAlgorithmIsReliable
protected boolean digestAlgorithmIsReliable(DigestAlgorithm digestAlgo)
-
publicKeySizeIsAcceptable
protected boolean publicKeySizeIsAcceptable(EncryptionAlgorithm encryptionAlgo, String keyLengthUsedToSignThisToken)
-
digestAlgorithmIsValidOnValidationDate
protected boolean digestAlgorithmIsValidOnValidationDate(DigestAlgorithm digestAlgo)
-
encryptionAlgorithmIsValidOnValidationDate
protected boolean encryptionAlgorithmIsValidOnValidationDate(EncryptionAlgorithm encryptionAlgo, String keyLengthUsedToSignThisToken)
-
getMessageTag
protected MessageTag getMessageTag()
- Specified by:
getMessageTagin classChainItem<T extends XmlConstraintsConclusion>
-
getErrorMessageTag
protected MessageTag getErrorMessageTag()
- Specified by:
getErrorMessageTagin classChainItem<T extends XmlConstraintsConclusion>
-
getFailedIndicationForConclusion
protected Indication getFailedIndicationForConclusion()
- Specified by:
getFailedIndicationForConclusionin classChainItem<T extends XmlConstraintsConclusion>
-
getFailedSubIndicationForConclusion
protected SubIndication getFailedSubIndicationForConclusion()
- Specified by:
getFailedSubIndicationForConclusionin classChainItem<T extends XmlConstraintsConclusion>
-
getAdditionalInfo
protected String getAdditionalInfo()
- Overrides:
getAdditionalInfoin classChainItem<T extends XmlConstraintsConclusion>
-
isExpirationDateAvailable
protected boolean isExpirationDateAvailable(CryptographicConstraint constraint)
-
-