Class SignatureAlgorithmCryptographicChecker
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<XmlCC>
eu.europa.esig.dss.validation.process.bbb.aov.cc.AbstractAlgorithmCryptographicChecker
eu.europa.esig.dss.validation.process.bbb.aov.cc.SignatureAlgorithmCryptographicChecker
Runs the cryptographic validation for a SignatureAlgorithm with a given key length
-
Field Summary
Fields inherited from class AbstractAlgorithmCryptographicChecker
ALGORITHM_UNIDENTIFIED, ALGORITHM_UNIDENTIFIED_URN, cryptographicAlgorithm, cryptographicSuite, position, validationDateFields inherited from class Chain
firstItem, i18nProvider, result -
Constructor Summary
ConstructorsConstructorDescriptionSignatureAlgorithmCryptographicChecker(I18nProvider i18nProvider, SignatureAlgorithm signatureAlgorithm, String keyLengthUsedToSignThisToken, Date validationDate, MessageTag position, CryptographicSuite cryptographicSuite) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected XmlCryptographicAlgorithmBuilds and returns the validated algorithmprotected DateReturns time after which the used cryptographic algorithm(s) is no longer considered secureprotected voidInitializes the chainChecks if thekeyLengthUsedToSignThisTokenis acceptableChecks if thekeyLengthUsedToSignThisTokenis knownChecks if thesignatureAlgorithmis not expired in validation timeChecks if thesignatureAlgorithmis acceptableMethods inherited from class AbstractAlgorithmCryptographicChecker
addAdditionalInfo, getCryptographicValidation, getTitleMethods inherited from class Chain
buildChainTitle, collectAdditionalMessages, collectAllMessages, collectMessages, execute, getFailLevelRule, getInfoLevelRule, getWarnLevelRule, isValid, isValidConclusion
-
Constructor Details
-
SignatureAlgorithmCryptographicChecker
public SignatureAlgorithmCryptographicChecker(I18nProvider i18nProvider, SignatureAlgorithm signatureAlgorithm, String keyLengthUsedToSignThisToken, Date validationDate, MessageTag position, CryptographicSuite cryptographicSuite) Default constructor- Parameters:
i18nProvider-I18nProvidersignatureAlgorithm-SignatureAlgorithmto validatekeyLengthUsedToSignThisToken-StringvalidationDate-Dateposition-MessageTagcryptographicSuite-CryptographicSuite
-
-
Method Details
-
initChain
-
signatureAlgorithmReliable
-
publicKeySizeKnown
-
publicKeySizeAcceptable
-
signatureAlgorithmOnValidationTime
-
getAlgorithm
Description copied from class:AbstractAlgorithmCryptographicCheckerBuilds and returns the validated algorithm- Specified by:
getAlgorithmin classAbstractAlgorithmCryptographicChecker- Returns:
XmlCryptographicAlgorithm
-
getNotAfter
Description copied from class:AbstractAlgorithmCryptographicCheckerReturns time after which the used cryptographic algorithm(s) is no longer considered secure- Specified by:
getNotAfterin classAbstractAlgorithmCryptographicChecker- Returns:
Date
-