final class sun.security.ssl.SessionTicketExtension$T12CHSessionTicketConsumer implements sun.security.ssl.SSLExtension$ExtensionConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.SessionTicketExtension$T12CHSessionTicketConsumer
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/SessionTicketExtension$T12CHSessionTicketConsumer;
public void consume(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
checkcast sun.security.ssl.ServerHandshakeContext
astore 4
start local 4 1: aload 4
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getstatic sun.security.ssl.SSLExtension.CH_SESSION_TICKET:Lsun/security/ssl/SSLExtension;
invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
ifne 3
2: return
3: StackMap locals: sun.security.ssl.ServerHandshakeContext
StackMap stack:
aload 4
getfield sun.security.ssl.ServerHandshakeContext.statelessResumption:Z
ifeq 5
4: return
5: StackMap locals:
StackMap stack:
aload 4
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
6: invokevirtual sun.security.ssl.SSLContextImpl.engineGetServerSessionContext:()Ljavax/net/ssl/SSLSessionContext;
7: checkcast sun.security.ssl.SSLSessionContextImpl
astore 5
start local 5 8: aload 5
invokevirtual sun.security.ssl.SSLSessionContextImpl.statelessEnabled:()Z
ifne 10
9: return
10: StackMap locals: sun.security.ssl.SSLSessionContextImpl
StackMap stack:
aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 15
11: aload 4
iconst_1
putfield sun.security.ssl.ServerHandshakeContext.statelessResumption:Z
12: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 14
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 14
13: ldc "Client accepts session tickets."
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
14: StackMap locals:
StackMap stack:
return
15: StackMap locals:
StackMap stack:
new sun.security.ssl.SessionTicketExtension$SessionTicketSpec
dup
aload 3
invokespecial sun.security.ssl.SessionTicketExtension$SessionTicketSpec.<init>:(Ljava/nio/ByteBuffer;)V
astore 6
start local 6 16: goto 21
end local 6 StackMap locals:
StackMap stack: java.lang.Exception
17: pop
18: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 20
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 20
19: ldc "SessionTicket data invalid. Doing full handshake."
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
20: StackMap locals:
StackMap stack:
return
start local 6 21: StackMap locals: sun.security.ssl.SessionTicketExtension$SessionTicketSpec
StackMap stack:
aload 6
aload 4
invokevirtual sun.security.ssl.SessionTicketExtension$SessionTicketSpec.decrypt:(Lsun/security/ssl/HandshakeContext;)Ljava/nio/ByteBuffer;
astore 7
start local 7 22: aload 7
ifnull 28
23: aload 4
new sun.security.ssl.SSLSessionImpl
dup
aload 4
aload 7
invokespecial sun.security.ssl.SSLSessionImpl.<init>:(Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
putfield sun.security.ssl.ServerHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
24: aload 4
iconst_1
putfield sun.security.ssl.ServerHandshakeContext.isResumption:Z
25: aload 4
iconst_1
putfield sun.security.ssl.ServerHandshakeContext.statelessResumption:Z
26: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 28
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 28
27: ldc "Valid stateless session ticket found"
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
28: StackMap locals: java.nio.ByteBuffer
StackMap stack:
return
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 29 0 this Lsun/security/ssl/SessionTicketExtension$T12CHSessionTicketConsumer;
0 29 1 context Lsun/security/ssl/ConnectionContext;
0 29 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
0 29 3 buffer Ljava/nio/ByteBuffer;
1 29 4 shc Lsun/security/ssl/ServerHandshakeContext;
8 29 5 cache Lsun/security/ssl/SSLSessionContextImpl;
16 17 6 spec Lsun/security/ssl/SessionTicketExtension$SessionTicketSpec;
21 29 6 spec Lsun/security/ssl/SessionTicketExtension$SessionTicketSpec;
22 29 7 b Ljava/nio/ByteBuffer;
Exception table:
from to target type
15 16 17 Class java.io.IOException
15 16 17 Class java.lang.RuntimeException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
buffer
}
SourceFile: "SessionTicketExtension.java"
NestHost: sun.security.ssl.SessionTicketExtension
InnerClasses:
abstract ExtensionConsumer = sun.security.ssl.SSLExtension$ExtensionConsumer of sun.security.ssl.SSLExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake
final SessionTicketSpec = sun.security.ssl.SessionTicketExtension$SessionTicketSpec of sun.security.ssl.SessionTicketExtension
private final T12CHSessionTicketConsumer = sun.security.ssl.SessionTicketExtension$T12CHSessionTicketConsumer of sun.security.ssl.SessionTicketExtension