final class sun.security.ssl.MaxFragExtension$CHMaxFragmentLengthConsumer implements sun.security.ssl.SSLExtension$ExtensionConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.MaxFragExtension$CHMaxFragmentLengthConsumer
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$CHMaxFragmentLengthConsumer this
0: .line 233
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 235
return
end local 0 // sun.security.ssl.MaxFragExtension$CHMaxFragmentLengthConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/MaxFragExtension$CHMaxFragmentLengthConsumer;
public void consume(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=4
start local 0 // sun.security.ssl.MaxFragExtension$CHMaxFragmentLengthConsumer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
start local 3 // java.nio.ByteBuffer buffer
0: .line 241
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 4 /* shc */
start local 4 // sun.security.ssl.ServerHandshakeContext shc
1: .line 243
aload 4 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.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 244
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 246
ldc "Ignore unavailable max_fragment_length extension"
iconst_0
anewarray java.lang.Object
4: .line 245
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
5: .line 248
StackMap locals: sun.security.ssl.ServerHandshakeContext
StackMap stack:
return
6: .line 254
StackMap locals:
StackMap stack:
new sun.security.ssl.MaxFragExtension$MaxFragLenSpec
dup
aload 3 /* buffer */
invokespecial sun.security.ssl.MaxFragExtension$MaxFragLenSpec.<init>:(Ljava/nio/ByteBuffer;)V
astore 5 /* spec */
start local 5 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec spec
7: .line 255
goto 10
end local 5 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec spec
StackMap locals:
StackMap stack: java.io.IOException
8: astore 6 /* ioe */
start local 6 // java.io.IOException ioe
9: .line 256
aload 4 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
aload 6 /* ioe */
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 6 // java.io.IOException ioe
start local 5 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec spec
10: .line 259
StackMap locals: sun.security.ssl.MaxFragExtension$MaxFragLenSpec
StackMap stack:
aload 5 /* spec */
getfield sun.security.ssl.MaxFragExtension$MaxFragLenSpec.id:B
invokestatic sun.security.ssl.MaxFragExtension$MaxFragLenEnum.valueOf:(B)Lsun/security/ssl/MaxFragExtension$MaxFragLenEnum;
astore 6 /* mfle */
start local 6 // sun.security.ssl.MaxFragExtension$MaxFragLenEnum mfle
11: .line 260
aload 6 /* mfle */
ifnonnull 15
12: .line 261
aload 4 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
13: .line 262
ldc "the requested maximum fragment length is other than the allowed values"
14: .line 261
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
15: .line 267
StackMap locals: sun.security.ssl.MaxFragExtension$MaxFragLenEnum
StackMap stack:
aload 4 /* shc */
aload 6 /* mfle */
getfield sun.security.ssl.MaxFragExtension$MaxFragLenEnum.fragmentSize:I
putfield sun.security.ssl.ServerHandshakeContext.maxFragmentLength:I
16: .line 268
aload 4 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.CH_MAX_FRAGMENT_LENGTH:Lsun/security/ssl/SSLExtension;
aload 5 /* spec */
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: .line 271
return
end local 6 // sun.security.ssl.MaxFragExtension$MaxFragLenEnum mfle
end local 5 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec spec
end local 4 // sun.security.ssl.ServerHandshakeContext shc
end local 3 // java.nio.ByteBuffer buffer
end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
end local 1 // sun.security.ssl.ConnectionContext context
end local 0 // sun.security.ssl.MaxFragExtension$CHMaxFragmentLengthConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/security/ssl/MaxFragExtension$CHMaxFragmentLengthConsumer;
0 18 1 context Lsun/security/ssl/ConnectionContext;
0 18 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
0 18 3 buffer Ljava/nio/ByteBuffer;
1 18 4 shc Lsun/security/ssl/ServerHandshakeContext;
7 8 5 spec Lsun/security/ssl/MaxFragExtension$MaxFragLenSpec;
10 18 5 spec Lsun/security/ssl/MaxFragExtension$MaxFragLenSpec;
9 10 6 ioe Ljava/io/IOException;
11 18 6 mfle Lsun/security/ssl/MaxFragExtension$MaxFragLenEnum;
Exception table:
from to target type
6 7 8 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
buffer
}
SourceFile: "MaxFragExtension.java"
NestHost: sun.security.ssl.MaxFragExtension
InnerClasses:
private final CHMaxFragmentLengthConsumer = sun.security.ssl.MaxFragExtension$CHMaxFragmentLengthConsumer 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 ExtensionConsumer = sun.security.ssl.SSLExtension$ExtensionConsumer of sun.security.ssl.SSLExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake