Class CertificateIssuedToNaturalPersonCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlSubXCV>
eu.europa.esig.dss.validation.process.bbb.xcv.sub.checks.CertificateIssuedToNaturalPersonCheck
public class CertificateIssuedToNaturalPersonCheck extends ChainItem<XmlSubXCV>
Checks if the certificate has been issued to a natural person
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
Constructors Constructor Description CertificateIssuedToNaturalPersonCheck(I18nProvider i18nProvider, XmlSubXCV result, CertificateWrapper certificate, LevelConstraint constraint)
Default constructor -
Method Summary
Modifier and Type Method Description protected MessageTag
getErrorMessageTag()
Returns an i18n key String of an error message to getprotected Indication
getFailedIndicationForConclusion()
Gets an Indication in case of failureprotected SubIndication
getFailedSubIndicationForConclusion()
Gets a SubIndication in case of failureprotected MessageTag
getMessageTag()
Returns an i18n key String of a message to getprotected boolean
process()
Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlName, execute, getAdditionalInfo, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
CertificateIssuedToNaturalPersonCheck
public CertificateIssuedToNaturalPersonCheck(I18nProvider i18nProvider, XmlSubXCV result, CertificateWrapper certificate, LevelConstraint constraint)Default constructor- Parameters:
i18nProvider
-I18nProvider
result
- the resultcertificate
-CertificateWrapper
constraint
-LevelConstraint
-
-
Method Details
-
process
protected boolean process()Description copied from class:ChainItem
Performs the check -
getMessageTag
Description copied from class:ChainItem
Returns an i18n key String of a message to get- Overrides:
getMessageTag
in classChainItem<XmlSubXCV>
- Returns:
MessageTag
key
-
getErrorMessageTag
Description copied from class:ChainItem
Returns an i18n key String of an error message to get- Overrides:
getErrorMessageTag
in classChainItem<XmlSubXCV>
- Returns:
MessageTag
key
-
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
-