java.lang.Object
eu.europa.esig.dss.validation.process.qualification.trust.consistency.TrustedServiceChecker

public final class TrustedServiceChecker extends Object
Contain util method to check validity of the TrustedServiceWrapper
  • Method Details

    • isLegalPersonConsistent

      public static boolean isLegalPersonConsistent(TrustedServiceWrapper service)
      Checks whether the legal person identifiers within TrustedServiceWrapper are consistent
      Parameters:
      service - TrustedServiceWrapper
      Returns:
      TRUE if the Trusted Service is consistent, FALSE otherwise
    • isQCStatementConsistent

      public static boolean isQCStatementConsistent(TrustedServiceWrapper service)
      Checks whether the QC statement identifiers within TrustedServiceWrapper are consistent
      Parameters:
      service - TrustedServiceWrapper
      Returns:
      TRUE if the Trusted Service is consistent, FALSE otherwise
    • isQSCDConsistent

      public static boolean isQSCDConsistent(TrustedServiceWrapper service)
      Checks whether the QSCD identifiers within TrustedServiceWrapper are consistent
      Parameters:
      service - TrustedServiceWrapper
      Returns:
      TRUE if the Trusted Service is consistent, FALSE otherwise
    • isQSCDStatusAsInCertConsistent

      public static boolean isQSCDStatusAsInCertConsistent(TrustedServiceWrapper service)
      Checks whether the QSCD as in cert identifier within TrustedServiceWrapper is consistent
      Parameters:
      service - TrustedServiceWrapper
      Returns:
      TRUE if the Trusted Service is consistent, FALSE otherwise
    • isUsageConsistent

      public static boolean isUsageConsistent(TrustedServiceWrapper service)
      Checks whether the usage type identifiers within TrustedServiceWrapper are consistent
      Parameters:
      service - TrustedServiceWrapper
      Returns:
      TRUE if the Trusted Service is consistent, FALSE otherwise
    • isPreEIDASStatusConsistent

      public static boolean isPreEIDASStatusConsistent(TrustedServiceWrapper service)
      Checks whether the statuses before eIDAS within TrustedServiceWrapper 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 within TrustedServiceWrapper are consistent
      Parameters:
      service - TrustedServiceWrapper
      Returns:
      TRUE if the Trusted Service is consistent, FALSE otherwise
    • isQualifierAndAdditionalServiceInfoConsistent

      public static boolean isQualifierAndAdditionalServiceInfoConsistent(TrustedServiceWrapper service)
      Checks whether the qualifiers and additional service information are consistent
      Parameters:
      service - TrustedServiceWrapper
      Returns:
      TRUE if the Trusted Service is consistent, FALSE otherwise