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 491
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 493
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 499
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 3 /* shc */
start local 3 // sun.security.ssl.ServerHandshakeContext shc
1: .line 502
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionImpl.isRejoinable:()Z
ifne 3
2: .line 503
aconst_null
areturn
3: .line 507
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 510
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 509
checkcast sun.security.ssl.SSLSessionContextImpl
astore 5 /* sessionCache */
start local 5 // sun.security.ssl.SSLSessionContextImpl sessionCache
6: .line 511
aload 5 /* sessionCache */
invokevirtual sun.security.ssl.SSLSessionContextImpl.getSessionTimeout:()I
istore 6 /* sessionTimeoutSeconds */
start local 6 // int sessionTimeoutSeconds
7: .line 512
iload 6 /* sessionTimeoutSeconds */
ldc 604800
if_icmple 12
8: .line 513
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 515
ldc "Session timeout is too long. No ticket sent."
iconst_0
anewarray java.lang.Object
10: .line 514
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
11: .line 517
StackMap locals: sun.security.ssl.SessionId sun.security.ssl.SSLSessionContextImpl int
StackMap stack:
aconst_null
areturn
12: .line 521
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 520
astore 7 /* sessionCopy */
start local 7 // sun.security.ssl.SSLSessionImpl sessionCopy
14: .line 522
aload 7 /* sessionCopy */
aload 4 /* newId */
invokevirtual sun.security.ssl.SessionId.getId:()[B
invokevirtual sun.security.ssl.SSLSessionImpl.setPskIdentity:([B)V
15: .line 524
new sun.security.ssl.NewSessionTicket$T12NewSessionTicketMessage
dup
aload 3 /* shc */
16: .line 525
iload 6 /* sessionTimeoutSeconds */
17: .line 526
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 524
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 527
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 23
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 23
20: .line 529
ldc "Produced NewSessionTicket stateless handshake message"
iconst_1
anewarray java.lang.Object
dup
iconst_0
21: .line 530
aload 8 /* nstm */
aastore
22: .line 528
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
23: .line 534
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
24: .line 535
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeOutput:Lsun/security/ssl/HandshakeOutStream;
invokevirtual sun.security.ssl.HandshakeOutStream.flush:()V
25: .line 538
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 26 0 this Lsun/security/ssl/NewSessionTicket$T12NewSessionTicketProducer;
0 26 1 context Lsun/security/ssl/ConnectionContext;
0 26 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 26 3 shc Lsun/security/ssl/ServerHandshakeContext;
4 26 4 newId Lsun/security/ssl/SessionId;
6 26 5 sessionCache Lsun/security/ssl/SSLSessionContextImpl;
7 26 6 sessionTimeoutSeconds I
14 26 7 sessionCopy Lsun/security/ssl/SSLSessionImpl;
19 26 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