Interface HasTruststore

All Superinterfaces:
IScopeProvider
All Known Subinterfaces:
FtpFileSystemDelegator
All Known Implementing Classes:
AbstractHttpSender, AbstractHttpSession, CmisHttpSender, CmisSender, ExchangeFileSystem, FtpFileSystem, FtpFileSystemListener, FtpFileSystemSender, FtpSession, HttpSender, HttpSession, MsalClientAdapter, NetStorageSender, SendGridSender, WebServiceSender

public interface HasTruststore extends IScopeProvider
  • Method Details Link icon

    • getTruststore Link icon

      String getTruststore()
    • getTruststoreType Link icon

      KeystoreType getTruststoreType()
    • getTruststoreAuthAlias Link icon

      String getTruststoreAuthAlias()
    • getTruststorePassword Link icon

      String getTruststorePassword()
    • getTrustManagerAlgorithm Link icon

      String getTrustManagerAlgorithm()
    • isVerifyHostname Link icon

      boolean isVerifyHostname()
    • isAllowSelfSignedCertificates Link icon

      boolean isAllowSelfSignedCertificates()
    • isIgnoreCertificateExpiredException Link icon

      boolean isIgnoreCertificateExpiredException()
    • setTruststore Link icon

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

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

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

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

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

      @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 Link icon

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

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