Interface ITlsConnectionTestContext


  • public interface ITlsConnectionTestContext
    Interface representing the context for testing TLS connections based on an SSLContext. This interface provides methods to retrieve the SSL context, check the status of the last trust validation, and access any certificates captured during the last trust validation.
    Since:
    8.5.0
    Author:
    Norman Lorenz
    • Method Detail

      • getLastClientTrustValidationResult

        TrustValidationResult getLastClientTrustValidationResult()
        Retrieves the result of the last client trust validation, which includes details about the captured certificates and whether the validation passed.
        Returns:
        An TrustValidationResult containing the results of the last client trust validation, or null if no validation has been performed yet on the SSLContext.
        See Also:
        getSSLContext()
      • getLastServerTrustValidationResult

        TrustValidationResult getLastServerTrustValidationResult()
        Retrieves the result of the last server trust validation, which includes details about the captured certificates and whether the validation passed.
        Returns:
        An TrustValidationResult containing the results of the last server trust validation, or null if no validation has been performed yet on the SSLContext.
        See Also:
        getSSLContext()