Interface SSLContextService

All Superinterfaces:
ConfigurableComponent, ControllerService
All Known Subinterfaces:
RestrictedSSLContextService

@Tags({"ssl","secure","certificate","keystore","truststore","jks","p12","pkcs12","pkcs"}) @CapabilityDescription("Provides the ability to configure keystore and/or truststore properties once and reuse that configuration throughout the application") public interface SSLContextService extends ControllerService
Definition for SSLContextService.
  • Method Details

    • createTlsConfiguration

      TlsConfiguration createTlsConfiguration()
    • createContext

      SSLContext createContext()
      Create and initialize SSLContext using configured properties. This method is preferred over deprecated create methods due to not requiring a client authentication policy.
      Returns:
      SSLContext initialized using configured properties
    • createTrustManager

      X509TrustManager createTrustManager()
      Create X.509 Trust Manager using configured properties
      Returns:
      X509TrustManager initialized using configured properties
    • getTrustStoreFile

      String getTrustStoreFile()
    • getTrustStoreType

      String getTrustStoreType()
    • getTrustStorePassword

      String getTrustStorePassword()
    • isTrustStoreConfigured

      boolean isTrustStoreConfigured()
    • getKeyStoreFile

      String getKeyStoreFile()
    • getKeyStoreType

      String getKeyStoreType()
    • getKeyStorePassword

      String getKeyStorePassword()
    • getKeyPassword

      String getKeyPassword()
    • isKeyStoreConfigured

      boolean isKeyStoreConfigured()
    • getSslAlgorithm

      String getSslAlgorithm()