final class sun.security.ssl.MaxFragExtension$EEMaxFragmentLengthProducer implements sun.security.ssl.HandshakeProducer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.MaxFragExtension$EEMaxFragmentLengthProducer
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.MaxFragExtension$EEMaxFragmentLengthProducer this
0: .line 454
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 456
return
end local 0 // sun.security.ssl.MaxFragExtension$EEMaxFragmentLengthProducer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/MaxFragExtension$EEMaxFragmentLengthProducer;
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=4, locals=6, args_size=3
start local 0 // sun.security.ssl.MaxFragExtension$EEMaxFragmentLengthProducer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 462
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 3 /* shc */
start local 3 // sun.security.ssl.ServerHandshakeContext shc
1: .line 466
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.CH_MAX_FRAGMENT_LENGTH:Lsun/security/ssl/SSLExtension;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.ssl.MaxFragExtension$MaxFragLenSpec
2: .line 465
astore 4 /* spec */
start local 4 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec spec
3: .line 467
aload 4 /* spec */
ifnonnull 8
4: .line 468
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 7
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 7
5: .line 470
ldc "Ignore unavailable max_fragment_length extension"
iconst_0
anewarray java.lang.Object
6: .line 469
invokestatic sun.security.ssl.SSLLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
7: .line 472
StackMap locals: sun.security.ssl.ServerHandshakeContext sun.security.ssl.MaxFragExtension$MaxFragLenSpec
StackMap stack:
aconst_null
areturn
8: .line 475
StackMap locals:
StackMap stack:
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
ifle 20
9: .line 476
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getfield sun.security.ssl.SSLConfiguration.maximumPacketSize:I
ifeq 20
10: .line 478
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.negotiatedCipherSuite:Lsun/security/ssl/CipherSuite;
11: .line 479
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
12: .line 480
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.isDTLS:()Z
13: .line 478
invokevirtual sun.security.ssl.CipherSuite.calculatePacketSize:(ILsun/security/ssl/ProtocolVersion;Z)I
14: .line 477
istore 5 /* estimatedMaxFragSize */
start local 5 // int estimatedMaxFragSize
15: .line 481
iload 5 /* estimatedMaxFragSize */
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getfield sun.security.ssl.SSLConfiguration.maximumPacketSize:I
if_icmple 20
16: .line 485
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 19
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 19
17: .line 487
ldc "Abort the maximum fragment length negotiation, may overflow the maximum packet size limit."
iconst_0
anewarray java.lang.Object
18: .line 486
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
19: .line 490
StackMap locals: int
StackMap stack:
aload 3 /* shc */
iconst_m1
putfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
end local 5 // int estimatedMaxFragSize
20: .line 495
StackMap locals:
StackMap stack:
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
ifle 32
21: .line 496
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
22: .line 497
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
23: .line 496
invokevirtual sun.security.ssl.SSLSessionImpl.setNegotiatedMaxFragSize:(I)V
24: .line 498
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.inputRecord:Lsun/security/ssl/InputRecord;
25: .line 499
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
26: .line 498
invokevirtual sun.security.ssl.InputRecord.changeFragmentSize:(I)V
27: .line 500
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.outputRecord:Lsun/security/ssl/OutputRecord;
28: .line 501
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
29: .line 500
invokevirtual sun.security.ssl.OutputRecord.changeFragmentSize:(I)V
30: .line 504
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.EE_MAX_FRAGMENT_LENGTH:Lsun/security/ssl/SSLExtension;
aload 4 /* spec */
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
31: .line 505
iconst_1
newarray 8
dup
iconst_0
aload 4 /* spec */
getfield sun.security.ssl.MaxFragExtension$MaxFragLenSpec.id:B
bastore
areturn
32: .line 508
StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec spec
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.MaxFragExtension$EEMaxFragmentLengthProducer this
LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/security/ssl/MaxFragExtension$EEMaxFragmentLengthProducer;
0 33 1 context Lsun/security/ssl/ConnectionContext;
0 33 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 33 3 shc Lsun/security/ssl/ServerHandshakeContext;
3 33 4 spec Lsun/security/ssl/MaxFragExtension$MaxFragLenSpec;
15 20 5 estimatedMaxFragSize I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
}
SourceFile: "MaxFragExtension.java"
NestHost: sun.security.ssl.MaxFragExtension
InnerClasses:
private final EEMaxFragmentLengthProducer = sun.security.ssl.MaxFragExtension$EEMaxFragmentLengthProducer of sun.security.ssl.MaxFragExtension
final MaxFragLenSpec = sun.security.ssl.MaxFragExtension$MaxFragLenSpec of sun.security.ssl.MaxFragExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake