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 409
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 411
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 417
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 4 /* chc */
start local 4 // sun.security.ssl.ClientHandshakeContext chc
1: .line 422
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 421
astore 5 /* requestedSpec */
start local 5 // sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec requestedSpec
3: .line 423
aload 5 /* requestedSpec */
ifnonnull 11
4: .line 424
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.activeCipherSuites:Ljava/util/List;
5: .line 425
getstatic sun.security.ssl.CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV:Lsun/security/ssl/CipherSuite;
6: .line 424
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
7: .line 425
ifne 11
8: .line 426
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 427
ldc "Missing renegotiation_info and SCSV detected in ClientHello"
10: .line 426
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
11: .line 432
StackMap locals: sun.security.ssl.ClientHandshakeContext sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec
StackMap stack:
new sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec
dup
aload 4 /* chc */
aload 3 /* buffer */
invokespecial sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec.<init>:(Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
astore 6 /* spec */
start local 6 // sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec spec
12: .line 433
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.isNegotiated:Z
ifne 19
13: .line 439
aload 6 /* spec */
getfield sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec.renegotiatedConnection:[B
arraylength
ifeq 17
14: .line 440
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
15: .line 441
ldc "Invalid renegotiation_info in ServerHello: not empty renegotiated_connection"
16: .line 440
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
17: .line 445
StackMap locals: sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
iconst_1
putfield sun.security.ssl.TransportContext.secureRenegotiation:Z
18: .line 446
goto 44
19: .line 452
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
20: .line 453
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.serverVerifyData:[B
arraylength
21: .line 452
iadd
istore 7 /* infoLen */
start local 7 // int infoLen
22: .line 454
aload 6 /* spec */
getfield sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec.renegotiatedConnection:[B
arraylength
iload 7 /* infoLen */
if_icmpeq 28
23: .line 455
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
24: .line 456
new java.lang.StringBuilder
dup
ldc "Invalid renegotiation_info in ServerHello: invalid renegotiated_connection length ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
25: .line 458
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;
26: .line 456
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: .line 455
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
28: .line 461
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
29: .line 462
aload 6 /* spec */
getfield sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec.renegotiatedConnection:[B
30: .line 463
iconst_0
aload 8 /* cvd */
arraylength
aload 8 /* cvd */
iconst_0
aload 8 /* cvd */
arraylength
31: .line 462
invokestatic java.util.Arrays.equals:([BII[BII)Z
32: .line 463
ifne 36
33: .line 464
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
34: .line 465
ldc "Invalid renegotiation_info in ServerHello: unmatched client_verify_data value"
35: .line 464
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
36: .line 468
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
37: .line 469
aload 6 /* spec */
getfield sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec.renegotiatedConnection:[B
38: .line 470
aload 8 /* cvd */
arraylength
iload 7 /* infoLen */
aload 9 /* svd */
iconst_0
aload 9 /* svd */
arraylength
39: .line 469
invokestatic java.util.Arrays.equals:([BII[BII)Z
40: .line 470
ifne 44
41: .line 471
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
42: .line 472
ldc "Invalid renegotiation_info in ServerHello: unmatched server_verify_data value"
43: .line 471
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
44: .line 478
StackMap locals:
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
45: .line 479
getstatic sun.security.ssl.SSLExtension.SH_RENEGOTIATION_INFO:Lsun/security/ssl/SSLExtension;
getstatic sun.security.ssl.RenegoInfoExtension$RenegotiationInfoSpec.NOMINAL:Lsun/security/ssl/RenegoInfoExtension$RenegotiationInfoSpec;
46: .line 478
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
47: .line 482
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 48 0 this Lsun/security/ssl/RenegoInfoExtension$SHRenegotiationInfoConsumer;
0 48 1 context Lsun/security/ssl/ConnectionContext;
0 48 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
0 48 3 buffer Ljava/nio/ByteBuffer;
1 48 4 chc Lsun/security/ssl/ClientHandshakeContext;
3 48 5 requestedSpec Lsun/security/ssl/RenegoInfoExtension$RenegotiationInfoSpec;
12 48 6 spec Lsun/security/ssl/RenegoInfoExtension$RenegotiationInfoSpec;
22 44 7 infoLen I
29 44 8 cvd [B
37 44 9 svd [B
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