Interface SslStoreProvider

All Known Implementing Classes:
CertificateFileSslStoreProvider

@Deprecated(since="3.1.0", forRemoval=true) public interface SslStoreProvider
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.1.0 for removal in 3.3.0 in favor of registering an SslBundle.
Interface to provide SSL key stores for an WebServer to use. Can be used when file based key stores cannot be used.
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Return the password of the private key in the key store.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Return the key store that should be used.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Return the trust store that should be used.
  • Method Details

    • getKeyStore

      KeyStore getKeyStore() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Return the key store that should be used.
      Returns:
      the key store to use
      Throws:
      Exception - on load error
    • getTrustStore

      KeyStore getTrustStore() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Return the trust store that should be used.
      Returns:
      the trust store to use
      Throws:
      Exception - on load error
    • getKeyPassword

      default String getKeyPassword()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Return the password of the private key in the key store.
      Returns:
      the key password
      Since:
      2.7.2