final class sun.security.ssl.NewSessionTicket$T12NewSessionTicketProducer implements sun.security.ssl.HandshakeProducer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.NewSessionTicket$T12NewSessionTicketProducer
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // sun.security.ssl.NewSessionTicket$T12NewSessionTicketProducer this
0: .line 448
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 450
return
end local 0 // sun.security.ssl.NewSessionTicket$T12NewSessionTicketProducer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/NewSessionTicket$T12NewSessionTicketProducer;
public byte[] produce(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage);
descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=3
start local 0 // sun.security.ssl.NewSessionTicket$T12NewSessionTicketProducer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 456
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 3 /* shc */
start local 3 // sun.security.ssl.ServerHandshakeContext shc
1: .line 459
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionImpl.isRejoinable:()Z
ifne 3
2: .line 460
aconst_null
areturn
3: .line 464
StackMap locals: sun.security.ssl.ServerHandshakeContext
StackMap stack:
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionImpl.getSessionId:()Lsun/security/ssl/SessionId;
astore 4 /* newId */
start local 4 // sun.security.ssl.SessionId newId
4: .line 467
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.engineGetServerSessionContext:()Ljavax/net/ssl/SSLSessionContext;
5: .line 466
checkcast sun.security.ssl.SSLSessionContextImpl
astore 5 /* sessionCache */
start local 5 // sun.security.ssl.SSLSessionContextImpl sessionCache
6: .line 468
aload 5 /* sessionCache */
invokevirtual sun.security.ssl.SSLSessionContextImpl.getSessionTimeout:()I
istore 6 /* sessionTimeoutSeconds */
start local 6 // int sessionTimeoutSeconds
7: .line 469
iload 6 /* sessionTimeoutSeconds */
ldc 604800
if_icmple 12
8: .line 470
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 11
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 11
9: .line 472
ldc "Session timeout is too long. No ticket sent."
iconst_0
anewarray java.lang.Object
10: .line 471
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
11: .line 474
StackMap locals: sun.security.ssl.SessionId sun.security.ssl.SSLSessionContextImpl int
StackMap stack:
aconst_null
areturn
12: .line 478
StackMap locals:
StackMap stack:
new sun.security.ssl.SSLSessionImpl
dup
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
aload 4 /* newId */
invokespecial sun.security.ssl.SSLSessionImpl.<init>:(Lsun/security/ssl/SSLSessionImpl;Lsun/security/ssl/SessionId;)V
13: .line 477
astore 7 /* sessionCopy */
start local 7 // sun.security.ssl.SSLSessionImpl sessionCopy
14: .line 479
aload 7 /* sessionCopy */
aload 4 /* newId */
invokevirtual sun.security.ssl.SessionId.getId:()[B
invokevirtual sun.security.ssl.SSLSessionImpl.setPskIdentity:([B)V
15: .line 481
new sun.security.ssl.NewSessionTicket$T12NewSessionTicketMessage
dup
aload 3 /* shc */
16: .line 482
iload 6 /* sessionTimeoutSeconds */
17: .line 483
new sun.security.ssl.SessionTicketExtension$SessionTicketSpec
dup
invokespecial sun.security.ssl.SessionTicketExtension$SessionTicketSpec.<init>:()V
aload 3 /* shc */
aload 7 /* sessionCopy */
invokevirtual sun.security.ssl.SessionTicketExtension$SessionTicketSpec.encrypt:(Lsun/security/ssl/HandshakeContext;Lsun/security/ssl/SSLSessionImpl;)[B
18: .line 481
invokespecial sun.security.ssl.NewSessionTicket$T12NewSessionTicketMessage.<init>:(Lsun/security/ssl/HandshakeContext;I[B)V
astore 8 /* nstm */
start local 8 // sun.security.ssl.NewSessionTicket$NewSessionTicketMessage nstm
19: .line 484
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 22
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 22
20: .line 486
ldc "Produced NewSessionTicket stateless handshake message"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 8 /* nstm */
aastore
21: .line 485
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
22: .line 490
StackMap locals: sun.security.ssl.SSLSessionImpl sun.security.ssl.NewSessionTicket$NewSessionTicketMessage
StackMap stack:
aload 8 /* nstm */
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeOutput:Lsun/security/ssl/HandshakeOutStream;
invokevirtual sun.security.ssl.NewSessionTicket$NewSessionTicketMessage.write:(Lsun/security/ssl/HandshakeOutStream;)V
23: .line 491
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeOutput:Lsun/security/ssl/HandshakeOutStream;
invokevirtual sun.security.ssl.HandshakeOutStream.flush:()V
24: .line 494
aconst_null
areturn
end local 8 // sun.security.ssl.NewSessionTicket$NewSessionTicketMessage nstm
end local 7 // sun.security.ssl.SSLSessionImpl sessionCopy
end local 6 // int sessionTimeoutSeconds
end local 5 // sun.security.ssl.SSLSessionContextImpl sessionCache
end local 4 // sun.security.ssl.SessionId newId
end local 3 // sun.security.ssl.ServerHandshakeContext shc
end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
end local 1 // sun.security.ssl.ConnectionContext context
end local 0 // sun.security.ssl.NewSessionTicket$T12NewSessionTicketProducer this
LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/security/ssl/NewSessionTicket$T12NewSessionTicketProducer;
0 25 1 context Lsun/security/ssl/ConnectionContext;
0 25 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 25 3 shc Lsun/security/ssl/ServerHandshakeContext;
4 25 4 newId Lsun/security/ssl/SessionId;
6 25 5 sessionCache Lsun/security/ssl/SSLSessionContextImpl;
7 25 6 sessionTimeoutSeconds I
14 25 7 sessionCopy Lsun/security/ssl/SSLSessionImpl;
19 25 8 nstm Lsun/security/ssl/NewSessionTicket$NewSessionTicketMessage;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
}
SourceFile: "NewSessionTicket.java"
NestHost: sun.security.ssl.NewSessionTicket
InnerClasses:
abstract NewSessionTicketMessage = sun.security.ssl.NewSessionTicket$NewSessionTicketMessage of sun.security.ssl.NewSessionTicket
final T12NewSessionTicketMessage = sun.security.ssl.NewSessionTicket$T12NewSessionTicketMessage of sun.security.ssl.NewSessionTicket
private final T12NewSessionTicketProducer = sun.security.ssl.NewSessionTicket$T12NewSessionTicketProducer of sun.security.ssl.NewSessionTicket
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake
final SessionTicketSpec = sun.security.ssl.SessionTicketExtension$SessionTicketSpec of sun.security.ssl.SessionTicketExtension