public class SslContextBuilders extends Object
| 构造器和说明 |
|---|
SslContextBuilders() |
| 限定符和类型 | 方法和说明 |
|---|---|
static io.netty.handler.ssl.SslContext |
newSslContext(io.netty.handler.ssl.SslContextBuilder builder,
boolean h2) |
static io.netty.handler.ssl.SslContextBuilder |
newSslContextBuilderJks(File jksKeyFile,
File jksPassword) |
static io.netty.handler.ssl.SslContextBuilder |
newSslContextBuilderJks(File jksKeyFile,
String jksPassword) |
static io.netty.handler.ssl.SslContextBuilder |
newSslContextBuilderPem(File crtFile,
File pemFile) |
public static io.netty.handler.ssl.SslContextBuilder newSslContextBuilderJks(File jksKeyFile, File jksPassword) throws IOException, NoSuchAlgorithmException, UnrecoverableKeyException, KeyStoreException, CertificateException
public static io.netty.handler.ssl.SslContextBuilder newSslContextBuilderJks(File jksKeyFile, String jksPassword) throws IOException, NoSuchAlgorithmException, UnrecoverableKeyException, KeyStoreException, CertificateException
public static io.netty.handler.ssl.SslContextBuilder newSslContextBuilderPem(File crtFile, File pemFile)
public static io.netty.handler.ssl.SslContext newSslContext(io.netty.handler.ssl.SslContextBuilder builder,
boolean h2)
throws SSLException
SSLExceptionCopyright © 2023. All rights reserved.