Class TrustServiceChecker
java.lang.Object
eu.europa.esig.dss.validation.process.qualification.trust.consistency.TrustServiceChecker
Contain util method to check validity of the
TrustServiceWrapper
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Checks whether the legal person identifiers withinTrustServiceWrapper
are consistentstatic boolean
Checks whether the QSCD identifiers withinTrustServiceWrapper
are consistent for post eIDASstatic boolean
Checks whether the qualifiers and additional service information before eIDAS withinTrustServiceWrapper
are consistentstatic boolean
Checks whether the statuses before eIDAS withinTrustServiceWrapper
are consistentstatic boolean
Checks whether the QC statement identifiers withinTrustServiceWrapper
are consistentstatic boolean
isQSCDConsistent
(TrustServiceWrapper service) Checks whether the QSCD identifiers withinTrustServiceWrapper
are consistentstatic boolean
Checks whether the QSCD as in cert identifier withinTrustServiceWrapper
is consistentstatic boolean
Checks whether the qualifiers and additional service information are consistentstatic boolean
Checks whether the found qualifiers are known bye the applicationstatic boolean
isUsageConsistent
(TrustServiceWrapper service) Checks whether the usage type identifiers withinTrustServiceWrapper
are consistent
-
Method Details
-
isLegalPersonConsistent
Checks whether the legal person identifiers withinTrustServiceWrapper
are consistent- Parameters:
service
-TrustServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQCStatementConsistent
Checks whether the QC statement identifiers withinTrustServiceWrapper
are consistent- Parameters:
service
-TrustServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQSCDConsistent
Checks whether the QSCD identifiers withinTrustServiceWrapper
are consistent- Parameters:
service
-TrustServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQSCDStatusAsInCertConsistent
Checks whether the QSCD as in cert identifier withinTrustServiceWrapper
is consistent- Parameters:
service
-TrustServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isPostEIDASQSCDConsistent
Checks whether the QSCD identifiers withinTrustServiceWrapper
are consistent for post eIDAS- Parameters:
service
-TrustServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQualifiersListKnownConsistent
Checks whether the found qualifiers are known bye the application- Parameters:
service
-TrustServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isUsageConsistent
Checks whether the usage type identifiers withinTrustServiceWrapper
are consistent- Parameters:
service
-TrustServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isPreEIDASStatusConsistent
Checks whether the statuses before eIDAS withinTrustServiceWrapper
are consistent- Parameters:
service
-TrustServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isPreEIDASQualifierAndAdditionalServiceInfoConsistent
public static boolean isPreEIDASQualifierAndAdditionalServiceInfoConsistent(TrustServiceWrapper service) Checks whether the qualifiers and additional service information before eIDAS withinTrustServiceWrapper
are consistent- Parameters:
service
-TrustServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQualifierAndAdditionalServiceInfoConsistent
Checks whether the qualifiers and additional service information are consistent- Parameters:
service
-TrustServiceWrapper
- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-