Interface HasTruststore

All Superinterfaces:
IScopeProvider
All Known Implementing Classes:
AbstractHttpSender, AbstractHttpSession, HttpSender, HttpSession, MultipartHttpSender, RestSender, SendGridSender, WebServiceSender

public interface HasTruststore extends IScopeProvider
  • Method Details

    • getTruststore

      String getTruststore()
    • getTruststoreType

      KeystoreType getTruststoreType()
    • getTruststoreAuthAlias

      String getTruststoreAuthAlias()
    • getTruststorePassword

      String getTruststorePassword()
    • getTrustManagerAlgorithm

      String getTrustManagerAlgorithm()
    • isVerifyHostname

      boolean isVerifyHostname()
    • isAllowSelfSignedCertificates

      boolean isAllowSelfSignedCertificates()
    • isIgnoreCertificateExpiredException

      boolean isIgnoreCertificateExpiredException()
    • setTruststore

      void setTruststore(String truststore)
      Resource url to truststore. If none specified, the JVMs default truststore will be used.
    • setTruststoreType

      void setTruststoreType(KeystoreType truststoreType)
      Type of truststore
      Default value
      jks
    • setTruststoreAuthAlias

      void setTruststoreAuthAlias(String truststoreAuthAlias)
      Authentication alias used to obtain truststore password
    • setTruststorePassword

      void setTruststorePassword(String truststorePassword)
      Default password to access truststore
    • setTrustManagerAlgorithm

      void setTrustManagerAlgorithm(String trustManagerAlgorithm)
      Trust manager algorithm. Can be left empty to use the servers default algorithm
    • setVerifyHostname

      @Unsafe void setVerifyHostname(boolean verifyHostname)
      If true, the hostname in the certificate will be checked against the actual hostname of the peer
      Default value
      false
    • setAllowSelfSignedCertificates

      @Unsafe void setAllowSelfSignedCertificates(boolean allowSelfSignedCertificates)
      If true, self signed certificates are accepted
      Default value
      false
    • setIgnoreCertificateExpiredException

      @Unsafe void setIgnoreCertificateExpiredException(boolean ignoreCertificateExpiredException)
      If true, CertificateExpiredExceptions are ignored
      Default value
      false