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 boolean
Checks whether the legal person identifiers withinTrustedServiceWrapper
are consistentstatic boolean
Checks whether the qualifiers and additional service information before eIDAS withinTrustedServiceWrapper
are consistentstatic boolean
Checks whether the statuses before eIDAS withinTrustedServiceWrapper
are consistentstatic boolean
Checks whether the QC statement identifiers withinTrustedServiceWrapper
are consistentstatic boolean
isQSCDConsistent
(TrustedServiceWrapper service) Checks whether the QSCD identifiers withinTrustedServiceWrapper
are consistentstatic boolean
Checks whether the QSCD as in cert identifier withinTrustedServiceWrapper
is consistentstatic boolean
Checks whether the qualifiers and additional service information are consistentstatic boolean
isUsageConsistent
(TrustedServiceWrapper service) Checks whether the usage type identifiers withinTrustedServiceWrapper
are consistent
-
Method Details
-
isLegalPersonConsistent
Checks whether the legal person identifiers withinTrustedServiceWrapper
are consistent- Parameters:
service
-TrustedServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQCStatementConsistent
Checks whether the QC statement identifiers withinTrustedServiceWrapper
are consistent- Parameters:
service
-TrustedServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQSCDConsistent
Checks whether the QSCD identifiers withinTrustedServiceWrapper
are consistent- Parameters:
service
-TrustedServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQSCDStatusAsInCertConsistent
Checks whether the QSCD as in cert identifier withinTrustedServiceWrapper
is consistent- Parameters:
service
-TrustedServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isUsageConsistent
Checks whether the usage type identifiers withinTrustedServiceWrapper
are consistent- Parameters:
service
-TrustedServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isPreEIDASStatusConsistent
Checks whether the statuses before eIDAS withinTrustedServiceWrapper
are 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 withinTrustedServiceWrapper
are 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
-