Class TrustServiceChecker

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

public final class TrustServiceChecker extends Object
Contain util method to check validity of the TrustServiceWrapper
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isLegalPersonConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
    Checks whether the legal person identifiers within TrustServiceWrapper are consistent
    static boolean
    isPostEIDASQSCDConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
    Checks whether the QSCD identifiers within TrustServiceWrapper are consistent for post eIDAS
    static boolean
    isPreEIDASQualifierAndAdditionalServiceInfoConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
    Checks whether the qualifiers and additional service information before eIDAS within TrustServiceWrapper are consistent
    static boolean
    isPreEIDASStatusConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
    Checks whether the statuses before eIDAS within TrustServiceWrapper are consistent
    static boolean
    isQCStatementConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
    Checks whether the QC statement identifiers within TrustServiceWrapper are consistent
    static boolean
    isQSCDConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
    Checks whether the QSCD identifiers within TrustServiceWrapper are consistent
    static boolean
    isQSCDStatusAsInCertConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
    Checks whether the QSCD as in cert identifier within TrustServiceWrapper is consistent
    static boolean
    isQualifierAndAdditionalServiceInfoConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
    Checks whether the qualifiers and additional service information are consistent
    static boolean
    isQualifiersListKnownConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
    Checks whether the found qualifiers are known bye the application
    static boolean
    isUsageConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
    Checks whether the usage type identifiers within TrustServiceWrapper are consistent

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • isLegalPersonConsistent

      public static boolean isLegalPersonConsistent(eu.europa.esig.dss.diagnostic.TrustServiceWrapper service)
      Checks whether the legal person identifiers within TrustServiceWrapper are 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 within TrustServiceWrapper are 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 within TrustServiceWrapper are 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 within TrustServiceWrapper is 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 within TrustServiceWrapper are 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 within TrustServiceWrapper are 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 within TrustServiceWrapper are 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 within TrustServiceWrapper are 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