final class sun.security.ssl.RenegoInfoExtension$SHRenegotiationInfoConsumer implements sun.security.ssl.SSLExtension$ExtensionConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.RenegoInfoExtension$SHRenegotiationInfoConsumer
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.RenegoInfoExtension$SHRenegotiationInfoConsumer this
0: .line 413
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 415
return
end local 0 // sun.security.ssl.RenegoInfoExtension$SHRenegotiationInfoConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/RenegoInfoExtension$SHRenegotiationInfoConsumer;
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=6, locals=10, args_size=4
start local 0 // sun.security.ssl.RenegoInfoExtension$SHRenegotiationInfoConsumer 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 421
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 4 /* chc */
start local 4 // sun.security.ssl.ClientHandshakeContext chc
1: .line 426
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.CH_RENEGOTIATION_INFO:Lsun/security/ssl/SSLExtension;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec
2: .line 425
astore 5 /* requestedSpec */
start local 5 // sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec requestedSpec
3: .line 427
aload 5 /* requestedSpec */
ifnonnull 11
4: .line 428
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.activeCipherSuites:Ljava/util/List;
5: .line 429
getstatic sun.security.ssl.CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV:Lsun/security/ssl/CipherSuite;
6: .line 428
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
7: .line 429
ifne 11
8: .line 430
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
9: .line 431
ldc "Missing renegotiation_info and SCSV detected in ClientHello"
10: .line 430
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
11: .line 438
StackMap locals: sun.security.ssl.ClientHandshakeContext sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec
StackMap stack:
new sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec
dup
aload 3 /* buffer */
invokespecial sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec.<init>:(Ljava/nio/ByteBuffer;)V
astore 6 /* spec */
start local 6 // sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec spec
12: .line 439
goto 15
end local 6 // sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec spec
StackMap locals:
StackMap stack: java.io.IOException
13: astore 7 /* ioe */
start local 7 // java.io.IOException ioe
14: .line 440
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.RenegoInfoExtension$RenegotiationInfoSpec spec
15: .line 444
StackMap locals: sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.isNegotiated:Z
ifne 22
16: .line 450
aload 6 /* spec */
getfield sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec.renegotiatedConnection:[B
arraylength
ifeq 20
17: .line 451
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
18: .line 452
ldc "Invalid renegotiation_info in ServerHello: not empty renegotiated_connection"
19: .line 451
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
20: .line 456
StackMap locals:
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
iconst_1
putfield sun.security.ssl.TransportContext.secureRenegotiation:Z
21: .line 457
goto 47
22: .line 463
StackMap locals:
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.clientVerifyData:[B
arraylength
23: .line 464
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.serverVerifyData:[B
arraylength
24: .line 463
iadd
istore 7 /* infoLen */
start local 7 // int infoLen
25: .line 465
aload 6 /* spec */
getfield sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec.renegotiatedConnection:[B
arraylength
iload 7 /* infoLen */
if_icmpeq 31
26: .line 466
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
27: .line 467
new java.lang.StringBuilder
dup
ldc "Invalid renegotiation_info in ServerHello: invalid renegotiated_connection length ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
28: .line 469
aload 6 /* spec */
getfield sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec.renegotiatedConnection:[B
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
29: .line 467
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
30: .line 466
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
31: .line 472
StackMap locals: int
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.clientVerifyData:[B
astore 8 /* cvd */
start local 8 // byte[] cvd
32: .line 473
aload 6 /* spec */
getfield sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec.renegotiatedConnection:[B
33: .line 474
iconst_0
aload 8 /* cvd */
arraylength
aload 8 /* cvd */
iconst_0
aload 8 /* cvd */
arraylength
34: .line 473
invokestatic java.util.Arrays.equals:([BII[BII)Z
35: .line 474
ifne 39
36: .line 475
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
37: .line 476
ldc "Invalid renegotiation_info in ServerHello: unmatched client_verify_data value"
38: .line 475
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
39: .line 479
StackMap locals: byte[]
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.serverVerifyData:[B
astore 9 /* svd */
start local 9 // byte[] svd
40: .line 480
aload 6 /* spec */
getfield sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec.renegotiatedConnection:[B
41: .line 481
aload 8 /* cvd */
arraylength
iload 7 /* infoLen */
aload 9 /* svd */
iconst_0
aload 9 /* svd */
arraylength
42: .line 480
invokestatic java.util.Arrays.equals:([BII[BII)Z
43: .line 481
ifne 47
44: .line 482
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
45: .line 483
ldc "Invalid renegotiation_info in ServerHello: unmatched server_verify_data value"
46: .line 482
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
end local 9 // byte[] svd
end local 8 // byte[] cvd
end local 7 // int infoLen
47: .line 489
StackMap locals:
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
48: .line 490
getstatic sun.security.ssl.SSLExtension.SH_RENEGOTIATION_INFO:Lsun/security/ssl/SSLExtension;
getstatic sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec.NOMINAL:Lsun/security/ssl/RenegoInfoExtension$RenegotiationInfoSpec;
49: .line 489
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
50: .line 493
return
end local 6 // sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec spec
end local 5 // sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec 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.RenegoInfoExtension$SHRenegotiationInfoConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lsun/security/ssl/RenegoInfoExtension$SHRenegotiationInfoConsumer;
0 51 1 context Lsun/security/ssl/ConnectionContext;
0 51 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
0 51 3 buffer Ljava/nio/ByteBuffer;
1 51 4 chc Lsun/security/ssl/ClientHandshakeContext;
3 51 5 requestedSpec Lsun/security/ssl/RenegoInfoExtension$RenegotiationInfoSpec;
12 13 6 spec Lsun/security/ssl/RenegoInfoExtension$RenegotiationInfoSpec;
15 51 6 spec Lsun/security/ssl/RenegoInfoExtension$RenegotiationInfoSpec;
14 15 7 ioe Ljava/io/IOException;
25 47 7 infoLen I
32 47 8 cvd [B
40 47 9 svd [B
Exception table:
from to target type
11 12 13 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
buffer
}
SourceFile: "RenegoInfoExtension.java"
NestHost: sun.security.ssl.RenegoInfoExtension
InnerClasses:
final RenegotiationInfoSpec = sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec of sun.security.ssl.RenegoInfoExtension
private final SHRenegotiationInfoConsumer = sun.security.ssl.RenegoInfoExtension$SHRenegotiationInfoConsumer of sun.security.ssl.RenegoInfoExtension
abstract ExtensionConsumer = sun.security.ssl.SSLExtension$ExtensionConsumer of sun.security.ssl.SSLExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake