Class SSLContextBuilder

java.lang.Object
com.linkedin.alpini.netty4.http2.SSLContextBuilder

public final class SSLContextBuilder extends Object
Created by acurtis on 4/19/18.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final List<String>
     
    static final List<String>
    Similiar ciphers as WITH_GCM_CIPHERS except with CBC substituted instead of GCM because GCM is crushingly slow in current Java implementations.
    static final List<String>
    Modern ciphers as used for HTTP/2 plus three weak ciphers as used within LNKD HTTP/1
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.netty.handler.ssl.SslContext
    build(io.netty.handler.ssl.SslContextBuilder builder)
     
    static List<String>
    getCiphers(Provider sslContextProvider, io.netty.handler.ssl.SslProvider provider)
     
    static io.netty.handler.ssl.SslContext
    makeClientContext(long sessionCacheSize, long sessionTimeout)
     
    static io.netty.handler.ssl.SslContext
    makeClientContext(long sessionCacheSize, long sessionTimeout, boolean permitHttp2)
     
    static io.netty.handler.ssl.SslContext
    makeClientContext(Object keyStoreFile, String keyStorePassword, String keyStoreType, File trustStoreFile, String trustStorePassword, long sessionCacheSize, long sessionTimeout)
     
    static io.netty.handler.ssl.SslContext
    makeClientContext(Object keyStoreFile, String keyStorePassword, String keyStoreType, File trustStoreFile, String trustStorePassword, long sessionCacheSize, long sessionTimeout, boolean permitHttp2)
     
    static io.netty.handler.ssl.SslContext
    makeClientContext(Provider sslContextProvider, long sessionCacheSize, long sessionTimeout, boolean permitHttp2)
     
    static io.netty.handler.ssl.SslContext
    makeClientContext(Provider sslContextProvider, long sessionCacheSize, long sessionTimeout, boolean permitHttp2, boolean useRefCnt)
     
    static io.netty.handler.ssl.SslContext
    makeClientContext(Provider sslContextProvider, Object keyStoreFile, String keyStorePassword, String keyStoreType, File trustStoreFile, String trustStorePassword, long sessionCacheSize, long sessionTimeout, boolean permitHttp2)
     
    static io.netty.handler.ssl.SslContext
    makeClientContext(Provider sslContextProvider, Object keyStoreFile, String keyStorePassword, String keyStoreType, File trustStoreFile, String trustStorePassword, long sessionCacheSize, long sessionTimeout, boolean permitHttp2, boolean useRefCnt)
     
    static io.netty.handler.ssl.SslContext
    makeServerContext(long sessionCacheSize, long sessionTimeout)
     
    static io.netty.handler.ssl.SslContext
    makeServerContext(long sessionCacheSize, long sessionTimeout, boolean permitHttp2)
     
    static io.netty.handler.ssl.SslContext
    makeServerContext(Object keyStoreFile, String keyStorePassword, String keyStoreType, File trustStoreFile, String trustStorePassword, long sessionCacheSize, long sessionTimeout)
     
    static io.netty.handler.ssl.SslContext
    makeServerContext(Object keyStoreFile, String keyStorePassword, String keyStoreType, File trustStoreFile, String trustStorePassword, long sessionCacheSize, long sessionTimeout, boolean permitHttp2)
     
    static io.netty.handler.ssl.SslContext
    makeServerContext(Provider sslContextProvider, long sessionCacheSize, long sessionTimeout, boolean permitHttp2)
     
    static io.netty.handler.ssl.SslContext
    makeServerContext(Provider sslContextProvider, long sessionCacheSize, long sessionTimeout, boolean permitHttp2, boolean useRefCnt)
     
    static io.netty.handler.ssl.SslContext
    makeServerContext(Provider sslContextProvider, Object keyStoreFile, String keyStorePassword, String keyStoreType, File trustStoreFile, String trustStorePassword, long sessionCacheSize, long sessionTimeout, boolean permitHttp2)
     
    static io.netty.handler.ssl.SslContext
    makeServerContext(Provider sslContextProvider, Object keyStoreFile, String keyStorePassword, String keyStoreType, File trustStoreFile, String trustStorePassword, long sessionCacheSize, long sessionTimeout, boolean permitHttp2, boolean useRefCnt)
     
    static Function<Function<KeyManagerFactory,io.netty.handler.ssl.SslContextBuilder>,io.netty.handler.ssl.SslContextBuilder>
    setupContext(Provider sslContextProvider, Object keyStoreFile, String keyStorePassword, String keyStoreType, File trustStoreFile, String trustStorePassword, long sessionCacheSize, long sessionTimeout, boolean permitHttp2)
     
    static Function<Function<KeyManagerFactory,io.netty.handler.ssl.SslContextBuilder>,io.netty.handler.ssl.SslContextBuilder>
    setupContext(Provider sslContextProvider, Object keyStoreFile, String keyStorePassword, String keyStoreType, File trustStoreFile, String trustStorePassword, long sessionCacheSize, long sessionTimeout, boolean permitHttp2, boolean useRefCnt)
     
    static boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait