Class CertificateQcCCLegislationCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSubXCV>
eu.europa.esig.dss.validation.process.bbb.AbstractMultiValuesCheckItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSubXCV>
eu.europa.esig.dss.validation.process.bbb.xcv.sub.checks.CertificateQcCCLegislationCheck
public class CertificateQcCCLegislationCheck
extends AbstractMultiValuesCheckItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSubXCV>
Checks if the country code or set of country codes defined in QcCCLegislation is supported by the policy
-
Field Summary
Fields inherited from class ChainItem
i18nProvider -
Constructor Summary
ConstructorsConstructorDescriptionCertificateQcCCLegislationCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, eu.europa.esig.dss.detailedreport.jaxb.XmlSubXCV result, eu.europa.esig.dss.diagnostic.CertificateWrapper certificate, eu.europa.esig.dss.model.policy.MultiValuesRule constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected eu.europa.esig.dss.i18n.MessageTagReturns an i18n key String of an error message to getprotected eu.europa.esig.dss.enumerations.IndicationGets an Indication in case of failureprotected eu.europa.esig.dss.enumerations.SubIndicationGets a SubIndication in case of failureprotected eu.europa.esig.dss.i18n.MessageTagReturns an i18n key String of a message to getprotected booleanprocess()Performs the checkMethods inherited from class AbstractMultiValuesCheckItem
processValueCheck, processValuesCheckMethods inherited from class ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlMessage, continueProcessOnFail, execute, getAdditionalInfo, getBlockType, getLevel, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
CertificateQcCCLegislationCheck
public CertificateQcCCLegislationCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, eu.europa.esig.dss.detailedreport.jaxb.XmlSubXCV result, eu.europa.esig.dss.diagnostic.CertificateWrapper certificate, eu.europa.esig.dss.model.policy.MultiValuesRule constraint) Default constructor- Parameters:
i18nProvider-I18nProviderresult- the resultcertificate-CertificateWrapperconstraint-MultiValuesRule
-
-
Method Details
-
process
-
getMessageTag
protected eu.europa.esig.dss.i18n.MessageTag getMessageTag()Description copied from class:ChainItemReturns an i18n key String of a message to get- Overrides:
getMessageTagin classChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSubXCV>- Returns:
MessageTagkey
-
getErrorMessageTag
protected eu.europa.esig.dss.i18n.MessageTag getErrorMessageTag()Description copied from class:ChainItemReturns an i18n key String of an error message to get- Overrides:
getErrorMessageTagin classChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSubXCV>- Returns:
MessageTagkey
-
getFailedIndicationForConclusion
protected eu.europa.esig.dss.enumerations.Indication getFailedIndicationForConclusion()Description copied from class:ChainItemGets an Indication in case of failure- Specified by:
getFailedIndicationForConclusionin classChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSubXCV>- Returns:
Indication
-
getFailedSubIndicationForConclusion
protected eu.europa.esig.dss.enumerations.SubIndication getFailedSubIndicationForConclusion()Description copied from class:ChainItemGets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusionin classChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSubXCV>- Returns:
SubIndication
-