public class SSLContextBuilder extends Object
Constructor and Description |
---|
SSLContextBuilder() |
Modifier and Type | Method and Description |
---|---|
SSLContext |
build() |
static SSLContext |
defaultSSLContext() |
static SSLContextBuilder |
sslContext() |
static SSLContext |
unsignedLocalhostCert() |
SSLContextBuilder |
withKeyPassword(char[] keyPassword) |
SSLContextBuilder |
withKeyPassword(String keyPassword) |
SSLContextBuilder |
withKeystore(File file) |
SSLContextBuilder |
withKeystore(InputStream keystoreStream) |
SSLContextBuilder |
withKeystoreFromClasspath(String classpath) |
SSLContextBuilder |
withKeystorePassword(char[] keystorePassword) |
SSLContextBuilder |
withKeystorePassword(String keystorePassword) |
SSLContextBuilder |
withKeystoreType(String keystoreType) |
public SSLContextBuilder withKeystoreType(String keystoreType)
public SSLContextBuilder withKeyPassword(String keyPassword)
public SSLContextBuilder withKeystorePassword(String keystorePassword)
public SSLContextBuilder withKeyPassword(char[] keyPassword)
public SSLContextBuilder withKeystorePassword(char[] keystorePassword)
public SSLContextBuilder withKeystore(InputStream keystoreStream)
public SSLContextBuilder withKeystore(File file)
public SSLContextBuilder withKeystoreFromClasspath(String classpath)
public SSLContext build()
public static SSLContextBuilder sslContext()
public static SSLContext defaultSSLContext()
public static SSLContext unsignedLocalhostCert()
Copyright © 2017–2019. All rights reserved.