Interface HasTruststore

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

public interface HasTruststore extends IScopeProvider
marker interface with default behaviour to set values in the TruststoreConfiguration object. The goal is to only support 'setTruststoreConfiguration' in the future instead of all the ReferTo methods, but for now we want to support both ways of setting the keystore values.
  • Method Details

    • createTruststoreConfiguration

      default TruststoreConfiguration createTruststoreConfiguration()
      creates a new, empty TruststoreConfiguration instance
    • setTruststoreConfiguration

      void setTruststoreConfiguration(TruststoreConfiguration truststoreConfiguration)
    • getTruststoreConfiguration

      TruststoreConfiguration getTruststoreConfiguration()
    • getTruststore

      default String getTruststore()
    • getTruststoreType

      default KeystoreType getTruststoreType()
    • getTruststoreAuthAlias

      default String getTruststoreAuthAlias()
    • getTruststorePassword

      default String getTruststorePassword()
    • getTrustManagerAlgorithm

      default String getTrustManagerAlgorithm()
    • isVerifyHostname

      default boolean isVerifyHostname()
    • isAllowSelfSignedCertificates

      default boolean isAllowSelfSignedCertificates()
    • isIgnoreCertificateExpiredException

      default boolean isIgnoreCertificateExpiredException()
    • setTruststore

      default void setTruststore(String truststore)
      Resource url to truststore. If none specified, the JVMs default truststore will be used.
      See Also:
      • invalid reference
        TruststoreConfiguration#setTruststoreResource(String)
    • setTruststoreType

      @ReferTo(TruststoreConfiguration.class) default void setTruststoreType(KeystoreType truststoreType)
    • setTruststoreAuthAlias

      @ReferTo(TruststoreConfiguration.class) default void setTruststoreAuthAlias(String truststoreAuthAlias)
    • setTruststorePassword

      @ReferTo(TruststoreConfiguration.class) default void setTruststorePassword(String truststorePassword)
    • setTrustManagerAlgorithm

      @ReferTo(TruststoreConfiguration.class) default void setTrustManagerAlgorithm(String trustManagerAlgorithm)
    • setVerifyHostname

      @ReferTo(TruststoreConfiguration.class) @Unsafe default void setVerifyHostname(boolean verifyHostname)
    • setAllowSelfSignedCertificates

      @ReferTo(TruststoreConfiguration.class) @Unsafe default void setAllowSelfSignedCertificates(boolean allowSelfSignedCertificates)
    • setIgnoreCertificateExpiredException

      @ReferTo(TruststoreConfiguration.class) @Unsafe default void setIgnoreCertificateExpiredException(boolean ignoreCertificateExpiredException)