Class AbstractCryptographicCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlCC>
eu.europa.esig.dss.validation.process.bbb.sav.cc.AbstractCryptographicCheck
- Direct Known Subclasses:
DigestAlgorithmAtValidationTimeCheck
,DigestAlgorithmReliableCheck
,EncryptionAlgorithmAtValidationTimeCheck
,EncryptionAlgorithmReliableCheck
,PublicKeySizeAcceptableCheck
,PublicKeySizeKnownCheck
The abstract cryptographic check
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractCryptographicCheck
(I18nProvider i18nProvider, XmlCC result, MessageTag position, LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected Indication
Gets an Indication in case of failureprotected SubIndication
Gets a SubIndication in case of failureprotected String
getName
(DigestAlgorithm digestAlgorithm) Returns name for a DigestAlgorithm safelyprotected String
getName
(EncryptionAlgorithm encryptionAlgorithm) Returns name for an EncryptionAlgorithm safelyMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getErrorMessageTag, getLevel, getMessageTag, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, process, setNextItem
-
Field Details
-
position
The validating constraint position
-
-
Constructor Details
-
AbstractCryptographicCheck
protected AbstractCryptographicCheck(I18nProvider i18nProvider, XmlCC result, MessageTag position, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
-XmlCC
position
-MessageTag
constraint
-LevelConstraint
-
-
Method Details
-
getFailedIndicationForConclusion
Description copied from class:ChainItem
Gets an Indication in case of failure- Specified by:
getFailedIndicationForConclusion
in classChainItem<XmlCC>
- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItem
Gets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusion
in classChainItem<XmlCC>
- Returns:
SubIndication
-
getName
Returns name for a DigestAlgorithm safely- Parameters:
digestAlgorithm
-DigestAlgorithm
- Returns:
String
name
-
getName
Returns name for an EncryptionAlgorithm safely- Parameters:
encryptionAlgorithm
-EncryptionAlgorithm
- Returns:
String
name
-