Class SigningCertificateRefDigestCryptographicCheckerResultCheck<T extends XmlConstraintsConclusion>
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.bbb.sav.checks.AbstractCryptographicCheckerResultCheck<T>
eu.europa.esig.dss.validation.process.bbb.sav.checks.DigestCryptographicCheckerResultCheck<T>
eu.europa.esig.dss.validation.process.bbb.sav.checks.SigningCertificateRefDigestCryptographicCheckerResultCheck<T>
- Type Parameters:
T
-XmlConstraintsConclusion
implementation of the block's conclusion
- Direct Known Subclasses:
SigningCertificateDigestAlgorithmCheck
public class SigningCertificateRefDigestCryptographicCheckerResultCheck<T extends XmlConstraintsConclusion>
extends DigestCryptographicCheckerResultCheck<T>
This class verifies whether a used
eu.europa.esig.dss.enumerations.DigestAlgorithm
for a signing-certificate-reference signing-attribute is reliable and acceptable at validation time-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.bbb.sav.checks.DigestCryptographicCheckerResultCheck
validationDate
Fields inherited from class eu.europa.esig.dss.validation.process.bbb.sav.checks.AbstractCryptographicCheckerResultCheck
ccResult, position
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ConstructorDescriptionSigningCertificateRefDigestCryptographicCheckerResultCheck
(I18nProvider i18nProvider, T result, Date validationDate, CertificateRefWrapper certificateRefWrapper, XmlCC ccResult, LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Builds an additional informationprotected XmlMessage
Builds an error messageprotected Level
getLevel()
Returns an execution Level of the chain itemMethods inherited from class eu.europa.esig.dss.validation.process.bbb.sav.checks.AbstractCryptographicCheckerResultCheck
buildConstraintMessage, getErrorMessage, getFailedIndicationForConclusion, getFailedSubIndicationForConclusion, getPreviousErrors, process
Methods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildXmlMessage, execute, getAdditionalInfo, getBlockType, getErrorMessageTag, getMessageTag, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
SigningCertificateRefDigestCryptographicCheckerResultCheck
public SigningCertificateRefDigestCryptographicCheckerResultCheck(I18nProvider i18nProvider, T result, Date validationDate, CertificateRefWrapper certificateRefWrapper, XmlCC ccResult, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
- the resultvalidationDate
-Date
certificateRefWrapper
-CertificateRefWrapper
ccResult
-XmlCC
constraint
-LevelConstraint
-
-
Method Details
-
buildAdditionalInfo
Description copied from class:ChainItem
Builds an additional information- Overrides:
buildAdditionalInfo
in classDigestCryptographicCheckerResultCheck<T extends XmlConstraintsConclusion>
- Returns:
String
-
getLevel
Description copied from class:ChainItem
Returns an execution Level of the chain item- Overrides:
getLevel
in classAbstractCryptographicCheckerResultCheck<T extends XmlConstraintsConclusion>
- Returns:
Level
-
buildErrorMessage
Description copied from class:ChainItem
Builds an error message- Overrides:
buildErrorMessage
in classAbstractCryptographicCheckerResultCheck<T extends XmlConstraintsConclusion>
- Returns:
XmlMessage
-