Module jpms_dss_validation
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 booleanisLegalPersonConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the legal person identifiers withinTrustServiceWrapperare consistentstatic booleanisPostEIDASQSCDConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the QSCD identifiers withinTrustServiceWrapperare consistent for post eIDASstatic booleanisPreEIDASQualifierAndAdditionalServiceInfoConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the qualifiers and additional service information before eIDAS withinTrustServiceWrapperare consistentstatic booleanisPreEIDASStatusConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the statuses before eIDAS withinTrustServiceWrapperare consistentstatic booleanisQCStatementConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the QC statement identifiers withinTrustServiceWrapperare consistentstatic booleanisQSCDConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the QSCD identifiers withinTrustServiceWrapperare consistentstatic booleanisQSCDStatusAsInCertConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the QSCD as in cert identifier withinTrustServiceWrapperis consistentstatic booleanisQualifierAndAdditionalServiceInfoConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the qualifiers and additional service information are consistentstatic booleanisQualifiersListKnownConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the found qualifiers are known bye the applicationstatic booleanisUsageConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the usage type identifiers withinTrustServiceWrapperare consistent
-
Method Details
-
isLegalPersonConsistent
public static boolean isLegalPersonConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the legal person identifiers withinTrustServiceWrapperare consistent- Parameters:
service-TrustServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQCStatementConsistent
public static boolean isQCStatementConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the QC statement identifiers withinTrustServiceWrapperare consistent- Parameters:
service-TrustServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQSCDConsistent
public static boolean isQSCDConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the QSCD identifiers withinTrustServiceWrapperare consistent- Parameters:
service-TrustServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQSCDStatusAsInCertConsistent
public static boolean isQSCDStatusAsInCertConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the QSCD as in cert identifier withinTrustServiceWrapperis consistent- Parameters:
service-TrustServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isPostEIDASQSCDConsistent
public static boolean isPostEIDASQSCDConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the QSCD identifiers withinTrustServiceWrapperare consistent for post eIDAS- Parameters:
service-TrustServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isQualifiersListKnownConsistent
public static boolean isQualifiersListKnownConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the found qualifiers are known bye the application- Parameters:
service-TrustServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isUsageConsistent
public static boolean isUsageConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the usage type identifiers withinTrustServiceWrapperare consistent- Parameters:
service-TrustServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-
isPreEIDASStatusConsistent
public static boolean isPreEIDASStatusConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) 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(eu.europa.esig.dss.diagnostic.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
public static boolean isQualifierAndAdditionalServiceInfoConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service) Checks whether the qualifiers and additional service information are consistent- Parameters:
service-TrustServiceWrapper- Returns:
- TRUE if the Trusted Service is consistent, FALSE otherwise
-