public abstract class io.netty.handler.ssl.SslContext
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.handler.ssl.SslContext
super_class: java.lang.Object
{
static final java.security.cert.CertificateFactory X509_CERT_FACTORY;
descriptor: Ljava/security/cert/CertificateFactory;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final boolean startTls;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$io$netty$handler$ssl$SslProvider;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: ldc "X.509"
invokestatic java.security.cert.CertificateFactory.getInstance:(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
putstatic io.netty.handler.ssl.SslContext.X509_CERT_FACTORY:Ljava/security/cert/CertificateFactory;
1: goto 4
StackMap locals:
StackMap stack: java.security.cert.CertificateException
2: astore 0
start local 0 3: new java.lang.IllegalStateException
dup
ldc "unable to instance X.509 CertificateFactory"
aload 0
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 0 4: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 4 0 e Ljava/security/cert/CertificateException;
Exception table:
from to target type
0 1 2 Class java.security.cert.CertificateException
public static io.netty.handler.ssl.SslProvider defaultServerProvider();
descriptor: ()Lio/netty/handler/ssl/SslProvider;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic io.netty.handler.ssl.SslContext.defaultProvider:()Lio/netty/handler/ssl/SslProvider;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static io.netty.handler.ssl.SslProvider defaultClientProvider();
descriptor: ()Lio/netty/handler/ssl/SslProvider;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic io.netty.handler.ssl.SslContext.defaultProvider:()Lio/netty/handler/ssl/SslProvider;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static io.netty.handler.ssl.SslProvider defaultProvider();
descriptor: ()Lio/netty/handler/ssl/SslProvider;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic io.netty.handler.ssl.OpenSsl.isAvailable:()Z
ifeq 2
1: getstatic io.netty.handler.ssl.SslProvider.OPENSSL:Lio/netty/handler/ssl/SslProvider;
areturn
2: StackMap locals:
StackMap stack:
getstatic io.netty.handler.ssl.SslProvider.JDK:Lio/netty/handler/ssl/SslProvider;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static io.netty.handler.ssl.SslContext newServerContext(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokestatic io.netty.handler.ssl.SslContext.newServerContext:(Ljava/io/File;Ljava/io/File;Ljava/lang/String;)Lio/netty/handler/ssl/SslContext;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 certChainFile Ljava/io/File;
0 1 1 keyFile Ljava/io/File;
Exceptions:
throws javax.net.ssl.SSLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
certChainFile
keyFile
public static io.netty.handler.ssl.SslContext newServerContext(java.io.File, java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/io/File;Ljava/lang/String;)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
aload 0
aload 1
aload 2
invokestatic io.netty.handler.ssl.SslContext.newServerContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;Ljava/lang/String;)Lio/netty/handler/ssl/SslContext;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 certChainFile Ljava/io/File;
0 1 1 keyFile Ljava/io/File;
0 1 2 keyPassword Ljava/lang/String;
Exceptions:
throws javax.net.ssl.SSLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
certChainFile
keyFile
keyPassword
public static io.netty.handler.ssl.SslContext newServerContext(java.io.File, java.io.File, java.lang.String, java.lang.Iterable<java.lang.String>, java.lang.Iterable<java.lang.String>, long, long);
descriptor: (Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/Iterable;Ljava/lang/Iterable;JJ)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 0: aconst_null
aload 0
aload 1
aload 2
1: aload 3
aload 4
lload 5
lload 7
2: invokestatic io.netty.handler.ssl.SslContext.newServerContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/Iterable;Ljava/lang/Iterable;JJ)Lio/netty/handler/ssl/SslContext;
areturn
end local 7 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 3 0 certChainFile Ljava/io/File;
0 3 1 keyFile Ljava/io/File;
0 3 2 keyPassword Ljava/lang/String;
0 3 3 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 3 4 nextProtocols Ljava/lang/Iterable<Ljava/lang/String;>;
0 3 5 sessionCacheSize J
0 3 7 sessionTimeout J
Exceptions:
throws javax.net.ssl.SSLException
Signature: (Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/Iterable<Ljava/lang/String;>;Ljava/lang/Iterable<Ljava/lang/String;>;JJ)Lio/netty/handler/ssl/SslContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
certChainFile
keyFile
keyPassword
ciphers
nextProtocols
sessionCacheSize
sessionTimeout
public static io.netty.handler.ssl.SslContext newServerContext(java.io.File, java.io.File, java.lang.String, java.lang.Iterable<java.lang.String>, io.netty.handler.ssl.CipherSuiteFilter, io.netty.handler.ssl.ApplicationProtocolConfig, long, long);
descriptor: (Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=11, locals=10, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 8 0: aconst_null
aload 0
aload 1
aload 2
1: aload 3
aload 4
aload 5
lload 6
lload 8
2: invokestatic io.netty.handler.ssl.SslContext.newServerContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
areturn
end local 8 end local 6 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 3 0 certChainFile Ljava/io/File;
0 3 1 keyFile Ljava/io/File;
0 3 2 keyPassword Ljava/lang/String;
0 3 3 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 3 4 cipherFilter Lio/netty/handler/ssl/CipherSuiteFilter;
0 3 5 apn Lio/netty/handler/ssl/ApplicationProtocolConfig;
0 3 6 sessionCacheSize J
0 3 8 sessionTimeout J
Exceptions:
throws javax.net.ssl.SSLException
Signature: (Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/Iterable<Ljava/lang/String;>;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
certChainFile
keyFile
keyPassword
ciphers
cipherFilter
apn
sessionCacheSize
sessionTimeout
public static io.netty.handler.ssl.SslContext newServerContext(io.netty.handler.ssl.SslProvider, java.io.File, java.io.File);
descriptor: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
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
invokestatic io.netty.handler.ssl.SslContext.newServerContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;Ljava/lang/String;)Lio/netty/handler/ssl/SslContext;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 provider Lio/netty/handler/ssl/SslProvider;
0 1 1 certChainFile Ljava/io/File;
0 1 2 keyFile Ljava/io/File;
Exceptions:
throws javax.net.ssl.SSLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
provider
certChainFile
keyFile
public static io.netty.handler.ssl.SslContext newServerContext(io.netty.handler.ssl.SslProvider, java.io.File, java.io.File, java.lang.String);
descriptor: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;Ljava/lang/String;)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=11, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
getstatic io.netty.handler.ssl.IdentityCipherSuiteFilter.INSTANCE:Lio/netty/handler/ssl/IdentityCipherSuiteFilter;
1: aconst_null
lconst_0
lconst_0
2: invokestatic io.netty.handler.ssl.SslContext.newServerContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 provider Lio/netty/handler/ssl/SslProvider;
0 3 1 certChainFile Ljava/io/File;
0 3 2 keyFile Ljava/io/File;
0 3 3 keyPassword Ljava/lang/String;
Exceptions:
throws javax.net.ssl.SSLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
provider
certChainFile
keyFile
keyPassword
public static io.netty.handler.ssl.SslContext newServerContext(io.netty.handler.ssl.SslProvider, java.io.File, java.io.File, java.lang.String, java.lang.Iterable<java.lang.String>, java.lang.Iterable<java.lang.String>, long, long);
descriptor: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/Iterable;Ljava/lang/Iterable;JJ)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=11, locals=10, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 8 0: aload 0
aload 1
aload 2
aload 3
1: aload 4
getstatic io.netty.handler.ssl.IdentityCipherSuiteFilter.INSTANCE:Lio/netty/handler/ssl/IdentityCipherSuiteFilter;
2: aload 5
invokestatic io.netty.handler.ssl.SslContext.toApplicationProtocolConfig:(Ljava/lang/Iterable;)Lio/netty/handler/ssl/ApplicationProtocolConfig;
lload 6
lload 8
3: invokestatic io.netty.handler.ssl.SslContext.newServerContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
areturn
end local 8 end local 6 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 4 0 provider Lio/netty/handler/ssl/SslProvider;
0 4 1 certChainFile Ljava/io/File;
0 4 2 keyFile Ljava/io/File;
0 4 3 keyPassword Ljava/lang/String;
0 4 4 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 4 5 nextProtocols Ljava/lang/Iterable<Ljava/lang/String;>;
0 4 6 sessionCacheSize J
0 4 8 sessionTimeout J
Exceptions:
throws javax.net.ssl.SSLException
Signature: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/Iterable<Ljava/lang/String;>;Ljava/lang/Iterable<Ljava/lang/String;>;JJ)Lio/netty/handler/ssl/SslContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
provider
certChainFile
keyFile
keyPassword
ciphers
nextProtocols
sessionCacheSize
sessionTimeout
public static io.netty.handler.ssl.SslContext newServerContext(io.netty.handler.ssl.SslProvider, java.io.File, java.io.File, java.lang.String, javax.net.ssl.TrustManagerFactory, java.lang.Iterable<java.lang.String>, java.lang.Iterable<java.lang.String>, long, long);
descriptor: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/TrustManagerFactory;Ljava/lang/Iterable;Ljava/lang/Iterable;JJ)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=14, locals=11, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 9 0: aload 0
aconst_null
aload 4
aload 1
aload 2
aload 3
1: aconst_null
aload 5
getstatic io.netty.handler.ssl.IdentityCipherSuiteFilter.INSTANCE:Lio/netty/handler/ssl/IdentityCipherSuiteFilter;
2: aload 6
invokestatic io.netty.handler.ssl.SslContext.toApplicationProtocolConfig:(Ljava/lang/Iterable;)Lio/netty/handler/ssl/ApplicationProtocolConfig;
lload 7
lload 9
3: invokestatic io.netty.handler.ssl.SslContext.newServerContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
areturn
end local 9 end local 7 end local 6 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 4 0 provider Lio/netty/handler/ssl/SslProvider;
0 4 1 certChainFile Ljava/io/File;
0 4 2 keyFile Ljava/io/File;
0 4 3 keyPassword Ljava/lang/String;
0 4 4 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
0 4 5 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 4 6 nextProtocols Ljava/lang/Iterable<Ljava/lang/String;>;
0 4 7 sessionCacheSize J
0 4 9 sessionTimeout J
Exceptions:
throws javax.net.ssl.SSLException
Signature: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/TrustManagerFactory;Ljava/lang/Iterable<Ljava/lang/String;>;Ljava/lang/Iterable<Ljava/lang/String;>;JJ)Lio/netty/handler/ssl/SslContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
provider
certChainFile
keyFile
keyPassword
trustManagerFactory
ciphers
nextProtocols
sessionCacheSize
sessionTimeout
public static io.netty.handler.ssl.SslContext newServerContext(io.netty.handler.ssl.SslProvider, java.io.File, java.io.File, java.lang.String, java.lang.Iterable<java.lang.String>, io.netty.handler.ssl.CipherSuiteFilter, io.netty.handler.ssl.ApplicationProtocolConfig, long, long);
descriptor: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=14, locals=11, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 9 0: aload 0
aconst_null
aconst_null
aload 1
aload 2
aload 3
aconst_null
1: aload 4
aload 5
aload 6
lload 7
lload 9
2: invokestatic io.netty.handler.ssl.SslContext.newServerContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
areturn
end local 9 end local 7 end local 6 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 3 0 provider Lio/netty/handler/ssl/SslProvider;
0 3 1 certChainFile Ljava/io/File;
0 3 2 keyFile Ljava/io/File;
0 3 3 keyPassword Ljava/lang/String;
0 3 4 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 3 5 cipherFilter Lio/netty/handler/ssl/CipherSuiteFilter;
0 3 6 apn Lio/netty/handler/ssl/ApplicationProtocolConfig;
0 3 7 sessionCacheSize J
0 3 9 sessionTimeout J
Exceptions:
throws javax.net.ssl.SSLException
Signature: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/Iterable<Ljava/lang/String;>;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
provider
certChainFile
keyFile
keyPassword
ciphers
cipherFilter
apn
sessionCacheSize
sessionTimeout
public static io.netty.handler.ssl.SslContext newServerContext(io.netty.handler.ssl.SslProvider, java.io.File, javax.net.ssl.TrustManagerFactory, java.io.File, java.io.File, java.lang.String, javax.net.ssl.KeyManagerFactory, java.lang.Iterable<java.lang.String>, io.netty.handler.ssl.CipherSuiteFilter, io.netty.handler.ssl.ApplicationProtocolConfig, long, long);
descriptor: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=19, locals=15, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 12 0: aload 0
aconst_null
aload 1
invokestatic io.netty.handler.ssl.SslContext.toX509Certificates:(Ljava/io/File;)[Ljava/security/cert/X509Certificate;
1: aload 2
aload 3
invokestatic io.netty.handler.ssl.SslContext.toX509Certificates:(Ljava/io/File;)[Ljava/security/cert/X509Certificate;
2: aload 4
aload 5
invokestatic io.netty.handler.ssl.SslContext.toPrivateKey:(Ljava/io/File;Ljava/lang/String;)Ljava/security/PrivateKey;
3: aload 5
aload 6
aload 7
aload 8
aload 9
4: lload 10
lload 12
getstatic io.netty.handler.ssl.ClientAuth.NONE:Lio/netty/handler/ssl/ClientAuth;
aconst_null
iconst_0
iconst_0
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;
6: areturn
7: StackMap locals:
StackMap stack: java.lang.Exception
astore 14
start local 14 8: aload 14
instanceof javax.net.ssl.SSLException
ifeq 10
9: aload 14
checkcast javax.net.ssl.SSLException
athrow
10: StackMap locals: java.lang.Exception
StackMap stack:
new javax.net.ssl.SSLException
dup
ldc "failed to initialize the server-side SSL context"
aload 14
invokespecial javax.net.ssl.SSLException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 14 end local 12 end local 10 end local 9 end local 8 end local 7 end local 6 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 11 0 provider Lio/netty/handler/ssl/SslProvider;
0 11 1 trustCertCollectionFile Ljava/io/File;
0 11 2 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
0 11 3 keyCertChainFile Ljava/io/File;
0 11 4 keyFile Ljava/io/File;
0 11 5 keyPassword Ljava/lang/String;
0 11 6 keyManagerFactory Ljavax/net/ssl/KeyManagerFactory;
0 11 7 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 11 8 cipherFilter Lio/netty/handler/ssl/CipherSuiteFilter;
0 11 9 apn Lio/netty/handler/ssl/ApplicationProtocolConfig;
0 11 10 sessionCacheSize J
0 11 12 sessionTimeout J
8 11 14 e Ljava/lang/Exception;
Exception table:
from to target type
0 6 7 Class java.lang.Exception
Exceptions:
throws javax.net.ssl.SSLException
Signature: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable<Ljava/lang/String;>;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
provider
trustCertCollectionFile
trustManagerFactory
keyCertChainFile
keyFile
keyPassword
keyManagerFactory
ciphers
cipherFilter
apn
sessionCacheSize
sessionTimeout
static io.netty.handler.ssl.SslContext newServerContextInternal(io.netty.handler.ssl.SslProvider, java.security.Provider, java.security.cert.X509Certificate[], javax.net.ssl.TrustManagerFactory, java.security.cert.X509Certificate[], java.security.PrivateKey, java.lang.String, javax.net.ssl.KeyManagerFactory, java.lang.Iterable<java.lang.String>, io.netty.handler.ssl.CipherSuiteFilter, io.netty.handler.ssl.ApplicationProtocolConfig, long, long, io.netty.handler.ssl.ClientAuth, java.lang.String[], boolean, boolean);
descriptor: (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;
flags: (0x0008) ACC_STATIC
Code:
stack=19, locals=19, args_size=17
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 13 start local 15 start local 16 start local 17 start local 18 0: aload 0
ifnonnull 2
1: invokestatic io.netty.handler.ssl.SslContext.defaultServerProvider:()Lio/netty/handler/ssl/SslProvider;
astore 0
2: StackMap locals:
StackMap stack:
invokestatic io.netty.handler.ssl.SslContext.$SWITCH_TABLE$io$netty$handler$ssl$SslProvider:()[I
aload 0
invokevirtual io.netty.handler.ssl.SslProvider.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 3
2: 10
3: 16
default: 22
}
3: StackMap locals:
StackMap stack:
iload 18
ifeq 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "OCSP is not supported with this SslProvider: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
new io.netty.handler.ssl.JdkSslServerContext
dup
aload 1
6: aload 2
aload 3
aload 4
aload 5
aload 6
7: aload 7
aload 8
aload 9
aload 10
lload 11
lload 13
8: aload 15
aload 16
iload 17
9: invokespecial io.netty.handler.ssl.JdkSslServerContext.<init>:(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;Z)V
areturn
10: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic io.netty.handler.ssl.SslContext.verifyNullSslContextProvider:(Lio/netty/handler/ssl/SslProvider;Ljava/security/Provider;)V
11: new io.netty.handler.ssl.OpenSslServerContext
dup
12: aload 2
aload 3
aload 4
aload 5
aload 6
13: aload 7
aload 8
aload 9
aload 10
lload 11
lload 13
14: aload 15
aload 16
iload 17
iload 18
15: invokespecial io.netty.handler.ssl.OpenSslServerContext.<init>:([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)V
areturn
16: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic io.netty.handler.ssl.SslContext.verifyNullSslContextProvider:(Lio/netty/handler/ssl/SslProvider;Ljava/security/Provider;)V
17: new io.netty.handler.ssl.ReferenceCountedOpenSslServerContext
dup
18: aload 2
aload 3
aload 4
aload 5
aload 6
19: aload 7
aload 8
aload 9
aload 10
lload 11
lload 13
20: aload 15
aload 16
iload 17
iload 18
21: invokespecial io.netty.handler.ssl.ReferenceCountedOpenSslServerContext.<init>:([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)V
areturn
22: StackMap locals:
StackMap stack:
new java.lang.Error
dup
aload 0
invokevirtual io.netty.handler.ssl.SslProvider.toString:()Ljava/lang/String;
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 18 end local 17 end local 16 end local 15 end local 13 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 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 23 0 provider Lio/netty/handler/ssl/SslProvider;
0 23 1 sslContextProvider Ljava/security/Provider;
0 23 2 trustCertCollection [Ljava/security/cert/X509Certificate;
0 23 3 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
0 23 4 keyCertChain [Ljava/security/cert/X509Certificate;
0 23 5 key Ljava/security/PrivateKey;
0 23 6 keyPassword Ljava/lang/String;
0 23 7 keyManagerFactory Ljavax/net/ssl/KeyManagerFactory;
0 23 8 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 23 9 cipherFilter Lio/netty/handler/ssl/CipherSuiteFilter;
0 23 10 apn Lio/netty/handler/ssl/ApplicationProtocolConfig;
0 23 11 sessionCacheSize J
0 23 13 sessionTimeout J
0 23 15 clientAuth Lio/netty/handler/ssl/ClientAuth;
0 23 16 protocols [Ljava/lang/String;
0 23 17 startTls Z
0 23 18 enableOcsp Z
Exceptions:
throws javax.net.ssl.SSLException
Signature: (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<Ljava/lang/String;>;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJLio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;ZZ)Lio/netty/handler/ssl/SslContext;
MethodParameters:
Name Flags
provider
sslContextProvider
trustCertCollection
trustManagerFactory
keyCertChain
key
keyPassword
keyManagerFactory
ciphers
cipherFilter
apn
sessionCacheSize
sessionTimeout
clientAuth
protocols
startTls
enableOcsp
private static void verifyNullSslContextProvider(io.netty.handler.ssl.SslProvider, java.security.Provider);
descriptor: (Lio/netty/handler/ssl/SslProvider;Ljava/security/Provider;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Java Security Provider unsupported for SslProvider: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 provider Lio/netty/handler/ssl/SslProvider;
0 3 1 sslContextProvider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
sslContextProvider
public static io.netty.handler.ssl.SslContext newClientContext();
descriptor: ()Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: aconst_null
aconst_null
aconst_null
invokestatic io.netty.handler.ssl.SslContext.newClientContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContext;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws javax.net.ssl.SSLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static io.netty.handler.ssl.SslContext newClientContext(java.io.File);
descriptor: (Ljava/io/File;)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aconst_null
aload 0
invokestatic io.netty.handler.ssl.SslContext.newClientContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;)Lio/netty/handler/ssl/SslContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 certChainFile Ljava/io/File;
Exceptions:
throws javax.net.ssl.SSLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
certChainFile
public static io.netty.handler.ssl.SslContext newClientContext(javax.net.ssl.TrustManagerFactory);
descriptor: (Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aconst_null
aconst_null
aload 0
invokestatic io.netty.handler.ssl.SslContext.newClientContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
Exceptions:
throws javax.net.ssl.SSLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
trustManagerFactory
public static io.netty.handler.ssl.SslContext newClientContext(java.io.File, javax.net.ssl.TrustManagerFactory);
descriptor: (Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
aload 0
aload 1
invokestatic io.netty.handler.ssl.SslContext.newClientContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContext;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 certChainFile Ljava/io/File;
0 1 1 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
Exceptions:
throws javax.net.ssl.SSLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
certChainFile
trustManagerFactory
public static io.netty.handler.ssl.SslContext newClientContext(java.io.File, javax.net.ssl.TrustManagerFactory, java.lang.Iterable<java.lang.String>, java.lang.Iterable<java.lang.String>, long, long);
descriptor: (Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/lang/Iterable;Ljava/lang/Iterable;JJ)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 0: aconst_null
aload 0
aload 1
1: aload 2
aload 3
lload 4
lload 6
2: invokestatic io.netty.handler.ssl.SslContext.newClientContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/lang/Iterable;Ljava/lang/Iterable;JJ)Lio/netty/handler/ssl/SslContext;
areturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 certChainFile Ljava/io/File;
0 3 1 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
0 3 2 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 3 3 nextProtocols Ljava/lang/Iterable<Ljava/lang/String;>;
0 3 4 sessionCacheSize J
0 3 6 sessionTimeout J
Exceptions:
throws javax.net.ssl.SSLException
Signature: (Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/lang/Iterable<Ljava/lang/String;>;Ljava/lang/Iterable<Ljava/lang/String;>;JJ)Lio/netty/handler/ssl/SslContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
certChainFile
trustManagerFactory
ciphers
nextProtocols
sessionCacheSize
sessionTimeout
public static io.netty.handler.ssl.SslContext newClientContext(java.io.File, javax.net.ssl.TrustManagerFactory, java.lang.Iterable<java.lang.String>, io.netty.handler.ssl.CipherSuiteFilter, io.netty.handler.ssl.ApplicationProtocolConfig, long, long);
descriptor: (Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 0: aconst_null
aload 0
aload 1
1: aload 2
aload 3
aload 4
lload 5
lload 7
2: invokestatic io.netty.handler.ssl.SslContext.newClientContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
areturn
end local 7 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 3 0 certChainFile Ljava/io/File;
0 3 1 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
0 3 2 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 3 3 cipherFilter Lio/netty/handler/ssl/CipherSuiteFilter;
0 3 4 apn Lio/netty/handler/ssl/ApplicationProtocolConfig;
0 3 5 sessionCacheSize J
0 3 7 sessionTimeout J
Exceptions:
throws javax.net.ssl.SSLException
Signature: (Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/lang/Iterable<Ljava/lang/String;>;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
certChainFile
trustManagerFactory
ciphers
cipherFilter
apn
sessionCacheSize
sessionTimeout
public static io.netty.handler.ssl.SslContext newClientContext(io.netty.handler.ssl.SslProvider);
descriptor: (Lio/netty/handler/ssl/SslProvider;)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
invokestatic io.netty.handler.ssl.SslContext.newClientContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 provider Lio/netty/handler/ssl/SslProvider;
Exceptions:
throws javax.net.ssl.SSLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
provider
public static io.netty.handler.ssl.SslContext newClientContext(io.netty.handler.ssl.SslProvider, java.io.File);
descriptor: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokestatic io.netty.handler.ssl.SslContext.newClientContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContext;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 provider Lio/netty/handler/ssl/SslProvider;
0 1 1 certChainFile Ljava/io/File;
Exceptions:
throws javax.net.ssl.SSLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
provider
certChainFile
public static io.netty.handler.ssl.SslContext newClientContext(io.netty.handler.ssl.SslProvider, javax.net.ssl.TrustManagerFactory);
descriptor: (Lio/netty/handler/ssl/SslProvider;Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokestatic io.netty.handler.ssl.SslContext.newClientContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContext;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 provider Lio/netty/handler/ssl/SslProvider;
0 1 1 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
Exceptions:
throws javax.net.ssl.SSLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
provider
trustManagerFactory
public static io.netty.handler.ssl.SslContext newClientContext(io.netty.handler.ssl.SslProvider, java.io.File, javax.net.ssl.TrustManagerFactory);
descriptor: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
getstatic io.netty.handler.ssl.IdentityCipherSuiteFilter.INSTANCE:Lio/netty/handler/ssl/IdentityCipherSuiteFilter;
1: aconst_null
lconst_0
lconst_0
2: invokestatic io.netty.handler.ssl.SslContext.newClientContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 provider Lio/netty/handler/ssl/SslProvider;
0 3 1 certChainFile Ljava/io/File;
0 3 2 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
Exceptions:
throws javax.net.ssl.SSLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
provider
certChainFile
trustManagerFactory
public static io.netty.handler.ssl.SslContext newClientContext(io.netty.handler.ssl.SslProvider, java.io.File, javax.net.ssl.TrustManagerFactory, java.lang.Iterable<java.lang.String>, java.lang.Iterable<java.lang.String>, long, long);
descriptor: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/lang/Iterable;Ljava/lang/Iterable;JJ)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=14, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 0: aload 0
aload 1
aload 2
aconst_null
aconst_null
aconst_null
aconst_null
1: aload 3
getstatic io.netty.handler.ssl.IdentityCipherSuiteFilter.INSTANCE:Lio/netty/handler/ssl/IdentityCipherSuiteFilter;
2: aload 4
invokestatic io.netty.handler.ssl.SslContext.toApplicationProtocolConfig:(Ljava/lang/Iterable;)Lio/netty/handler/ssl/ApplicationProtocolConfig;
lload 5
lload 7
3: invokestatic io.netty.handler.ssl.SslContext.newClientContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
areturn
end local 7 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 4 0 provider Lio/netty/handler/ssl/SslProvider;
0 4 1 certChainFile Ljava/io/File;
0 4 2 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
0 4 3 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 4 4 nextProtocols Ljava/lang/Iterable<Ljava/lang/String;>;
0 4 5 sessionCacheSize J
0 4 7 sessionTimeout J
Exceptions:
throws javax.net.ssl.SSLException
Signature: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/lang/Iterable<Ljava/lang/String;>;Ljava/lang/Iterable<Ljava/lang/String;>;JJ)Lio/netty/handler/ssl/SslContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
provider
certChainFile
trustManagerFactory
ciphers
nextProtocols
sessionCacheSize
sessionTimeout
public static io.netty.handler.ssl.SslContext newClientContext(io.netty.handler.ssl.SslProvider, java.io.File, javax.net.ssl.TrustManagerFactory, java.lang.Iterable<java.lang.String>, io.netty.handler.ssl.CipherSuiteFilter, io.netty.handler.ssl.ApplicationProtocolConfig, long, long);
descriptor: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=14, locals=10, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 8 0: aload 0
aload 1
aload 2
aconst_null
aconst_null
aconst_null
aconst_null
1: aload 3
aload 4
aload 5
lload 6
lload 8
2: invokestatic io.netty.handler.ssl.SslContext.newClientContext:(Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
areturn
end local 8 end local 6 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 3 0 provider Lio/netty/handler/ssl/SslProvider;
0 3 1 certChainFile Ljava/io/File;
0 3 2 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
0 3 3 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 3 4 cipherFilter Lio/netty/handler/ssl/CipherSuiteFilter;
0 3 5 apn Lio/netty/handler/ssl/ApplicationProtocolConfig;
0 3 6 sessionCacheSize J
0 3 8 sessionTimeout J
Exceptions:
throws javax.net.ssl.SSLException
Signature: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/lang/Iterable<Ljava/lang/String;>;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
provider
certChainFile
trustManagerFactory
ciphers
cipherFilter
apn
sessionCacheSize
sessionTimeout
public static io.netty.handler.ssl.SslContext newClientContext(io.netty.handler.ssl.SslProvider, java.io.File, javax.net.ssl.TrustManagerFactory, java.io.File, java.io.File, java.lang.String, javax.net.ssl.KeyManagerFactory, java.lang.Iterable<java.lang.String>, io.netty.handler.ssl.CipherSuiteFilter, io.netty.handler.ssl.ApplicationProtocolConfig, long, long);
descriptor: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=17, locals=15, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 12 0: aload 0
aconst_null
1: aload 1
invokestatic io.netty.handler.ssl.SslContext.toX509Certificates:(Ljava/io/File;)[Ljava/security/cert/X509Certificate;
aload 2
2: aload 3
invokestatic io.netty.handler.ssl.SslContext.toX509Certificates:(Ljava/io/File;)[Ljava/security/cert/X509Certificate;
aload 4
aload 5
invokestatic io.netty.handler.ssl.SslContext.toPrivateKey:(Ljava/io/File;Ljava/lang/String;)Ljava/security/PrivateKey;
3: aload 5
aload 6
aload 7
aload 8
4: aload 9
aconst_null
lload 10
lload 12
iconst_0
5: 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;
6: areturn
7: StackMap locals:
StackMap stack: java.lang.Exception
astore 14
start local 14 8: aload 14
instanceof javax.net.ssl.SSLException
ifeq 10
9: aload 14
checkcast javax.net.ssl.SSLException
athrow
10: StackMap locals: java.lang.Exception
StackMap stack:
new javax.net.ssl.SSLException
dup
ldc "failed to initialize the client-side SSL context"
aload 14
invokespecial javax.net.ssl.SSLException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 14 end local 12 end local 10 end local 9 end local 8 end local 7 end local 6 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 11 0 provider Lio/netty/handler/ssl/SslProvider;
0 11 1 trustCertCollectionFile Ljava/io/File;
0 11 2 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
0 11 3 keyCertChainFile Ljava/io/File;
0 11 4 keyFile Ljava/io/File;
0 11 5 keyPassword Ljava/lang/String;
0 11 6 keyManagerFactory Ljavax/net/ssl/KeyManagerFactory;
0 11 7 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 11 8 cipherFilter Lio/netty/handler/ssl/CipherSuiteFilter;
0 11 9 apn Lio/netty/handler/ssl/ApplicationProtocolConfig;
0 11 10 sessionCacheSize J
0 11 12 sessionTimeout J
8 11 14 e Ljava/lang/Exception;
Exception table:
from to target type
0 6 7 Class java.lang.Exception
Exceptions:
throws javax.net.ssl.SSLException
Signature: (Lio/netty/handler/ssl/SslProvider;Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable<Ljava/lang/String;>;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJ)Lio/netty/handler/ssl/SslContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
provider
trustCertCollectionFile
trustManagerFactory
keyCertChainFile
keyFile
keyPassword
keyManagerFactory
ciphers
cipherFilter
apn
sessionCacheSize
sessionTimeout
static io.netty.handler.ssl.SslContext newClientContextInternal(io.netty.handler.ssl.SslProvider, java.security.Provider, java.security.cert.X509Certificate[], javax.net.ssl.TrustManagerFactory, java.security.cert.X509Certificate[], java.security.PrivateKey, java.lang.String, javax.net.ssl.KeyManagerFactory, java.lang.Iterable<java.lang.String>, io.netty.handler.ssl.CipherSuiteFilter, io.netty.handler.ssl.ApplicationProtocolConfig, java.lang.String[], long, long, boolean);
descriptor: (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;
flags: (0x0008) ACC_STATIC
Code:
stack=17, locals=17, args_size=15
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 start local 14 start local 16 0: aload 0
ifnonnull 2
1: invokestatic io.netty.handler.ssl.SslContext.defaultClientProvider:()Lio/netty/handler/ssl/SslProvider;
astore 0
2: StackMap locals:
StackMap stack:
invokestatic io.netty.handler.ssl.SslContext.$SWITCH_TABLE$io$netty$handler$ssl$SslProvider:()[I
aload 0
invokevirtual io.netty.handler.ssl.SslProvider.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 3
2: 9
3: 15
default: 21
}
3: StackMap locals:
StackMap stack:
iload 16
ifeq 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "OCSP is not supported with this SslProvider: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
new io.netty.handler.ssl.JdkSslClientContext
dup
aload 1
6: aload 2
aload 3
aload 4
aload 5
aload 6
7: aload 7
aload 8
aload 9
aload 10
aload 11
lload 12
lload 14
8: invokespecial io.netty.handler.ssl.JdkSslClientContext.<init>:(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;JJ)V
areturn
9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic io.netty.handler.ssl.SslContext.verifyNullSslContextProvider:(Lio/netty/handler/ssl/SslProvider;Ljava/security/Provider;)V
10: new io.netty.handler.ssl.OpenSslClientContext
dup
11: aload 2
aload 3
aload 4
aload 5
aload 6
12: aload 7
aload 8
aload 9
aload 10
aload 11
lload 12
lload 14
13: iload 16
14: invokespecial io.netty.handler.ssl.OpenSslClientContext.<init>:([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)V
areturn
15: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic io.netty.handler.ssl.SslContext.verifyNullSslContextProvider:(Lio/netty/handler/ssl/SslProvider;Ljava/security/Provider;)V
16: new io.netty.handler.ssl.ReferenceCountedOpenSslClientContext
dup
17: aload 2
aload 3
aload 4
aload 5
aload 6
18: aload 7
aload 8
aload 9
aload 10
aload 11
lload 12
lload 14
19: iload 16
20: invokespecial io.netty.handler.ssl.ReferenceCountedOpenSslClientContext.<init>:([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)V
areturn
21: StackMap locals:
StackMap stack:
new java.lang.Error
dup
aload 0
invokevirtual io.netty.handler.ssl.SslProvider.toString:()Ljava/lang/String;
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 16 end local 14 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 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 22 0 provider Lio/netty/handler/ssl/SslProvider;
0 22 1 sslContextProvider Ljava/security/Provider;
0 22 2 trustCert [Ljava/security/cert/X509Certificate;
0 22 3 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
0 22 4 keyCertChain [Ljava/security/cert/X509Certificate;
0 22 5 key Ljava/security/PrivateKey;
0 22 6 keyPassword Ljava/lang/String;
0 22 7 keyManagerFactory Ljavax/net/ssl/KeyManagerFactory;
0 22 8 ciphers Ljava/lang/Iterable<Ljava/lang/String;>;
0 22 9 cipherFilter Lio/netty/handler/ssl/CipherSuiteFilter;
0 22 10 apn Lio/netty/handler/ssl/ApplicationProtocolConfig;
0 22 11 protocols [Ljava/lang/String;
0 22 12 sessionCacheSize J
0 22 14 sessionTimeout J
0 22 16 enableOcsp Z
Exceptions:
throws javax.net.ssl.SSLException
Signature: (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<Ljava/lang/String;>;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;[Ljava/lang/String;JJZ)Lio/netty/handler/ssl/SslContext;
MethodParameters:
Name Flags
provider
sslContextProvider
trustCert
trustManagerFactory
keyCertChain
key
keyPassword
keyManagerFactory
ciphers
cipherFilter
apn
protocols
sessionCacheSize
sessionTimeout
enableOcsp
static io.netty.handler.ssl.ApplicationProtocolConfig toApplicationProtocolConfig(java.lang.Iterable<java.lang.String>);
descriptor: (Ljava/lang/Iterable;)Lio/netty/handler/ssl/ApplicationProtocolConfig;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 3
1: getstatic io.netty.handler.ssl.ApplicationProtocolConfig.DISABLED:Lio/netty/handler/ssl/ApplicationProtocolConfig;
astore 1
start local 1 2: goto 7
end local 1 3: StackMap locals:
StackMap stack:
new io.netty.handler.ssl.ApplicationProtocolConfig
dup
4: getstatic io.netty.handler.ssl.ApplicationProtocolConfig$Protocol.NPN_AND_ALPN:Lio/netty/handler/ssl/ApplicationProtocolConfig$Protocol;
getstatic io.netty.handler.ssl.ApplicationProtocolConfig$SelectorFailureBehavior.CHOOSE_MY_LAST_PROTOCOL:Lio/netty/handler/ssl/ApplicationProtocolConfig$SelectorFailureBehavior;
5: getstatic io.netty.handler.ssl.ApplicationProtocolConfig$SelectedListenerFailureBehavior.ACCEPT:Lio/netty/handler/ssl/ApplicationProtocolConfig$SelectedListenerFailureBehavior;
aload 0
6: invokespecial io.netty.handler.ssl.ApplicationProtocolConfig.<init>:(Lio/netty/handler/ssl/ApplicationProtocolConfig$Protocol;Lio/netty/handler/ssl/ApplicationProtocolConfig$SelectorFailureBehavior;Lio/netty/handler/ssl/ApplicationProtocolConfig$SelectedListenerFailureBehavior;Ljava/lang/Iterable;)V
astore 1
start local 1 7: StackMap locals: io.netty.handler.ssl.ApplicationProtocolConfig
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 nextProtocols Ljava/lang/Iterable<Ljava/lang/String;>;
2 3 1 apn Lio/netty/handler/ssl/ApplicationProtocolConfig;
7 8 1 apn Lio/netty/handler/ssl/ApplicationProtocolConfig;
Signature: (Ljava/lang/Iterable<Ljava/lang/String;>;)Lio/netty/handler/ssl/ApplicationProtocolConfig;
MethodParameters:
Name Flags
nextProtocols
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokespecial io.netty.handler.ssl.SslContext.<init>:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/ssl/SslContext;
protected void <init>(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
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
iload 1
putfield io.netty.handler.ssl.SslContext.startTls:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/ssl/SslContext;
0 3 1 startTls Z
MethodParameters:
Name Flags
startTls
public final boolean isServer();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.handler.ssl.SslContext.isClient:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/ssl/SslContext;
public abstract boolean isClient();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.List<java.lang.String> cipherSuites();
descriptor: ()Ljava/util/List;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public abstract long sessionCacheSize();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract long sessionTimeout();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public final java.util.List<java.lang.String> nextProtocols();
descriptor: ()Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.handler.ssl.SslContext.applicationProtocolNegotiator:()Lio/netty/handler/ssl/ApplicationProtocolNegotiator;
invokeinterface io.netty.handler.ssl.ApplicationProtocolNegotiator.protocols:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/ssl/SslContext;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public abstract io.netty.handler.ssl.ApplicationProtocolNegotiator applicationProtocolNegotiator();
descriptor: ()Lio/netty/handler/ssl/ApplicationProtocolNegotiator;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract javax.net.ssl.SSLEngine newEngine(io.netty.buffer.ByteBufAllocator);
descriptor: (Lio/netty/buffer/ByteBufAllocator;)Ljavax/net/ssl/SSLEngine;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
alloc
public abstract javax.net.ssl.SSLEngine newEngine(io.netty.buffer.ByteBufAllocator, java.lang.String, int);
descriptor: (Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
alloc
peerHost
peerPort
public abstract javax.net.ssl.SSLSessionContext sessionContext();
descriptor: ()Ljavax/net/ssl/SSLSessionContext;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public final io.netty.handler.ssl.SslHandler newHandler(io.netty.buffer.ByteBufAllocator);
descriptor: (Lio/netty/buffer/ByteBufAllocator;)Lio/netty/handler/ssl/SslHandler;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield io.netty.handler.ssl.SslContext.startTls:Z
invokevirtual io.netty.handler.ssl.SslContext.newHandler:(Lio/netty/buffer/ByteBufAllocator;Z)Lio/netty/handler/ssl/SslHandler;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/ssl/SslContext;
0 1 1 alloc Lio/netty/buffer/ByteBufAllocator;
MethodParameters:
Name Flags
alloc
protected io.netty.handler.ssl.SslHandler newHandler(io.netty.buffer.ByteBufAllocator, boolean);
descriptor: (Lio/netty/buffer/ByteBufAllocator;Z)Lio/netty/handler/ssl/SslHandler;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.netty.handler.ssl.SslHandler
dup
aload 0
aload 1
invokevirtual io.netty.handler.ssl.SslContext.newEngine:(Lio/netty/buffer/ByteBufAllocator;)Ljavax/net/ssl/SSLEngine;
iload 2
invokespecial io.netty.handler.ssl.SslHandler.<init>:(Ljavax/net/ssl/SSLEngine;Z)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/ssl/SslContext;
0 1 1 alloc Lio/netty/buffer/ByteBufAllocator;
0 1 2 startTls Z
MethodParameters:
Name Flags
alloc
startTls
public final io.netty.handler.ssl.SslHandler newHandler(io.netty.buffer.ByteBufAllocator, java.lang.String, int);
descriptor: (Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;I)Lio/netty/handler/ssl/SslHandler;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
aload 0
getfield io.netty.handler.ssl.SslContext.startTls:Z
invokevirtual io.netty.handler.ssl.SslContext.newHandler:(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;IZ)Lio/netty/handler/ssl/SslHandler;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/ssl/SslContext;
0 1 1 alloc Lio/netty/buffer/ByteBufAllocator;
0 1 2 peerHost Ljava/lang/String;
0 1 3 peerPort I
MethodParameters:
Name Flags
alloc
peerHost
peerPort
protected io.netty.handler.ssl.SslHandler newHandler(io.netty.buffer.ByteBufAllocator, java.lang.String, int, boolean);
descriptor: (Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;IZ)Lio/netty/handler/ssl/SslHandler;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new io.netty.handler.ssl.SslHandler
dup
aload 0
aload 1
aload 2
iload 3
invokevirtual io.netty.handler.ssl.SslContext.newEngine:(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;
iload 4
invokespecial io.netty.handler.ssl.SslHandler.<init>:(Ljavax/net/ssl/SSLEngine;Z)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/ssl/SslContext;
0 1 1 alloc Lio/netty/buffer/ByteBufAllocator;
0 1 2 peerHost Ljava/lang/String;
0 1 3 peerPort I
0 1 4 startTls Z
MethodParameters:
Name Flags
alloc
peerHost
peerPort
startTls
protected static java.security.spec.PKCS8EncodedKeySpec generateKeySpec(char[], byte[]);
descriptor: ([C[B)Ljava/security/spec/PKCS8EncodedKeySpec;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.security.spec.PKCS8EncodedKeySpec
dup
aload 1
invokespecial java.security.spec.PKCS8EncodedKeySpec.<init>:([B)V
areturn
2: StackMap locals:
StackMap stack:
new javax.crypto.EncryptedPrivateKeyInfo
dup
aload 1
invokespecial javax.crypto.EncryptedPrivateKeyInfo.<init>:([B)V
astore 2
start local 2 3: aload 2
invokevirtual javax.crypto.EncryptedPrivateKeyInfo.getAlgName:()Ljava/lang/String;
invokestatic javax.crypto.SecretKeyFactory.getInstance:(Ljava/lang/String;)Ljavax/crypto/SecretKeyFactory;
astore 3
start local 3 4: new javax.crypto.spec.PBEKeySpec
dup
aload 0
invokespecial javax.crypto.spec.PBEKeySpec.<init>:([C)V
astore 4
start local 4 5: aload 3
aload 4
invokevirtual javax.crypto.SecretKeyFactory.generateSecret:(Ljava/security/spec/KeySpec;)Ljavax/crypto/SecretKey;
astore 5
start local 5 6: aload 2
invokevirtual javax.crypto.EncryptedPrivateKeyInfo.getAlgName:()Ljava/lang/String;
invokestatic javax.crypto.Cipher.getInstance:(Ljava/lang/String;)Ljavax/crypto/Cipher;
astore 6
start local 6 7: aload 6
iconst_2
aload 5
aload 2
invokevirtual javax.crypto.EncryptedPrivateKeyInfo.getAlgParameters:()Ljava/security/AlgorithmParameters;
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/AlgorithmParameters;)V
8: aload 2
aload 6
invokevirtual javax.crypto.EncryptedPrivateKeyInfo.getKeySpec:(Ljavax/crypto/Cipher;)Ljava/security/spec/PKCS8EncodedKeySpec;
areturn
end local 6 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 password [C
0 9 1 key [B
3 9 2 encryptedPrivateKeyInfo Ljavax/crypto/EncryptedPrivateKeyInfo;
4 9 3 keyFactory Ljavax/crypto/SecretKeyFactory;
5 9 4 pbeKeySpec Ljavax/crypto/spec/PBEKeySpec;
6 9 5 pbeKey Ljavax/crypto/SecretKey;
7 9 6 cipher Ljavax/crypto/Cipher;
Exceptions:
throws java.io.IOException, java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException, java.security.spec.InvalidKeySpecException, java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
password
key
static java.security.KeyStore buildKeyStore(java.security.cert.X509Certificate[], java.security.PrivateKey, char[]);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;[C)Ljava/security/KeyStore;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.security.KeyStore.getDefaultType:()Ljava/lang/String;
invokestatic java.security.KeyStore.getInstance:(Ljava/lang/String;)Ljava/security/KeyStore;
astore 3
start local 3 1: aload 3
aconst_null
aconst_null
invokevirtual java.security.KeyStore.load:(Ljava/io/InputStream;[C)V
2: aload 3
ldc "key"
aload 1
aload 2
aload 0
invokevirtual java.security.KeyStore.setKeyEntry:(Ljava/lang/String;Ljava/security/Key;[C[Ljava/security/cert/Certificate;)V
3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 certChain [Ljava/security/cert/X509Certificate;
0 4 1 key Ljava/security/PrivateKey;
0 4 2 keyPasswordChars [C
1 4 3 ks Ljava/security/KeyStore;
Exceptions:
throws java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.io.IOException
MethodParameters:
Name Flags
certChain
key
keyPasswordChars
static java.security.PrivateKey toPrivateKey(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Ljava/security/PrivateKey;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic io.netty.handler.ssl.PemReader.readPrivateKey:(Ljava/io/File;)Lio/netty/buffer/ByteBuf;
aload 1
invokestatic io.netty.handler.ssl.SslContext.getPrivateKeyFromByteBuffer:(Lio/netty/buffer/ByteBuf;Ljava/lang/String;)Ljava/security/PrivateKey;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 keyFile Ljava/io/File;
0 3 1 keyPassword Ljava/lang/String;
Exceptions:
throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException, java.security.spec.InvalidKeySpecException, java.security.InvalidAlgorithmParameterException, java.security.KeyException, java.io.IOException
MethodParameters:
Name Flags
keyFile
keyPassword
static java.security.PrivateKey toPrivateKey(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)Ljava/security/PrivateKey;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic io.netty.handler.ssl.PemReader.readPrivateKey:(Ljava/io/InputStream;)Lio/netty/buffer/ByteBuf;
aload 1
invokestatic io.netty.handler.ssl.SslContext.getPrivateKeyFromByteBuffer:(Lio/netty/buffer/ByteBuf;Ljava/lang/String;)Ljava/security/PrivateKey;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 keyInputStream Ljava/io/InputStream;
0 3 1 keyPassword Ljava/lang/String;
Exceptions:
throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException, java.security.spec.InvalidKeySpecException, java.security.InvalidAlgorithmParameterException, java.security.KeyException, java.io.IOException
MethodParameters:
Name Flags
keyInputStream
keyPassword
private static java.security.PrivateKey getPrivateKeyFromByteBuffer(io.netty.buffer.ByteBuf, java.lang.String);
descriptor: (Lio/netty/buffer/ByteBuf;Ljava/lang/String;)Ljava/security/PrivateKey;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
newarray 8
astore 2
start local 2 1: aload 0
aload 2
invokevirtual io.netty.buffer.ByteBuf.readBytes:([B)Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
2: aload 1
ifnonnull 3
aconst_null
goto 4
StackMap locals: byte[]
StackMap stack:
3: aload 1
invokevirtual java.lang.String.toCharArray:()[C
StackMap locals:
StackMap stack: char[]
4: aload 2
5: invokestatic io.netty.handler.ssl.SslContext.generateKeySpec:([C[B)Ljava/security/spec/PKCS8EncodedKeySpec;
astore 3
start local 3 6: ldc "RSA"
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
aload 3
invokevirtual java.security.KeyFactory.generatePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
7: areturn
8: StackMap locals: io.netty.buffer.ByteBuf java.lang.String byte[] java.security.spec.PKCS8EncodedKeySpec
StackMap stack: java.security.spec.InvalidKeySpecException
pop
9: ldc "DSA"
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
aload 3
invokevirtual java.security.KeyFactory.generatePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
10: areturn
11: StackMap locals:
StackMap stack: java.security.spec.InvalidKeySpecException
pop
12: ldc "EC"
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
aload 3
invokevirtual java.security.KeyFactory.generatePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
13: areturn
14: StackMap locals:
StackMap stack: java.security.spec.InvalidKeySpecException
astore 4
start local 4 15: new java.security.spec.InvalidKeySpecException
dup
ldc "Neither RSA, DSA nor EC worked"
aload 4
invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 encodedKeyBuf Lio/netty/buffer/ByteBuf;
0 16 1 keyPassword Ljava/lang/String;
1 16 2 encodedKey [B
6 16 3 encodedKeySpec Ljava/security/spec/PKCS8EncodedKeySpec;
15 16 4 e Ljava/security/spec/InvalidKeySpecException;
Exception table:
from to target type
6 7 8 Class java.security.spec.InvalidKeySpecException
9 10 11 Class java.security.spec.InvalidKeySpecException
12 13 14 Class java.security.spec.InvalidKeySpecException
Exceptions:
throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException, java.security.spec.InvalidKeySpecException, java.security.InvalidAlgorithmParameterException, java.security.KeyException, java.io.IOException
MethodParameters:
Name Flags
encodedKeyBuf
keyPassword
protected static javax.net.ssl.TrustManagerFactory buildTrustManagerFactory(java.io.File, javax.net.ssl.TrustManagerFactory);
descriptor: (Ljava/io/File;Ljavax/net/ssl/TrustManagerFactory;)Ljavax/net/ssl/TrustManagerFactory;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic io.netty.handler.ssl.SslContext.toX509Certificates:(Ljava/io/File;)[Ljava/security/cert/X509Certificate;
astore 2
start local 2 1: aload 2
aload 1
invokestatic io.netty.handler.ssl.SslContext.buildTrustManagerFactory:([Ljava/security/cert/X509Certificate;Ljavax/net/ssl/TrustManagerFactory;)Ljavax/net/ssl/TrustManagerFactory;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 certChainFile Ljava/io/File;
0 2 1 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
1 2 2 x509Certs [Ljava/security/cert/X509Certificate;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.security.KeyStoreException, java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
certChainFile
trustManagerFactory
static java.security.cert.X509Certificate[] toX509Certificates(java.io.File);
descriptor: (Ljava/io/File;)[Ljava/security/cert/X509Certificate;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic io.netty.handler.ssl.PemReader.readCertificates:(Ljava/io/File;)[Lio/netty/buffer/ByteBuf;
invokestatic io.netty.handler.ssl.SslContext.getCertificatesFromBuffers:([Lio/netty/buffer/ByteBuf;)[Ljava/security/cert/X509Certificate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 file Ljava/io/File;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
file
static java.security.cert.X509Certificate[] toX509Certificates(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)[Ljava/security/cert/X509Certificate;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic io.netty.handler.ssl.PemReader.readCertificates:(Ljava/io/InputStream;)[Lio/netty/buffer/ByteBuf;
invokestatic io.netty.handler.ssl.SslContext.getCertificatesFromBuffers:([Lio/netty/buffer/ByteBuf;)[Ljava/security/cert/X509Certificate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 in Ljava/io/InputStream;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
in
private static java.security.cert.X509Certificate[] getCertificatesFromBuffers(io.netty.buffer.ByteBuf[]);
descriptor: ([Lio/netty/buffer/ByteBuf;)[Ljava/security/cert/X509Certificate;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: ldc "X.509"
invokestatic java.security.cert.CertificateFactory.getInstance:(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
astore 1
start local 1 1: aload 0
arraylength
anewarray java.security.cert.X509Certificate
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 18
4: StackMap locals: java.security.cert.CertificateFactory java.security.cert.X509Certificate[] int
StackMap stack:
new io.netty.buffer.ByteBufInputStream
dup
aload 0
iload 3
aaload
iconst_1
invokespecial io.netty.buffer.ByteBufInputStream.<init>:(Lio/netty/buffer/ByteBuf;Z)V
astore 4
start local 4 5: aload 2
iload 3
aload 1
aload 4
invokevirtual java.security.cert.CertificateFactory.generateCertificate:(Ljava/io/InputStream;)Ljava/security/cert/Certificate;
checkcast java.security.cert.X509Certificate
aastore
6: goto 13
StackMap locals: io.netty.buffer.ByteBuf[] java.security.cert.CertificateFactory java.security.cert.X509Certificate[] int java.io.InputStream
StackMap stack: java.lang.Throwable
7: astore 5
8: aload 4
invokevirtual java.io.InputStream.close:()V
9: goto 12
StackMap locals: io.netty.buffer.ByteBuf[] java.security.cert.CertificateFactory java.security.cert.X509Certificate[] int java.io.InputStream java.lang.Throwable
StackMap stack: java.io.IOException
10: astore 6
start local 6 11: new java.lang.RuntimeException
dup
aload 6
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 12: StackMap locals:
StackMap stack:
aload 5
athrow
13: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.io.InputStream.close:()V
14: goto 17
StackMap locals:
StackMap stack: java.io.IOException
15: astore 6
start local 6 16: new java.lang.RuntimeException
dup
aload 6
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 end local 4 17: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
18: iload 3
aload 0
arraylength
if_icmplt 4
19: goto 28
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 7
21: goto 24
22: StackMap locals: io.netty.buffer.ByteBuf[] java.security.cert.CertificateFactory java.security.cert.X509Certificate[] int top top top java.lang.Throwable
StackMap stack:
aload 0
iload 3
aaload
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
23: iinc 3 1
StackMap locals:
StackMap stack:
24: iload 3
aload 0
arraylength
if_icmplt 22
25: aload 7
athrow
26: StackMap locals: io.netty.buffer.ByteBuf[] java.security.cert.CertificateFactory java.security.cert.X509Certificate[] int
StackMap stack:
aload 0
iload 3
aaload
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
27: iinc 3 1
StackMap locals:
StackMap stack:
28: iload 3
aload 0
arraylength
if_icmplt 26
29: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 certs [Lio/netty/buffer/ByteBuf;
1 30 1 cf Ljava/security/cert/CertificateFactory;
2 30 2 x509Certs [Ljava/security/cert/X509Certificate;
3 30 3 i I
5 17 4 is Ljava/io/InputStream;
11 12 6 e Ljava/io/IOException;
16 17 6 e Ljava/io/IOException;
Exception table:
from to target type
5 7 7 any
8 9 10 Class java.io.IOException
13 14 15 Class java.io.IOException
3 20 20 any
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
certs
static javax.net.ssl.TrustManagerFactory buildTrustManagerFactory(java.security.cert.X509Certificate[], javax.net.ssl.TrustManagerFactory);
descriptor: ([Ljava/security/cert/X509Certificate;Ljavax/net/ssl/TrustManagerFactory;)Ljavax/net/ssl/TrustManagerFactory;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: invokestatic java.security.KeyStore.getDefaultType:()Ljava/lang/String;
invokestatic java.security.KeyStore.getInstance:(Ljava/lang/String;)Ljava/security/KeyStore;
astore 2
start local 2 1: aload 2
aconst_null
aconst_null
invokevirtual java.security.KeyStore.load:(Ljava/io/InputStream;[C)V
2: iconst_1
istore 3
start local 3 3: aload 0
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 9
StackMap locals: java.security.cert.X509Certificate[] javax.net.ssl.TrustManagerFactory java.security.KeyStore int top int int java.security.cert.X509Certificate[]
StackMap stack:
4: aload 7
iload 5
aaload
astore 4
start local 4 5: iload 3
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
astore 8
start local 8 6: aload 2
aload 8
aload 4
invokevirtual java.security.KeyStore.setCertificateEntry:(Ljava/lang/String;Ljava/security/cert/Certificate;)V
7: iinc 3 1
end local 8 end local 4 8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 6
if_icmplt 4
10: aload 1
ifnonnull 12
11: invokestatic javax.net.ssl.TrustManagerFactory.getDefaultAlgorithm:()Ljava/lang/String;
invokestatic javax.net.ssl.TrustManagerFactory.getInstance:(Ljava/lang/String;)Ljavax/net/ssl/TrustManagerFactory;
astore 1
12: StackMap locals: java.security.cert.X509Certificate[] javax.net.ssl.TrustManagerFactory java.security.KeyStore int
StackMap stack:
aload 1
aload 2
invokevirtual javax.net.ssl.TrustManagerFactory.init:(Ljava/security/KeyStore;)V
13: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 certCollection [Ljava/security/cert/X509Certificate;
0 14 1 trustManagerFactory Ljavax/net/ssl/TrustManagerFactory;
1 14 2 ks Ljava/security/KeyStore;
3 14 3 i I
5 8 4 cert Ljava/security/cert/X509Certificate;
6 8 8 alias Ljava/lang/String;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.security.KeyStoreException, java.io.IOException
MethodParameters:
Name Flags
certCollection
trustManagerFactory
static java.security.PrivateKey toPrivateKeyInternal(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Ljava/security/PrivateKey;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic io.netty.handler.ssl.SslContext.toPrivateKey:(Ljava/io/File;Ljava/lang/String;)Ljava/security/PrivateKey;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 3: new javax.net.ssl.SSLException
dup
aload 2
invokespecial javax.net.ssl.SSLException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 keyFile Ljava/io/File;
0 4 1 keyPassword Ljava/lang/String;
3 4 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws javax.net.ssl.SSLException
MethodParameters:
Name Flags
keyFile
keyPassword
static java.security.cert.X509Certificate[] toX509CertificatesInternal(java.io.File);
descriptor: (Ljava/io/File;)[Ljava/security/cert/X509Certificate;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic io.netty.handler.ssl.SslContext.toX509Certificates:(Ljava/io/File;)[Ljava/security/cert/X509Certificate;
1: areturn
2: StackMap locals:
StackMap stack: java.security.cert.CertificateException
astore 1
start local 1 3: new javax.net.ssl.SSLException
dup
aload 1
invokespecial javax.net.ssl.SSLException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 file Ljava/io/File;
3 4 1 e Ljava/security/cert/CertificateException;
Exception table:
from to target type
0 1 2 Class java.security.cert.CertificateException
Exceptions:
throws javax.net.ssl.SSLException
MethodParameters:
Name Flags
file
static javax.net.ssl.KeyManagerFactory buildKeyManagerFactory(java.security.cert.X509Certificate[], java.security.PrivateKey, java.lang.String, javax.net.ssl.KeyManagerFactory);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;)Ljavax/net/ssl/KeyManagerFactory;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic javax.net.ssl.KeyManagerFactory.getDefaultAlgorithm:()Ljava/lang/String;
aload 1
aload 2
aload 3
invokestatic io.netty.handler.ssl.SslContext.buildKeyManagerFactory:([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;)Ljavax/net/ssl/KeyManagerFactory;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 certChain [Ljava/security/cert/X509Certificate;
0 1 1 key Ljava/security/PrivateKey;
0 1 2 keyPassword Ljava/lang/String;
0 1 3 kmf Ljavax/net/ssl/KeyManagerFactory;
Exceptions:
throws java.security.UnrecoverableKeyException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.io.IOException
MethodParameters:
Name Flags
certChain
key
keyPassword
kmf
static javax.net.ssl.KeyManagerFactory buildKeyManagerFactory(java.security.cert.X509Certificate[], java.lang.String, java.security.PrivateKey, java.lang.String, javax.net.ssl.KeyManagerFactory);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;)Ljavax/net/ssl/KeyManagerFactory;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
ifnonnull 1
getstatic io.netty.util.internal.EmptyArrays.EMPTY_CHARS:[C
goto 2
StackMap locals:
StackMap stack:
1: aload 3
invokevirtual java.lang.String.toCharArray:()[C
StackMap locals:
StackMap stack: char[]
2: astore 5
start local 5 3: aload 0
aload 2
aload 5
invokestatic io.netty.handler.ssl.SslContext.buildKeyStore:([Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;[C)Ljava/security/KeyStore;
astore 6
start local 6 4: aload 4
ifnonnull 6
5: aload 1
invokestatic javax.net.ssl.KeyManagerFactory.getInstance:(Ljava/lang/String;)Ljavax/net/ssl/KeyManagerFactory;
astore 4
6: StackMap locals: char[] java.security.KeyStore
StackMap stack:
aload 4
aload 6
aload 5
invokevirtual javax.net.ssl.KeyManagerFactory.init:(Ljava/security/KeyStore;[C)V
7: aload 4
areturn
end local 6 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 8 0 certChainFile [Ljava/security/cert/X509Certificate;
0 8 1 keyAlgorithm Ljava/lang/String;
0 8 2 key Ljava/security/PrivateKey;
0 8 3 keyPassword Ljava/lang/String;
0 8 4 kmf Ljavax/net/ssl/KeyManagerFactory;
3 8 5 keyPasswordChars [C
4 8 6 ks Ljava/security/KeyStore;
Exceptions:
throws java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.io.IOException, java.security.cert.CertificateException, java.security.UnrecoverableKeyException
MethodParameters:
Name Flags
certChainFile
keyAlgorithm
key
keyPassword
kmf
static int[] $SWITCH_TABLE$io$netty$handler$ssl$SslProvider();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.netty.handler.ssl.SslContext.$SWITCH_TABLE$io$netty$handler$ssl$SslProvider:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.netty.handler.ssl.SslProvider.values:()[Lio/netty/handler/ssl/SslProvider;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.netty.handler.ssl.SslProvider.JDK:Lio/netty/handler/ssl/SslProvider;
invokevirtual io.netty.handler.ssl.SslProvider.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.netty.handler.ssl.SslProvider.OPENSSL:Lio/netty/handler/ssl/SslProvider;
invokevirtual io.netty.handler.ssl.SslProvider.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.netty.handler.ssl.SslProvider.OPENSSL_REFCNT:Lio/netty/handler/ssl/SslProvider;
invokevirtual io.netty.handler.ssl.SslProvider.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic io.netty.handler.ssl.SslContext.$SWITCH_TABLE$io$netty$handler$ssl$SslProvider:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "SslContext.java"
InnerClasses:
public final Protocol = io.netty.handler.ssl.ApplicationProtocolConfig$Protocol of io.netty.handler.ssl.ApplicationProtocolConfig
public final SelectedListenerFailureBehavior = io.netty.handler.ssl.ApplicationProtocolConfig$SelectedListenerFailureBehavior of io.netty.handler.ssl.ApplicationProtocolConfig
public final SelectorFailureBehavior = io.netty.handler.ssl.ApplicationProtocolConfig$SelectorFailureBehavior of io.netty.handler.ssl.ApplicationProtocolConfig