Interface GenericValidator<T>

Type Parameters:
T -
All Known Subinterfaces:
ArtifactResponseValidator, AssertionValidator, ResponseValidator
All Known Implementing Classes:
ArtifactResponseValidatorImpl, AssertionValidatorImpl, ResponseValidatorImpl

public interface GenericValidator<T>
Interface describing the generic Methods for the validation of Assertions.
Interface welches die generischen Methoden für die Validierung von Assertions beschreibt.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setTrustStore(KeyStore trustStore, String password)
    Method to set the KeyStore with the keys/certificates used for the Validation. Methode um den KeyStore mit den Schlüsseln und Zertifikaten für die Validierung zu setzen.
    void
    validate(T aType, String aAlias)
    Method to validate the instance of type T Methode um die Instanz vom Typ T zu validieren
  • Method Details

    • setTrustStore

      void setTrustStore(KeyStore trustStore, String password)
      Method to set the KeyStore with the keys/certificates used for the Validation.
      Methode um den KeyStore mit den Schlüsseln und Zertifikaten für die Validierung zu setzen.
      Parameters:
      trustStore -
      the truststore
      Der truststore
      password -
      the password for the store/key
      Das Passwort für den Store/Key
    • validate

      void validate(T aType, String aAlias) throws ValidationException
      Method to validate the instance of type T
      Methode um die Instanz vom Typ T zu validieren
      Parameters:
      aType -
      the instance of type T
      die Instanz vom Typ T
      aAlias -
      the the alias of the key
      der Alias des Keys der gebraucht werden soll
      Throws:
      ValidationException -
      will be thrown when an error occures while validating the instance of type T
      wird geworfen wenn ein Fehler beim Validieren der Instance von T auftreten