public final class io.netty.handler.ssl.SslContextBuilder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.ssl.SslContextBuilder
super_class: java.lang.Object
{
private final boolean forServer;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.netty.handler.ssl.SslProvider provider;
descriptor: Lio/netty/handler/ssl/SslProvider;
flags: (0x0002) ACC_PRIVATE
private java.security.Provider sslContextProvider;
descriptor: Ljava/security/Provider;
flags: (0x0002) ACC_PRIVATE
private java.security.cert.X509Certificate[] trustCertCollection;
descriptor: [Ljava/security/cert/X509Certificate;
flags: (0x0002) ACC_PRIVATE
private javax.net.ssl.TrustManagerFactory trustManagerFactory;
descriptor: Ljavax/net/ssl/TrustManagerFactory;
flags: (0x0002) ACC_PRIVATE
private java.security.cert.X509Certificate[] keyCertChain;
descriptor: [Ljava/security/cert/X509Certificate;
flags: (0x0002) ACC_PRIVATE
private java.security.PrivateKey key;
descriptor: Ljava/security/PrivateKey;
flags: (0x0002) ACC_PRIVATE
private java.lang.String keyPassword;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.net.ssl.KeyManagerFactory keyManagerFactory;
descriptor: Ljavax/net/ssl/KeyManagerFactory;
flags: (0x0002) ACC_PRIVATE
private java.lang.Iterable<java.lang.String> ciphers;
descriptor: Ljava/lang/Iterable;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Iterable<Ljava/lang/String;>;
private io.netty.handler.ssl.CipherSuiteFilter cipherFilter;
descriptor: Lio/netty/handler/ssl/CipherSuiteFilter;
flags: (0x0002) ACC_PRIVATE
private io.netty.handler.ssl.ApplicationProtocolConfig apn;
descriptor: Lio/netty/handler/ssl/ApplicationProtocolConfig;
flags: (0x0002) ACC_PRIVATE
private long sessionCacheSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long sessionTimeout;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private io.netty.handler.ssl.ClientAuth clientAuth;
descriptor: Lio/netty/handler/ssl/ClientAuth;
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] protocols;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean startTls;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean enableOcsp;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public static io.netty.handler.ssl.SslContextBuilder forClient();
descriptor: ()Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new io.netty.handler.ssl.SslContextBuilder
dup
iconst_0
invokespecial io.netty.handler.ssl.SslContextBuilder.<init>:(Z)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static io.netty.handler.ssl.SslContextBuilder forServer(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new io.netty.handler.ssl.SslContextBuilder
dup
iconst_1
invokespecial io.netty.handler.ssl.SslContextBuilder.<init>:(Z)V
aload 0
aload 1
invokevirtual io.netty.handler.ssl.SslContextBuilder.keyManager:(Ljava/io/File;Ljava/io/File;)Lio/netty/handler/ssl/SslContextBuilder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 keyCertChainFile Ljava/io/File;
0 1 1 keyFile Ljava/io/File;
MethodParameters:
Name Flags
keyCertChainFile
keyFile
public static io.netty.handler.ssl.SslContextBuilder forServer(java.io.InputStream, java.io.InputStream);
descriptor: (Ljava/io/InputStream;Ljava/io/InputStream;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new io.netty.handler.ssl.SslContextBuilder
dup
iconst_1
invokespecial io.netty.handler.ssl.SslContextBuilder.<init>:(Z)V
aload 0
aload 1
invokevirtual io.netty.handler.ssl.SslContextBuilder.keyManager:(Ljava/io/InputStream;Ljava/io/InputStream;)Lio/netty/handler/ssl/SslContextBuilder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 keyCertChainInputStream Ljava/io/InputStream;
0 1 1 keyInputStream Ljava/io/InputStream;
MethodParameters:
Name Flags
keyCertChainInputStream
keyInputStream
public static io.netty.handler.ssl.SslContextBuilder forServer(java.security.PrivateKey, java.security.cert.X509Certificate[]);
descriptor: (Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new io.netty.handler.ssl.SslContextBuilder
dup
iconst_1
invokespecial io.netty.handler.ssl.SslContextBuilder.<init>:(Z)V
aload 0
aload 1
invokevirtual io.netty.handler.ssl.SslContextBuilder.keyManager:(Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/security/PrivateKey;
0 1 1 keyCertChain [Ljava/security/cert/X509Certificate;
MethodParameters:
Name Flags
key
keyCertChain
public static io.netty.handler.ssl.SslContextBuilder forServer(java.io.File, java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/io/File;Ljava/lang/String;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.netty.handler.ssl.SslContextBuilder
dup
iconst_1
invokespecial io.netty.handler.ssl.SslContextBuilder.<init>:(Z)V
aload 0
aload 1
aload 2
invokevirtual io.netty.handler.ssl.SslContextBuilder.keyManager:(Ljava/io/File;Ljava/io/File;Ljava/lang/String;)Lio/netty/handler/ssl/SslContextBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 keyCertChainFile Ljava/io/File;
0 1 1 keyFile Ljava/io/File;
0 1 2 keyPassword Ljava/lang/String;
MethodParameters:
Name Flags
keyCertChainFile
keyFile
keyPassword
public static io.netty.handler.ssl.SslContextBuilder forServer(java.io.InputStream, java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/io/InputStream;Ljava/lang/String;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.netty.handler.ssl.SslContextBuilder
dup
iconst_1
invokespecial io.netty.handler.ssl.SslContextBuilder.<init>:(Z)V
aload 0
aload 1
aload 2
invokevirtual io.netty.handler.ssl.SslContextBuilder.keyManager:(Ljava/io/InputStream;Ljava/io/InputStream;Ljava/lang/String;)Lio/netty/handler/ssl/SslContextBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 keyCertChainInputStream Ljava/io/InputStream;
0 1 1 keyInputStream Ljava/io/InputStream;
0 1 2 keyPassword Ljava/lang/String;
MethodParameters:
Name Flags
keyCertChainInputStream
keyInputStream
keyPassword
public static io.netty.handler.ssl.SslContextBuilder forServer(java.security.PrivateKey, java.lang.String, java.security.cert.X509Certificate[]);
descriptor: (Ljava/security/PrivateKey;Ljava/lang/String;[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.netty.handler.ssl.SslContextBuilder
dup
iconst_1
invokespecial io.netty.handler.ssl.SslContextBuilder.<init>:(Z)V
aload 0
aload 1
aload 2
invokevirtual io.netty.handler.ssl.SslContextBuilder.keyManager:(Ljava/security/PrivateKey;Ljava/lang/String;[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/security/PrivateKey;
0 1 1 keyPassword Ljava/lang/String;
0 1 2 keyCertChain [Ljava/security/cert/X509Certificate;
MethodParameters:
Name Flags
key
keyPassword
keyCertChain
public static io.netty.handler.ssl.SslContextBuilder forServer(javax.net.ssl.KeyManagerFactory);
descriptor: (Ljavax/net/ssl/KeyManagerFactory;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.netty.handler.ssl.SslContextBuilder
dup
iconst_1
invokespecial io.netty.handler.ssl.SslContextBuilder.<init>:(Z)V
aload 0
invokevirtual io.netty.handler.ssl.SslContextBuilder.keyManager:(Ljavax/net/ssl/KeyManagerFactory;)Lio/netty/handler/ssl/SslContextBuilder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 keyManagerFactory Ljavax/net/ssl/KeyManagerFactory;
MethodParameters:
Name Flags
keyManagerFactory
private void <init>(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic io.netty.handler.ssl.IdentityCipherSuiteFilter.INSTANCE:Lio/netty/handler/ssl/IdentityCipherSuiteFilter;
putfield io.netty.handler.ssl.SslContextBuilder.cipherFilter:Lio/netty/handler/ssl/CipherSuiteFilter;
2: aload 0
getstatic io.netty.handler.ssl.ClientAuth.NONE:Lio/netty/handler/ssl/ClientAuth;
putfield io.netty.handler.ssl.SslContextBuilder.clientAuth:Lio/netty/handler/ssl/ClientAuth;
3: aload 0
iload 1
putfield io.netty.handler.ssl.SslContextBuilder.forServer:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 5 1 forServer Z
MethodParameters:
Name Flags
forServer
public io.netty.handler.ssl.SslContextBuilder sslProvider(io.netty.handler.ssl.SslProvider);
descriptor: (Lio/netty/handler/ssl/SslProvider;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.netty.handler.ssl.SslContextBuilder.provider:Lio/netty/handler/ssl/SslProvider;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 2 1 provider Lio/netty/handler/ssl/SslProvider;
MethodParameters:
Name Flags
provider
public io.netty.handler.ssl.SslContextBuilder sslContextProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.netty.handler.ssl.SslContextBuilder.sslContextProvider:Ljava/security/Provider;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 2 1 sslContextProvider Ljava/security/Provider;
MethodParameters:
Name Flags
sslContextProvider
public io.netty.handler.ssl.SslContextBuilder trustManager(java.io.File);
descriptor: (Ljava/io/File;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic io.netty.handler.ssl.SslContext.toX509Certificates:(Ljava/io/File;)[Ljava/security/cert/X509Certificate;
invokevirtual io.netty.handler.ssl.SslContextBuilder.trustManager:([Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "File does not contain valid certificates: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 6 1 trustCertCollectionFile Ljava/io/File;
3 6 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
trustCertCollectionFile
public io.netty.handler.ssl.SslContextBuilder trustManager(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic io.netty.handler.ssl.SslContext.toX509Certificates:(Ljava/io/InputStream;)[Ljava/security/cert/X509Certificate;
invokevirtual io.netty.handler.ssl.SslContextBuilder.trustManager:([Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 3: new java.lang.IllegalArgumentException
dup
ldc "Input stream does not contain valid certificates."
aload 2
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 4 1 trustCertCollectionInputStream Ljava/io/InputStream;
3 4 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
trustCertCollectionInputStream
public io.netty.handler.ssl.SslContextBuilder trustManager(java.security.cert.X509Certificate[]);
descriptor: ([Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnull 1
aload 1
invokevirtual java.security.cert.X509Certificate[].clone:()Ljava/lang/Object;
checkcast java.security.cert.X509Certificate[]
goto 2
StackMap locals:
StackMap stack: io.netty.handler.ssl.SslContextBuilder
1: aconst_null
StackMap locals: io.netty.handler.ssl.SslContextBuilder java.security.cert.X509Certificate[]
StackMap stack: io.netty.handler.ssl.SslContextBuilder java.security.cert.X509Certificate[]
2: putfield io.netty.handler.ssl.SslContextBuilder.trustCertCollection:[Ljava/security/cert/X509Certificate;
3: aload 0
aconst_null
putfield io.netty.handler.ssl.SslContextBuilder.trustManagerFactory:Ljavax/net/ssl/TrustManagerFactory;
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 5 1 trustCertCollection [Ljava/security/cert/X509Certificate;
MethodParameters:
Name Flags
trustCertCollection
public io.netty.handler.ssl.SslContextBuilder trustManager(javax.net.ssl.TrustManagerFactory);
descriptor: (Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
putfield io.netty.handler.ssl.SslContextBuilder.trustCertCollection:[Ljava/security/cert/X509Certificate;
1: aload 0
aload 1
putfield io.netty.handler.ssl.SslContextBuilder.trustManagerFactory:Ljavax/net/ssl/TrustManagerFactory;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 3 1 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
MethodParameters:
Name Flags
trustManagerFactory
public io.netty.handler.ssl.SslContextBuilder keyManager(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual io.netty.handler.ssl.SslContextBuilder.keyManager:(Ljava/io/File;Ljava/io/File;Ljava/lang/String;)Lio/netty/handler/ssl/SslContextBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 1 1 keyCertChainFile Ljava/io/File;
0 1 2 keyFile Ljava/io/File;
MethodParameters:
Name Flags
keyCertChainFile
keyFile
public io.netty.handler.ssl.SslContextBuilder keyManager(java.io.InputStream, java.io.InputStream);
descriptor: (Ljava/io/InputStream;Ljava/io/InputStream;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual io.netty.handler.ssl.SslContextBuilder.keyManager:(Ljava/io/InputStream;Ljava/io/InputStream;Ljava/lang/String;)Lio/netty/handler/ssl/SslContextBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 1 1 keyCertChainInputStream Ljava/io/InputStream;
0 1 2 keyInputStream Ljava/io/InputStream;
MethodParameters:
Name Flags
keyCertChainInputStream
keyInputStream
public io.netty.handler.ssl.SslContextBuilder keyManager(java.security.PrivateKey, java.security.cert.X509Certificate[]);
descriptor: (Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
invokevirtual io.netty.handler.ssl.SslContextBuilder.keyManager:(Ljava/security/PrivateKey;Ljava/lang/String;[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 1 1 key Ljava/security/PrivateKey;
0 1 2 keyCertChain [Ljava/security/cert/X509Certificate;
MethodParameters:
Name Flags
key
keyCertChain
public io.netty.handler.ssl.SslContextBuilder keyManager(java.io.File, java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/io/File;Ljava/lang/String;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic io.netty.handler.ssl.SslContext.toX509Certificates:(Ljava/io/File;)[Ljava/security/cert/X509Certificate;
astore 4
start local 4 1: goto 4
end local 4 StackMap locals:
StackMap stack: java.lang.Exception
2: astore 6
start local 6 3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "File does not contain valid certificates: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 6
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 start local 4 4: StackMap locals: java.security.cert.X509Certificate[]
StackMap stack:
aload 2
aload 3
invokestatic io.netty.handler.ssl.SslContext.toPrivateKey:(Ljava/io/File;Ljava/lang/String;)Ljava/security/PrivateKey;
astore 5
start local 5 5: goto 8
end local 5 StackMap locals:
StackMap stack: java.lang.Exception
6: astore 6
start local 6 7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "File does not contain valid private key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 6
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 start local 5 8: StackMap locals: java.security.PrivateKey
StackMap stack:
aload 0
aload 5
aload 3
aload 4
invokevirtual io.netty.handler.ssl.SslContextBuilder.keyManager:(Ljava/security/PrivateKey;Ljava/lang/String;[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 9 1 keyCertChainFile Ljava/io/File;
0 9 2 keyFile Ljava/io/File;
0 9 3 keyPassword Ljava/lang/String;
1 2 4 keyCertChain [Ljava/security/cert/X509Certificate;
4 9 4 keyCertChain [Ljava/security/cert/X509Certificate;
5 6 5 key Ljava/security/PrivateKey;
8 9 5 key Ljava/security/PrivateKey;
3 4 6 e Ljava/lang/Exception;
7 8 6 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
4 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
keyCertChainFile
keyFile
keyPassword
public io.netty.handler.ssl.SslContextBuilder keyManager(java.io.InputStream, java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/io/InputStream;Ljava/lang/String;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic io.netty.handler.ssl.SslContext.toX509Certificates:(Ljava/io/InputStream;)[Ljava/security/cert/X509Certificate;
astore 4
start local 4 1: goto 4
end local 4 StackMap locals:
StackMap stack: java.lang.Exception
2: astore 6
start local 6 3: new java.lang.IllegalArgumentException
dup
ldc "Input stream not contain valid certificates."
aload 6
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 start local 4 4: StackMap locals: java.security.cert.X509Certificate[]
StackMap stack:
aload 2
aload 3
invokestatic io.netty.handler.ssl.SslContext.toPrivateKey:(Ljava/io/InputStream;Ljava/lang/String;)Ljava/security/PrivateKey;
astore 5
start local 5 5: goto 8
end local 5 StackMap locals:
StackMap stack: java.lang.Exception
6: astore 6
start local 6 7: new java.lang.IllegalArgumentException
dup
ldc "Input stream does not contain valid private key."
aload 6
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 start local 5 8: StackMap locals: java.security.PrivateKey
StackMap stack:
aload 0
aload 5
aload 3
aload 4
invokevirtual io.netty.handler.ssl.SslContextBuilder.keyManager:(Ljava/security/PrivateKey;Ljava/lang/String;[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 9 1 keyCertChainInputStream Ljava/io/InputStream;
0 9 2 keyInputStream Ljava/io/InputStream;
0 9 3 keyPassword Ljava/lang/String;
1 2 4 keyCertChain [Ljava/security/cert/X509Certificate;
4 9 4 keyCertChain [Ljava/security/cert/X509Certificate;
5 6 5 key Ljava/security/PrivateKey;
8 9 5 key Ljava/security/PrivateKey;
3 4 6 e Ljava/lang/Exception;
7 8 6 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
4 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
keyCertChainInputStream
keyInputStream
keyPassword
public io.netty.handler.ssl.SslContextBuilder keyManager(java.security.PrivateKey, java.lang.String, java.security.cert.X509Certificate[]);
descriptor: (Ljava/security/PrivateKey;Ljava/lang/String;[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.netty.handler.ssl.SslContextBuilder.forServer:Z
ifeq 5
1: aload 3
ldc "keyCertChain required for servers"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 3
arraylength
ifne 4
3: new java.lang.IllegalArgumentException
dup
ldc "keyCertChain must be non-empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
ldc "key required for servers"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
5: StackMap locals:
StackMap stack:
aload 3
ifnull 6
aload 3
arraylength
ifne 8
6: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield io.netty.handler.ssl.SslContextBuilder.keyCertChain:[Ljava/security/cert/X509Certificate;
7: goto 15
8: StackMap locals:
StackMap stack:
aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 13
StackMap locals: io.netty.handler.ssl.SslContextBuilder java.security.PrivateKey java.lang.String java.security.cert.X509Certificate[] top int int java.security.cert.X509Certificate[]
StackMap stack:
9: aload 7
iload 5
aaload
astore 4
start local 4 10: aload 4
ifnonnull 12
11: new java.lang.IllegalArgumentException
dup
ldc "keyCertChain contains null entry"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 12: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 6
if_icmplt 9
14: aload 0
aload 3
invokevirtual java.security.cert.X509Certificate[].clone:()Ljava/lang/Object;
checkcast java.security.cert.X509Certificate[]
putfield io.netty.handler.ssl.SslContextBuilder.keyCertChain:[Ljava/security/cert/X509Certificate;
15: StackMap locals: io.netty.handler.ssl.SslContextBuilder java.security.PrivateKey java.lang.String java.security.cert.X509Certificate[]
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.ssl.SslContextBuilder.key:Ljava/security/PrivateKey;
16: aload 0
aload 2
putfield io.netty.handler.ssl.SslContextBuilder.keyPassword:Ljava/lang/String;
17: aload 0
aconst_null
putfield io.netty.handler.ssl.SslContextBuilder.keyManagerFactory:Ljavax/net/ssl/KeyManagerFactory;
18: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 19 1 key Ljava/security/PrivateKey;
0 19 2 keyPassword Ljava/lang/String;
0 19 3 keyCertChain [Ljava/security/cert/X509Certificate;
10 12 4 cert Ljava/security/cert/X509Certificate;
MethodParameters:
Name Flags
key
keyPassword
keyCertChain
public io.netty.handler.ssl.SslContextBuilder keyManager(javax.net.ssl.KeyManagerFactory);
descriptor: (Ljavax/net/ssl/KeyManagerFactory;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.handler.ssl.SslContextBuilder.forServer:Z
ifeq 2
1: aload 1
ldc "keyManagerFactory required for servers"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield io.netty.handler.ssl.SslContextBuilder.keyCertChain:[Ljava/security/cert/X509Certificate;
3: aload 0
aconst_null
putfield io.netty.handler.ssl.SslContextBuilder.key:Ljava/security/PrivateKey;
4: aload 0
aconst_null
putfield io.netty.handler.ssl.SslContextBuilder.keyPassword:Ljava/lang/String;
5: aload 0
aload 1
putfield io.netty.handler.ssl.SslContextBuilder.keyManagerFactory:Ljavax/net/ssl/KeyManagerFactory;
6: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 7 1 keyManagerFactory Ljavax/net/ssl/KeyManagerFactory;
MethodParameters:
Name Flags
keyManagerFactory
public io.netty.handler.ssl.SslContextBuilder ciphers(java.lang.Iterable<java.lang.String>);
descriptor: (Ljava/lang/Iterable;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic io.netty.handler.ssl.IdentityCipherSuiteFilter.INSTANCE:Lio/netty/handler/ssl/IdentityCipherSuiteFilter;
invokevirtual io.netty.handler.ssl.SslContextBuilder.ciphers:(Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;)Lio/netty/handler/ssl/SslContextBuilder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 1 1 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
Signature: (Ljava/lang/Iterable<Ljava/lang/String;>;)Lio/netty/handler/ssl/SslContextBuilder;
MethodParameters:
Name Flags
ciphers
public io.netty.handler.ssl.SslContextBuilder ciphers(java.lang.Iterable<java.lang.String>, io.netty.handler.ssl.CipherSuiteFilter);
descriptor: (Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "cipherFilter"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
putfield io.netty.handler.ssl.SslContextBuilder.ciphers:Ljava/lang/Iterable;
2: aload 0
aload 2
putfield io.netty.handler.ssl.SslContextBuilder.cipherFilter:Lio/netty/handler/ssl/CipherSuiteFilter;
3: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 4 1 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 4 2 cipherFilter Lio/netty/handler/ssl/CipherSuiteFilter;
Signature: (Ljava/lang/Iterable<Ljava/lang/String;>;Lio/netty/handler/ssl/CipherSuiteFilter;)Lio/netty/handler/ssl/SslContextBuilder;
MethodParameters:
Name Flags
ciphers
cipherFilter
public io.netty.handler.ssl.SslContextBuilder applicationProtocolConfig(io.netty.handler.ssl.ApplicationProtocolConfig);
descriptor: (Lio/netty/handler/ssl/ApplicationProtocolConfig;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.netty.handler.ssl.SslContextBuilder.apn:Lio/netty/handler/ssl/ApplicationProtocolConfig;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 2 1 apn Lio/netty/handler/ssl/ApplicationProtocolConfig;
MethodParameters:
Name Flags
apn
public io.netty.handler.ssl.SslContextBuilder sessionCacheSize(long);
descriptor: (J)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield io.netty.handler.ssl.SslContextBuilder.sessionCacheSize:J
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 2 1 sessionCacheSize J
MethodParameters:
Name Flags
sessionCacheSize
public io.netty.handler.ssl.SslContextBuilder sessionTimeout(long);
descriptor: (J)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield io.netty.handler.ssl.SslContextBuilder.sessionTimeout:J
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 2 1 sessionTimeout J
MethodParameters:
Name Flags
sessionTimeout
public io.netty.handler.ssl.SslContextBuilder clientAuth(io.netty.handler.ssl.ClientAuth);
descriptor: (Lio/netty/handler/ssl/ClientAuth;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "clientAuth"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.ssl.ClientAuth
putfield io.netty.handler.ssl.SslContextBuilder.clientAuth:Lio/netty/handler/ssl/ClientAuth;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 2 1 clientAuth Lio/netty/handler/ssl/ClientAuth;
MethodParameters:
Name Flags
clientAuth
public io.netty.handler.ssl.SslContextBuilder protocols(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack: io.netty.handler.ssl.SslContextBuilder
1: aload 1
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
StackMap locals: io.netty.handler.ssl.SslContextBuilder java.lang.String[]
StackMap stack: io.netty.handler.ssl.SslContextBuilder java.lang.String[]
2: putfield io.netty.handler.ssl.SslContextBuilder.protocols:[Ljava/lang/String;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 4 1 protocols [Ljava/lang/String;
MethodParameters:
Name Flags
protocols
public io.netty.handler.ssl.SslContextBuilder startTls(boolean);
descriptor: (Z)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.netty.handler.ssl.SslContextBuilder.startTls:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 2 1 startTls Z
MethodParameters:
Name Flags
startTls
public io.netty.handler.ssl.SslContextBuilder enableOcsp(boolean);
descriptor: (Z)Lio/netty/handler/ssl/SslContextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.netty.handler.ssl.SslContextBuilder.enableOcsp:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/ssl/SslContextBuilder;
0 2 1 enableOcsp Z
MethodParameters:
Name Flags
enableOcsp
public io.netty.handler.ssl.SslContext build();
descriptor: ()Lio/netty/handler/ssl/SslContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=19, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.ssl.SslContextBuilder.forServer:Z
ifeq 6
1: aload 0
getfield io.netty.handler.ssl.SslContextBuilder.provider:Lio/netty/handler/ssl/SslProvider;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.sslContextProvider:Ljava/security/Provider;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.trustCertCollection:[Ljava/security/cert/X509Certificate;
2: aload 0
getfield io.netty.handler.ssl.SslContextBuilder.trustManagerFactory:Ljavax/net/ssl/TrustManagerFactory;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.keyCertChain:[Ljava/security/cert/X509Certificate;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.key:Ljava/security/PrivateKey;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.keyPassword:Ljava/lang/String;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.keyManagerFactory:Ljavax/net/ssl/KeyManagerFactory;
3: aload 0
getfield io.netty.handler.ssl.SslContextBuilder.ciphers:Ljava/lang/Iterable;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.cipherFilter:Lio/netty/handler/ssl/CipherSuiteFilter;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.apn:Lio/netty/handler/ssl/ApplicationProtocolConfig;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.sessionCacheSize:J
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.sessionTimeout:J
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.clientAuth:Lio/netty/handler/ssl/ClientAuth;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.protocols:[Ljava/lang/String;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.startTls:Z
4: aload 0
getfield io.netty.handler.ssl.SslContextBuilder.enableOcsp:Z
5: invokestatic io.netty.handler.ssl.SslContext.newServerContextInternal:(Lio/netty/handler/ssl/SslProvider;Ljava/security/Provider;[Ljava/security/cert/X509Certificate;Ljavax/net/ssl/TrustManagerFactory;[Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJLio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;ZZ)Lio/netty/handler/ssl/SslContext;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.provider:Lio/netty/handler/ssl/SslProvider;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.sslContextProvider:Ljava/security/Provider;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.trustCertCollection:[Ljava/security/cert/X509Certificate;
7: aload 0
getfield io.netty.handler.ssl.SslContextBuilder.trustManagerFactory:Ljavax/net/ssl/TrustManagerFactory;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.keyCertChain:[Ljava/security/cert/X509Certificate;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.key:Ljava/security/PrivateKey;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.keyPassword:Ljava/lang/String;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.keyManagerFactory:Ljavax/net/ssl/KeyManagerFactory;
8: aload 0
getfield io.netty.handler.ssl.SslContextBuilder.ciphers:Ljava/lang/Iterable;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.cipherFilter:Lio/netty/handler/ssl/CipherSuiteFilter;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.apn:Lio/netty/handler/ssl/ApplicationProtocolConfig;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.protocols:[Ljava/lang/String;
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.sessionCacheSize:J
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.sessionTimeout:J
aload 0
getfield io.netty.handler.ssl.SslContextBuilder.enableOcsp:Z
9: invokestatic io.netty.handler.ssl.SslContext.newClientContextInternal:(Lio/netty/handler/ssl/SslProvider;Ljava/security/Provider;[Ljava/security/cert/X509Certificate;Ljavax/net/ssl/TrustManagerFactory;[Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;[Ljava/lang/String;JJZ)Lio/netty/handler/ssl/SslContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/netty/handler/ssl/SslContextBuilder;
Exceptions:
throws javax.net.ssl.SSLException
}
SourceFile: "SslContextBuilder.java"