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 235
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 237
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=4, 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 243
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 4 /* shc */
start local 4 // sun.security.ssl.ServerHandshakeContext shc
1: .line 245
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 246
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 248
ldc "Ignore unavailable max_fragment_length extension"
iconst_0
anewarray java.lang.Object
4: .line 247
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
5: .line 250
StackMap locals: sun.security.ssl.ServerHandshakeContext
StackMap stack:
return
6: .line 254
StackMap locals:
StackMap stack:
new sun.security.ssl.MaxFragExtension$MaxFragLenSpec
dup
aload 4 /* shc */
aload 3 /* buffer */
invokespecial sun.security.ssl.MaxFragExtension$MaxFragLenSpec.<init>:(Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
astore 5 /* spec */
start local 5 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec spec
7: .line 255
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
8: .line 256
aload 6 /* mfle */
ifnonnull 12
9: .line 257
aload 4 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
10: .line 258
ldc "the requested maximum fragment length is other than the allowed values"
11: .line 257
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
12: .line 263
StackMap locals: sun.security.ssl.MaxFragExtension$MaxFragLenSpec 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
13: .line 264
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
14: .line 267
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 15 0 this Lsun/security/ssl/MaxFragExtension$CHMaxFragmentLengthConsumer;
0 15 1 context Lsun/security/ssl/ConnectionContext;
0 15 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
0 15 3 buffer Ljava/nio/ByteBuffer;
1 15 4 shc Lsun/security/ssl/ServerHandshakeContext;
7 15 5 spec Lsun/security/ssl/MaxFragExtension$MaxFragLenSpec;
8 15 6 mfle Lsun/security/ssl/MaxFragExtension$MaxFragLenEnum;
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