final class sun.security.ssl.MaxFragExtension$CHMaxFragmentLengthProducer implements sun.security.ssl.HandshakeProducer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.MaxFragExtension$CHMaxFragmentLengthProducer
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$CHMaxFragmentLengthProducer this
0: .line 165
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 167
return
end local 0 // sun.security.ssl.MaxFragExtension$CHMaxFragmentLengthProducer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/MaxFragExtension$CHMaxFragmentLengthProducer;
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=5, locals=6, args_size=3
start local 0 // sun.security.ssl.MaxFragExtension$CHMaxFragmentLengthProducer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 173
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 3 /* chc */
start local 3 // sun.security.ssl.ClientHandshakeContext chc
1: .line 176
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getstatic sun.security.ssl.SSLExtension.CH_MAX_FRAGMENT_LENGTH:Lsun/security/ssl/SSLExtension;
invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
ifne 6
2: .line 177
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 5
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 5
3: .line 179
ldc "Ignore unavailable max_fragment_length extension"
iconst_0
anewarray java.lang.Object
4: .line 178
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
5: .line 181
StackMap locals: sun.security.ssl.ClientHandshakeContext
StackMap stack:
aconst_null
areturn
6: .line 186
StackMap locals:
StackMap stack:
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.isResumption:Z
ifeq 10
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
ifnull 10
7: .line 189
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionImpl.getNegotiatedMaxFragSize:()I
8: .line 188
istore 4 /* requestedMFLength */
start local 4 // int requestedMFLength
9: .line 190
goto 16
end local 4 // int requestedMFLength
StackMap locals:
StackMap stack:
10: aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getfield sun.security.ssl.SSLConfiguration.maximumPacketSize:I
ifeq 15
11: .line 193
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getfield sun.security.ssl.SSLConfiguration.maximumPacketSize:I
12: .line 194
sipush 325
13: .line 193
isub
istore 4 /* requestedMFLength */
start local 4 // int requestedMFLength
14: .line 195
goto 16
end local 4 // int requestedMFLength
15: .line 197
StackMap locals:
StackMap stack:
iconst_m1
istore 4 /* requestedMFLength */
start local 4 // int requestedMFLength
16: .line 200
StackMap locals: int
StackMap stack:
iload 4 /* requestedMFLength */
invokestatic sun.security.ssl.MaxFragExtension$MaxFragLenEnum.valueOf:(I)Lsun/security/ssl/MaxFragExtension$MaxFragLenEnum;
astore 5 /* mfl */
start local 5 // sun.security.ssl.MaxFragExtension$MaxFragLenEnum mfl
17: .line 201
aload 5 /* mfl */
ifnull 22
18: .line 203
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
19: .line 204
getstatic sun.security.ssl.SSLExtension.CH_MAX_FRAGMENT_LENGTH:Lsun/security/ssl/SSLExtension;
new sun.security.ssl.MaxFragExtension$MaxFragLenSpec
dup
aload 5 /* mfl */
getfield sun.security.ssl.MaxFragExtension$MaxFragLenEnum.id:B
invokespecial sun.security.ssl.MaxFragExtension$MaxFragLenSpec.<init>:(B)V
20: .line 203
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
21: .line 206
iconst_1
newarray 8
dup
iconst_0
aload 5 /* mfl */
getfield sun.security.ssl.MaxFragExtension$MaxFragLenEnum.id:B
bastore
areturn
22: .line 209
StackMap locals: sun.security.ssl.MaxFragExtension$MaxFragLenEnum
StackMap stack:
aload 3 /* chc */
iconst_m1
putfield sun.security.ssl.ClientHandshakeContext.maxFragmentLength:I
23: .line 210
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 28
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 28
24: .line 212
new java.lang.StringBuilder
dup
ldc "No available max_fragment_length extension can be used for fragment size of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
25: .line 214
iload 4 /* requestedMFLength */
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "bytes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: .line 212
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
27: .line 211
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
28: .line 218
StackMap locals:
StackMap stack:
aconst_null
areturn
end local 5 // sun.security.ssl.MaxFragExtension$MaxFragLenEnum mfl
end local 4 // int requestedMFLength
end local 3 // sun.security.ssl.ClientHandshakeContext chc
end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
end local 1 // sun.security.ssl.ConnectionContext context
end local 0 // sun.security.ssl.MaxFragExtension$CHMaxFragmentLengthProducer this
LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lsun/security/ssl/MaxFragExtension$CHMaxFragmentLengthProducer;
0 29 1 context Lsun/security/ssl/ConnectionContext;
0 29 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 29 3 chc Lsun/security/ssl/ClientHandshakeContext;
9 10 4 requestedMFLength I
14 15 4 requestedMFLength I
16 29 4 requestedMFLength I
17 29 5 mfl Lsun/security/ssl/MaxFragExtension$MaxFragLenEnum;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
}
SourceFile: "MaxFragExtension.java"
NestHost: sun.security.ssl.MaxFragExtension
InnerClasses:
private final CHMaxFragmentLengthProducer = sun.security.ssl.MaxFragExtension$CHMaxFragmentLengthProducer of sun.security.ssl.MaxFragExtension
final MaxFragLenEnum = sun.security.ssl.MaxFragExtension$MaxFragLenEnum 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