Module jpms_dss_validation
Class ExtendedKeyUsageCheck
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.ExtendedKeyUsageCheck
public class ExtendedKeyUsageCheck
extends AbstractMultiValuesCheckItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSubXCV>
Checks if the extended key usage is acceptable
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider -
Constructor Summary
ConstructorsConstructorDescriptionExtendedKeyUsageCheck(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.enumerations.Context context, eu.europa.esig.dss.policy.SubContext subContext, eu.europa.esig.dss.policy.jaxb.MultiValuesConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBuilds an additional informationprotected eu.europa.esig.dss.detailedreport.jaxb.XmlMessageBuilds an error messageprotected 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 eu.europa.esig.dss.validation.process.bbb.AbstractMultiValuesCheckItem
processValueCheck, processValuesCheckMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildConstraintMessage, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getErrorMessageTag, getLevel, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
ExtendedKeyUsageCheck
public ExtendedKeyUsageCheck(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.enumerations.Context context, eu.europa.esig.dss.policy.SubContext subContext, eu.europa.esig.dss.policy.jaxb.MultiValuesConstraint constraint) Default constructor- Parameters:
i18nProvider-I18nProviderresult- the resultcertificate-CertificateWrappercontext-ContextsubContext-SubContextconstraint-MultiValuesConstraint
-
-
Method Details
-
process
-
buildAdditionalInfo
Description copied from class:ChainItemBuilds an additional information- Overrides:
buildAdditionalInfoin classChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSubXCV>- Returns:
String
-
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
-
buildErrorMessage
protected eu.europa.esig.dss.detailedreport.jaxb.XmlMessage buildErrorMessage()Description copied from class:ChainItemBuilds an error message- Overrides:
buildErrorMessagein classChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSubXCV>- Returns:
XmlMessage
-
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
-