Class ExtendedKeyUsageCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.bbb.AbstractMultiValuesCheckItem<XmlSubXCV>
eu.europa.esig.dss.validation.process.bbb.xcv.sub.checks.ExtendedKeyUsageCheck
Checks if the extended key usage is acceptable
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ConstructorDescriptionExtendedKeyUsageCheck
(I18nProvider i18nProvider, XmlSubXCV result, CertificateWrapper certificate, Context context, SubContext subContext, MultiValuesConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Builds an additional informationprotected XmlMessage
Builds an error messageprotected Indication
Gets an Indication in case of failureprotected SubIndication
Gets a SubIndication in case of failureprotected MessageTag
Returns an i18n key String of a message to getprotected boolean
process()
Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.bbb.AbstractMultiValuesCheckItem
processValueCheck, processValuesCheck
Methods 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(I18nProvider i18nProvider, XmlSubXCV result, CertificateWrapper certificate, Context context, SubContext subContext, MultiValuesConstraint constraint) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
- the resultcertificate
-CertificateWrapper
context
-Context
subContext
-SubContext
constraint
-MultiValuesConstraint
-
-
Method Details
-
process
protected boolean process()Description copied from class:ChainItem
Performs the check -
buildAdditionalInfo
Description copied from class:ChainItem
Builds an additional information- Overrides:
buildAdditionalInfo
in classChainItem<XmlSubXCV>
- Returns:
String
-
getMessageTag
Description copied from class:ChainItem
Returns an i18n key String of a message to get- Overrides:
getMessageTag
in classChainItem<XmlSubXCV>
- Returns:
MessageTag
key
-
buildErrorMessage
Description copied from class:ChainItem
Builds an error message- Overrides:
buildErrorMessage
in classChainItem<XmlSubXCV>
- Returns:
XmlMessage
-
getFailedIndicationForConclusion
Description copied from class:ChainItem
Gets an Indication in case of failure- Specified by:
getFailedIndicationForConclusion
in classChainItem<XmlSubXCV>
- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItem
Gets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusion
in classChainItem<XmlSubXCV>
- Returns:
SubIndication
-