Class TrustedServiceChecker
java.lang.Object
eu.europa.esig.dss.validation.process.qualification.trust.consistency.TrustedServiceChecker
Contain util method to check validity of the
TrustedServiceWrapper-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks whether the legal person identifiers withinTrustedServiceWrapperare consistentstatic booleanChecks whether the qualifiers and additional service information before eIDAS withinTrustedServiceWrapperare consistentstatic booleanChecks whether the statuses before eIDAS withinTrustedServiceWrapperare consistentstatic booleanChecks whether the QC statement identifiers withinTrustedServiceWrapperare consistentstatic booleanisQSCDConsistent(TrustedServiceWrapper service) Checks whether the QSCD identifiers withinTrustedServiceWrapperare consistentstatic booleanChecks whether the QSCD as in cert identifier withinTrustedServiceWrapperis consistentstatic booleanChecks whether the qualifiers and additional service information are consistentstatic booleanisUsageConsistent(TrustedServiceWrapper service) Checks whether the usage type identifiers withinTrustedServiceWrapperare consistent
-
Method Details
-
isLegalPersonConsistent
Checks whether the legal person identifiers withinTrustedServiceWrapperare consistent- Parameters:
service-TrustedServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQCStatementConsistent
Checks whether the QC statement identifiers withinTrustedServiceWrapperare consistent- Parameters:
service-TrustedServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQSCDConsistent
Checks whether the QSCD identifiers withinTrustedServiceWrapperare consistent- Parameters:
service-TrustedServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQSCDStatusAsInCertConsistent
Checks whether the QSCD as in cert identifier withinTrustedServiceWrapperis consistent- Parameters:
service-TrustedServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isUsageConsistent
Checks whether the usage type identifiers withinTrustedServiceWrapperare consistent- Parameters:
service-TrustedServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isPreEIDASStatusConsistent
Checks whether the statuses before eIDAS withinTrustedServiceWrapperare consistent- Parameters:
service-TrustedServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isPreEIDASQualifierAndAdditionalServiceInfoConsistent
public static boolean isPreEIDASQualifierAndAdditionalServiceInfoConsistent(TrustedServiceWrapper service) Checks whether the qualifiers and additional service information before eIDAS withinTrustedServiceWrapperare consistent- Parameters:
service-TrustedServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQualifierAndAdditionalServiceInfoConsistent
Checks whether the qualifiers and additional service information are consistent- Parameters:
service-TrustedServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-