final class sun.security.ssl.MaxFragExtension$SHMaxFragmentLengthProducer implements sun.security.ssl.HandshakeProducer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.MaxFragExtension$SHMaxFragmentLengthProducer
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$SHMaxFragmentLengthProducer this
0: .line 281
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 283
return
end local 0 // sun.security.ssl.MaxFragExtension$SHMaxFragmentLengthProducer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/MaxFragExtension$SHMaxFragmentLengthProducer;
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$SHMaxFragmentLengthProducer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 289
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 3 /* shc */
start local 3 // sun.security.ssl.ServerHandshakeContext shc
1: .line 293
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 292
astore 4 /* spec */
start local 4 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec spec
3: .line 294
aload 4 /* spec */
ifnonnull 8
4: .line 295
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 297
ldc "Ignore unavailable max_fragment_length extension"
iconst_0
anewarray java.lang.Object
6: .line 296
invokestatic sun.security.ssl.SSLLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
7: .line 299
StackMap locals: sun.security.ssl.ServerHandshakeContext sun.security.ssl.MaxFragExtension$MaxFragLenSpec
StackMap stack:
aconst_null
areturn
8: .line 302
StackMap locals:
StackMap stack:
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
ifle 20
9: .line 303
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getfield sun.security.ssl.SSLConfiguration.maximumPacketSize:I
ifeq 20
10: .line 305
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.negotiatedCipherSuite:Lsun/security/ssl/CipherSuite;
11: .line 306
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 307
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.isDTLS:()Z
13: .line 305
invokevirtual sun.security.ssl.CipherSuite.calculatePacketSize:(ILsun/security/ssl/ProtocolVersion;Z)I
14: .line 304
istore 5 /* estimatedMaxFragSize */
start local 5 // int estimatedMaxFragSize
15: .line 308
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 312
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 314
ldc "Abort the maximum fragment length negotiation, may overflow the maximum packet size limit."
iconst_0
anewarray java.lang.Object
18: .line 313
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
19: .line 317
StackMap locals: int
StackMap stack:
aload 3 /* shc */
iconst_m1
putfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
end local 5 // int estimatedMaxFragSize
20: .line 322
StackMap locals:
StackMap stack:
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
ifle 32
21: .line 323
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
22: .line 324
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
23: .line 323
invokevirtual sun.security.ssl.SSLSessionImpl.setNegotiatedMaxFragSize:(I)V
24: .line 325
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 326
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
26: .line 325
invokevirtual sun.security.ssl.InputRecord.changeFragmentSize:(I)V
27: .line 327
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 328
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
29: .line 327
invokevirtual sun.security.ssl.OutputRecord.changeFragmentSize:(I)V
30: .line 331
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.SH_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 332
iconst_1
newarray 8
dup
iconst_0
aload 4 /* spec */
getfield sun.security.ssl.MaxFragExtension$MaxFragLenSpec.id:B
bastore
areturn
32: .line 335
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$SHMaxFragmentLengthProducer this
LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/security/ssl/MaxFragExtension$SHMaxFragmentLengthProducer;
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:
final MaxFragLenSpec = sun.security.ssl.MaxFragExtension$MaxFragLenSpec of sun.security.ssl.MaxFragExtension
private final SHMaxFragmentLengthProducer = sun.security.ssl.MaxFragExtension$SHMaxFragmentLengthProducer of sun.security.ssl.MaxFragExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake