org.springframework.boot.context.embedded

Interface SslStoreProvider



  • public interface SslStoreProvider
    Interface to provide SSL key stores for an EmbeddedServletContainer to use. Can be used when file based key stores cannot be used.
    Since:
    1.4.0
    Author:
    Phillip Webb
    • Method Detail

      • getKeyStore

        KeyStore getKeyStore()
                      throws Exception
        Return the key store that should be used.
        Returns:
        the key store to use
        Throws:
        Exception - on load error
      • getTrustStore

        KeyStore getTrustStore()
                        throws Exception
        Return the trust store that should be used.
        Returns:
        the trust store to use
        Throws:
        Exception - on load error

Copyright © 2016 Pivotal Software, Inc.. All rights reserved.