final class sun.security.ssl.MaxFragExtension$SHMaxFragmentLengthConsumer 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$SHMaxFragmentLengthConsumer
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$SHMaxFragmentLengthConsumer this
0: .line 341
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 343
return
end local 0 // sun.security.ssl.MaxFragExtension$SHMaxFragmentLengthConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/MaxFragExtension$SHMaxFragmentLengthConsumer;
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=8, args_size=4
start local 0 // sun.security.ssl.MaxFragExtension$SHMaxFragmentLengthConsumer 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 350
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 4 /* chc */
start local 4 // sun.security.ssl.ClientHandshakeContext chc
1: .line 354
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.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 353
astore 5 /* requestedSpec */
start local 5 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec requestedSpec
3: .line 355
aload 5 /* requestedSpec */
ifnonnull 7
4: .line 356
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
5: .line 357
ldc "Unexpected max_fragment_length extension in ServerHello"
6: .line 356
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
7: .line 363
StackMap locals: sun.security.ssl.ClientHandshakeContext sun.security.ssl.MaxFragExtension$MaxFragLenSpec
StackMap stack:
new sun.security.ssl.MaxFragExtension$MaxFragLenSpec
dup
aload 3 /* buffer */
invokespecial sun.security.ssl.MaxFragExtension$MaxFragLenSpec.<init>:(Ljava/nio/ByteBuffer;)V
astore 6 /* spec */
start local 6 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec spec
8: .line 364
goto 11
end local 6 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec spec
StackMap locals:
StackMap stack: java.io.IOException
9: astore 7 /* ioe */
start local 7 // java.io.IOException ioe
10: .line 365
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
aload 7 /* ioe */
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 7 // java.io.IOException ioe
start local 6 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec spec
11: .line 368
StackMap locals: sun.security.ssl.MaxFragExtension$MaxFragLenSpec
StackMap stack:
aload 6 /* spec */
getfield sun.security.ssl.MaxFragExtension$MaxFragLenSpec.id:B
aload 5 /* requestedSpec */
getfield sun.security.ssl.MaxFragExtension$MaxFragLenSpec.id:B
if_icmpeq 15
12: .line 369
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
13: .line 370
ldc "The maximum fragment length response is not requested"
14: .line 369
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
15: .line 373
StackMap locals:
StackMap stack:
aload 6 /* spec */
getfield sun.security.ssl.MaxFragExtension$MaxFragLenSpec.id:B
invokestatic sun.security.ssl.MaxFragExtension$MaxFragLenEnum.valueOf:(B)Lsun/security/ssl/MaxFragExtension$MaxFragLenEnum;
astore 7 /* mfle */
start local 7 // sun.security.ssl.MaxFragExtension$MaxFragLenEnum mfle
16: .line 374
aload 7 /* mfle */
ifnonnull 20
17: .line 375
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
18: .line 376
ldc "the requested maximum fragment length is other than the allowed values"
19: .line 375
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
20: .line 381
StackMap locals: sun.security.ssl.MaxFragExtension$MaxFragLenEnum
StackMap stack:
aload 4 /* chc */
aload 7 /* mfle */
getfield sun.security.ssl.MaxFragExtension$MaxFragLenEnum.fragmentSize:I
putfield sun.security.ssl.ClientHandshakeContext.maxFragmentLength:I
21: .line 382
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.SH_MAX_FRAGMENT_LENGTH:Lsun/security/ssl/SSLExtension;
aload 6 /* spec */
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
22: .line 383
return
end local 7 // sun.security.ssl.MaxFragExtension$MaxFragLenEnum mfle
end local 6 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec spec
end local 5 // sun.security.ssl.MaxFragExtension$MaxFragLenSpec requestedSpec
end local 4 // sun.security.ssl.ClientHandshakeContext chc
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$SHMaxFragmentLengthConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/security/ssl/MaxFragExtension$SHMaxFragmentLengthConsumer;
0 23 1 context Lsun/security/ssl/ConnectionContext;
0 23 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
0 23 3 buffer Ljava/nio/ByteBuffer;
1 23 4 chc Lsun/security/ssl/ClientHandshakeContext;
3 23 5 requestedSpec Lsun/security/ssl/MaxFragExtension$MaxFragLenSpec;
8 9 6 spec Lsun/security/ssl/MaxFragExtension$MaxFragLenSpec;
11 23 6 spec Lsun/security/ssl/MaxFragExtension$MaxFragLenSpec;
10 11 7 ioe Ljava/io/IOException;
16 23 7 mfle Lsun/security/ssl/MaxFragExtension$MaxFragLenEnum;
Exception table:
from to target type
7 8 9 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
buffer
}
SourceFile: "MaxFragExtension.java"
NestHost: sun.security.ssl.MaxFragExtension
InnerClasses:
final MaxFragLenEnum = sun.security.ssl.MaxFragExtension$MaxFragLenEnum of sun.security.ssl.MaxFragExtension
final MaxFragLenSpec = sun.security.ssl.MaxFragExtension$MaxFragLenSpec of sun.security.ssl.MaxFragExtension
private final SHMaxFragmentLengthConsumer = sun.security.ssl.MaxFragExtension$SHMaxFragmentLengthConsumer 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