public abstract class org.apache.cassandra.transport.Server$AbstractSecureIntializer extends org.apache.cassandra.transport.Server$Initializer
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.transport.Server$AbstractSecureIntializer
super_class: org.apache.cassandra.transport.Server$Initializer
{
private final javax.net.ssl.SSLContext sslContext;
descriptor: Ljavax/net/ssl/SSLContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.config.EncryptionOptions encryptionOptions;
descriptor: Lorg/apache/cassandra/config/EncryptionOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(org.apache.cassandra.transport.Server, org.apache.cassandra.config.EncryptionOptions);
descriptor: (Lorg/apache/cassandra/transport/Server;Lorg/apache/cassandra/config/EncryptionOptions;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.apache.cassandra.transport.Server$Initializer.<init>:(Lorg/apache/cassandra/transport/Server;)V
1: aload 0
aload 2
putfield org.apache.cassandra.transport.Server$AbstractSecureIntializer.encryptionOptions:Lorg/apache/cassandra/config/EncryptionOptions;
2: aload 0
aload 2
aload 2
getfield org.apache.cassandra.config.EncryptionOptions.require_client_auth:Z
invokestatic org.apache.cassandra.security.SSLFactory.createSSLContext:(Lorg/apache/cassandra/config/EncryptionOptions;Z)Ljavax/net/ssl/SSLContext;
putfield org.apache.cassandra.transport.Server$AbstractSecureIntializer.sslContext:Ljavax/net/ssl/SSLContext;
3: goto 6
4: StackMap locals: org.apache.cassandra.transport.Server$AbstractSecureIntializer org.apache.cassandra.transport.Server org.apache.cassandra.config.EncryptionOptions
StackMap stack: java.io.IOException
astore 3
start local 3 5: new java.lang.RuntimeException
dup
ldc "Failed to setup secure pipeline"
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/transport/Server$AbstractSecureIntializer;
0 7 1 server Lorg/apache/cassandra/transport/Server;
0 7 2 encryptionOptions Lorg/apache/cassandra/config/EncryptionOptions;
5 6 3 e Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
MethodParameters:
Name Flags
server
encryptionOptions
protected final io.netty.handler.ssl.SslHandler createSslHandler();
descriptor: ()Lio/netty/handler/ssl/SslHandler;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.transport.Server$AbstractSecureIntializer.sslContext:Ljavax/net/ssl/SSLContext;
invokevirtual javax.net.ssl.SSLContext.createSSLEngine:()Ljavax/net/ssl/SSLEngine;
astore 1
start local 1 1: aload 1
iconst_0
invokevirtual javax.net.ssl.SSLEngine.setUseClientMode:(Z)V
2: aload 1
invokevirtual javax.net.ssl.SSLEngine.getSupportedCipherSuites:()[Ljava/lang/String;
aload 0
getfield org.apache.cassandra.transport.Server$AbstractSecureIntializer.encryptionOptions:Lorg/apache/cassandra/config/EncryptionOptions;
getfield org.apache.cassandra.config.EncryptionOptions.cipher_suites:[Ljava/lang/String;
invokestatic org.apache.cassandra.security.SSLFactory.filterCipherSuites:([Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 3: aload 1
aload 2
invokevirtual javax.net.ssl.SSLEngine.setEnabledCipherSuites:([Ljava/lang/String;)V
4: aload 1
aload 0
getfield org.apache.cassandra.transport.Server$AbstractSecureIntializer.encryptionOptions:Lorg/apache/cassandra/config/EncryptionOptions;
getfield org.apache.cassandra.config.EncryptionOptions.require_client_auth:Z
invokevirtual javax.net.ssl.SSLEngine.setNeedClientAuth:(Z)V
5: new io.netty.handler.ssl.SslHandler
dup
aload 1
invokespecial io.netty.handler.ssl.SslHandler.<init>:(Ljavax/net/ssl/SSLEngine;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/transport/Server$AbstractSecureIntializer;
1 6 1 sslEngine Ljavax/net/ssl/SSLEngine;
3 6 2 suites [Ljava/lang/String;
}
SourceFile: "Server.java"
NestHost: org.apache.cassandra.transport.Server
InnerClasses:
protected abstract AbstractSecureIntializer = org.apache.cassandra.transport.Server$AbstractSecureIntializer of org.apache.cassandra.transport.Server
private Initializer = org.apache.cassandra.transport.Server$Initializer of org.apache.cassandra.transport.Server