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 booleanChecks whether the legal person identifiers withinTrustServiceWrapperare consistentstatic booleanChecks whether the QSCD identifiers withinTrustServiceWrapperare consistent for post eIDASstatic booleanChecks whether the qualifiers and additional service information before eIDAS withinTrustServiceWrapperare consistentstatic booleanChecks whether the statuses before eIDAS withinTrustServiceWrapperare consistentstatic booleanChecks whether the QC statement identifiers withinTrustServiceWrapperare consistentstatic booleanisQSCDConsistent(TrustServiceWrapper service) Checks whether the QSCD identifiers withinTrustServiceWrapperare consistentstatic booleanChecks whether the QSCD as in cert identifier withinTrustServiceWrapperis consistentstatic booleanChecks whether the qualifiers and additional service information are consistentstatic booleanChecks whether the found qualifiers are known bye the applicationstatic booleanisUsageConsistent(TrustServiceWrapper service) Checks whether the usage type identifiers withinTrustServiceWrapperare consistent
-
Method Details
-
isLegalPersonConsistent
Checks whether the legal person identifiers withinTrustServiceWrapperare consistent- Parameters:
service-TrustServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQCStatementConsistent
Checks whether the QC statement identifiers withinTrustServiceWrapperare consistent- Parameters:
service-TrustServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQSCDConsistent
Checks whether the QSCD identifiers withinTrustServiceWrapperare consistent- Parameters:
service-TrustServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQSCDStatusAsInCertConsistent
Checks whether the QSCD as in cert identifier withinTrustServiceWrapperis consistent- Parameters:
service-TrustServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isPostEIDASQSCDConsistent
Checks whether the QSCD identifiers withinTrustServiceWrapperare 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 withinTrustServiceWrapperare consistent- Parameters:
service-TrustServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isPreEIDASStatusConsistent
Checks whether the statuses before eIDAS withinTrustServiceWrapperare 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 withinTrustServiceWrapperare 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
-