Class OtherTrustAnchorExistsCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlSubXCV>
eu.europa.esig.dss.validation.process.bbb.xcv.sub.checks.OtherTrustAnchorExistsCheck
This class verifies if other trust anchor exists in the certificate chain
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider -
Constructor Summary
ConstructorsConstructorDescriptionOtherTrustAnchorExistsCheck(I18nProvider i18nProvider, XmlSubXCV result, CertificateWrapper certificate, LevelRule constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected XmlBlockTypeReturns the validating block type (used for validation result of RAC, RFC, etc.)protected MessageTagReturns an i18n key String of an error message to getprotected IndicationGets an Indication in case of failureprotected SubIndicationGets a SubIndication in case of failureprotected MessageTagReturns an i18n key String of a message to getprotected booleanprocess()Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getLevel, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
OtherTrustAnchorExistsCheck
public OtherTrustAnchorExistsCheck(I18nProvider i18nProvider, XmlSubXCV result, CertificateWrapper certificate, LevelRule constraint) Default constructor- Parameters:
i18nProvider-I18nProviderresult- the resultcertificate-CertificateWrapperconstraint-LevelRule
-
-
Method Details
-
getBlockType
Description copied from class:ChainItemReturns the validating block type (used for validation result of RAC, RFC, etc.)- Overrides:
getBlockTypein classChainItem<XmlSubXCV>- Returns:
XmlBlockType
-
process
protected boolean process()Description copied from class:ChainItemPerforms the check -
getMessageTag
Description copied from class:ChainItemReturns an i18n key String of a message to get- Overrides:
getMessageTagin classChainItem<XmlSubXCV>- Returns:
MessageTagkey
-
getErrorMessageTag
Description copied from class:ChainItemReturns an i18n key String of an error message to get- Overrides:
getErrorMessageTagin classChainItem<XmlSubXCV>- Returns:
MessageTagkey
-
getFailedIndicationForConclusion
Description copied from class:ChainItemGets an Indication in case of failure- Specified by:
getFailedIndicationForConclusionin classChainItem<XmlSubXCV>- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItemGets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusionin classChainItem<XmlSubXCV>- Returns:
SubIndication
-