Class SelfSignedSslEngineSource

java.lang.Object
org.littleshoot.proxy.extras.SelfSignedSslEngineSource
All Implemented Interfaces:
SslEngineSource

public class SelfSignedSslEngineSource extends Object implements SslEngineSource
Basic SslEngineSource for testing. The SSLContext uses self-signed certificates that are generated lazily if the given key store file doesn't yet exist.
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
    • PROTOCOL

      private static final String PROTOCOL
      See Also:
    • alias

      private final String alias
    • password

      private final String password
    • keyStoreFile

      private final String keyStoreFile
    • trustAllServers

      private final boolean trustAllServers
    • sendCerts

      private final boolean sendCerts
    • sslContext

      private SSLContext sslContext
  • Constructor Details

    • SelfSignedSslEngineSource

      public SelfSignedSslEngineSource(String keyStorePath, boolean trustAllServers, boolean sendCerts, String alias, String password)
    • SelfSignedSslEngineSource

      public SelfSignedSslEngineSource(String keyStorePath, boolean trustAllServers, boolean sendCerts)
    • SelfSignedSslEngineSource

      public SelfSignedSslEngineSource(String keyStorePath)
    • SelfSignedSslEngineSource

      public SelfSignedSslEngineSource(boolean trustAllServers)
    • SelfSignedSslEngineSource

      public SelfSignedSslEngineSource(boolean trustAllServers, boolean sendCerts)
    • SelfSignedSslEngineSource

      public SelfSignedSslEngineSource()
  • Method Details