public abstract class io.netty.handler.ssl.OpenSslSessionContext implements javax.net.ssl.SSLSessionContext
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.handler.ssl.OpenSslSessionContext
super_class: java.lang.Object
{
private static final java.util.Enumeration<byte[]> EMPTY;
descriptor: Ljava/util/Enumeration;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Enumeration<[B>;
private final io.netty.handler.ssl.OpenSslSessionStats stats;
descriptor: Lio/netty/handler/ssl/OpenSslSessionStats;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final io.netty.handler.ssl.ReferenceCountedOpenSslContext context;
descriptor: Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;
flags: (0x0010) ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.netty.handler.ssl.OpenSslSessionContext$EmptyEnumeration
dup
invokespecial io.netty.handler.ssl.OpenSslSessionContext$EmptyEnumeration.<init>:()V
putstatic io.netty.handler.ssl.OpenSslSessionContext.EMPTY:Ljava/util/Enumeration;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(io.netty.handler.ssl.ReferenceCountedOpenSslContext);
descriptor: (Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.netty.handler.ssl.OpenSslSessionContext.context:Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;
2: aload 0
new io.netty.handler.ssl.OpenSslSessionStats
dup
aload 1
invokespecial io.netty.handler.ssl.OpenSslSessionStats.<init>:(Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;)V
putfield io.netty.handler.ssl.OpenSslSessionContext.stats:Lio/netty/handler/ssl/OpenSslSessionStats;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/ssl/OpenSslSessionContext;
0 4 1 context Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;
MethodParameters:
Name Flags
context
public javax.net.ssl.SSLSession getSession(byte[]);
descriptor: ([B)Ljavax/net/ssl/SSLSession;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "bytes"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/ssl/OpenSslSessionContext;
0 3 1 bytes [B
MethodParameters:
Name Flags
bytes
public java.util.Enumeration<byte[]> getIds();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic io.netty.handler.ssl.OpenSslSessionContext.EMPTY:Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/ssl/OpenSslSessionContext;
Signature: ()Ljava/util/Enumeration<[B>;
public void setTicketKeys(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: aload 1
arraylength
bipush 48
irem
ifeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "keys.length % 48 != 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
arraylength
bipush 48
idiv
anewarray io.netty.internal.tcnative.SessionTicketKey
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 14
6: StackMap locals: io.netty.internal.tcnative.SessionTicketKey[] int int
StackMap stack:
aload 1
iload 4
bipush 16
invokestatic java.util.Arrays.copyOfRange:([BII)[B
astore 5
start local 5 7: iinc 4 16
8: aload 1
iload 4
bipush 16
invokestatic java.util.Arrays.copyOfRange:([BII)[B
astore 6
start local 6 9: iinc 3 16
10: aload 1
iload 4
bipush 16
invokestatic java.util.Arrays.copyOfRange:([BII)[B
astore 7
start local 7 11: iinc 4 16
12: aload 2
iload 3
new io.netty.internal.tcnative.SessionTicketKey
dup
aload 5
aload 6
aload 7
invokespecial io.netty.internal.tcnative.SessionTicketKey.<init>:([B[B[B)V
aastore
end local 7 end local 6 end local 5 13: iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
aload 2
arraylength
if_icmplt 6
end local 4 end local 3 15: aload 0
getfield io.netty.handler.ssl.OpenSslSessionContext.context:Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;
getfield io.netty.handler.ssl.ReferenceCountedOpenSslContext.ctxLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
astore 3
start local 3 16: aload 3
invokeinterface java.util.concurrent.locks.Lock.lock:()V
17: aload 0
getfield io.netty.handler.ssl.OpenSslSessionContext.context:Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;
getfield io.netty.handler.ssl.ReferenceCountedOpenSslContext.ctx:J
getstatic io.netty.internal.tcnative.SSL.SSL_OP_NO_TICKET:I
invokestatic io.netty.internal.tcnative.SSLContext.clearOptions:(JI)V
18: aload 0
getfield io.netty.handler.ssl.OpenSslSessionContext.context:Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;
getfield io.netty.handler.ssl.ReferenceCountedOpenSslContext.ctx:J
aload 2
invokestatic io.netty.internal.tcnative.SSLContext.setSessionTicketKeys:(J[Lio/netty/internal/tcnative/SessionTicketKey;)V
19: goto 23
StackMap locals: io.netty.handler.ssl.OpenSslSessionContext byte[] io.netty.internal.tcnative.SessionTicketKey[] java.util.concurrent.locks.Lock
StackMap stack: java.lang.Throwable
20: astore 4
21: aload 3
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
22: aload 4
athrow
23: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
24: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lio/netty/handler/ssl/OpenSslSessionContext;
0 25 1 keys [B
3 25 2 tickets [Lio/netty/internal/tcnative/SessionTicketKey;
4 15 3 i I
5 15 4 a I
7 13 5 name [B
9 13 6 hmacKey [B
11 13 7 aesKey [B
16 25 3 writerLock Ljava/util/concurrent/locks/Lock;
Exception table:
from to target type
17 20 20 any
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
keys
public void setTicketKeys(io.netty.handler.ssl.OpenSslSessionTicketKey[]);
descriptor: ([Lio/netty/handler/ssl/OpenSslSessionTicketKey;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ldc "keys"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 1
arraylength
anewarray io.netty.internal.tcnative.SessionTicketKey
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: io.netty.internal.tcnative.SessionTicketKey[] int
StackMap stack:
aload 2
iload 3
aload 1
iload 3
aaload
getfield io.netty.handler.ssl.OpenSslSessionTicketKey.key:Lio/netty/internal/tcnative/SessionTicketKey;
aastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 7: aload 0
getfield io.netty.handler.ssl.OpenSslSessionContext.context:Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;
getfield io.netty.handler.ssl.ReferenceCountedOpenSslContext.ctxLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
astore 3
start local 3 8: aload 3
invokeinterface java.util.concurrent.locks.Lock.lock:()V
9: aload 0
getfield io.netty.handler.ssl.OpenSslSessionContext.context:Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;
getfield io.netty.handler.ssl.ReferenceCountedOpenSslContext.ctx:J
getstatic io.netty.internal.tcnative.SSL.SSL_OP_NO_TICKET:I
invokestatic io.netty.internal.tcnative.SSLContext.clearOptions:(JI)V
10: aload 0
getfield io.netty.handler.ssl.OpenSslSessionContext.context:Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;
getfield io.netty.handler.ssl.ReferenceCountedOpenSslContext.ctx:J
aload 2
invokestatic io.netty.internal.tcnative.SSLContext.setSessionTicketKeys:(J[Lio/netty/internal/tcnative/SessionTicketKey;)V
11: goto 15
StackMap locals: io.netty.handler.ssl.OpenSslSessionContext io.netty.handler.ssl.OpenSslSessionTicketKey[] io.netty.internal.tcnative.SessionTicketKey[] java.util.concurrent.locks.Lock
StackMap stack: java.lang.Throwable
12: astore 4
13: aload 3
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
14: aload 4
athrow
15: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/netty/handler/ssl/OpenSslSessionContext;
0 17 1 keys [Lio/netty/handler/ssl/OpenSslSessionTicketKey;
2 17 2 ticketKeys [Lio/netty/internal/tcnative/SessionTicketKey;
3 7 3 i I
8 17 3 writerLock Ljava/util/concurrent/locks/Lock;
Exception table:
from to target type
9 12 12 any
MethodParameters:
Name Flags
keys
public abstract void setSessionCacheEnabled(boolean);
descriptor: (Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
enabled
public abstract boolean isSessionCacheEnabled();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public io.netty.handler.ssl.OpenSslSessionStats stats();
descriptor: ()Lio/netty/handler/ssl/OpenSslSessionStats;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.ssl.OpenSslSessionContext.stats:Lio/netty/handler/ssl/OpenSslSessionStats;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/ssl/OpenSslSessionContext;
}
SourceFile: "OpenSslSessionContext.java"
NestMembers:
io.netty.handler.ssl.OpenSslSessionContext$EmptyEnumeration
InnerClasses:
private final EmptyEnumeration = io.netty.handler.ssl.OpenSslSessionContext$EmptyEnumeration of io.netty.handler.ssl.OpenSslSessionContext