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 167
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 169
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 175
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 3 /* chc */
start local 3 // sun.security.ssl.ClientHandshakeContext chc
1: .line 178
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 179
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 181
ldc "Ignore unavailable max_fragment_length extension"
iconst_0
anewarray java.lang.Object
4: .line 180
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
5: .line 183
StackMap locals: sun.security.ssl.ClientHandshakeContext
StackMap stack:
aconst_null
areturn
6: .line 188
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 191
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionImpl.getNegotiatedMaxFragSize:()I
8: .line 190
istore 4 /* requestedMFLength */
start local 4 // int requestedMFLength
9: .line 192
goto 18
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 17
11: .line 195
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getfield sun.security.ssl.SSLConfiguration.maximumPacketSize:I
istore 4 /* requestedMFLength */
start local 4 // int requestedMFLength
12: .line 196
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.isDTLS:()Z
ifeq 15
13: .line 197
iinc 4 /* requestedMFLength */ -333
14: .line 198
goto 18
15: .line 199
StackMap locals: int
StackMap stack:
iinc 4 /* requestedMFLength */ -325
16: .line 201
goto 18
end local 4 // int requestedMFLength
17: .line 203
StackMap locals:
StackMap stack:
iconst_m1
istore 4 /* requestedMFLength */
start local 4 // int requestedMFLength
18: .line 206
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
19: .line 207
aload 5 /* mfl */
ifnull 24
20: .line 209
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
21: .line 210
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
22: .line 209
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
23: .line 212
iconst_1
newarray 8
dup
iconst_0
aload 5 /* mfl */
getfield sun.security.ssl.MaxFragExtension$MaxFragLenEnum.id:B
bastore
areturn
24: .line 215
StackMap locals: sun.security.ssl.MaxFragExtension$MaxFragLenEnum
StackMap stack:
aload 3 /* chc */
iconst_m1
putfield sun.security.ssl.ClientHandshakeContext.maxFragmentLength:I
25: .line 216
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 30
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 30
26: .line 218
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
27: .line 220
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;
28: .line 218
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
29: .line 217
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
30: .line 224
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 31 0 this Lsun/security/ssl/MaxFragExtension$CHMaxFragmentLengthProducer;
0 31 1 context Lsun/security/ssl/ConnectionContext;
0 31 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 31 3 chc Lsun/security/ssl/ClientHandshakeContext;
9 10 4 requestedMFLength I
12 17 4 requestedMFLength I
18 31 4 requestedMFLength I
19 31 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