final class sun.security.ssl.ClientHello$T12ClientHelloConsumer implements sun.security.ssl.HandshakeConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.ClientHello$T12ClientHelloConsumer
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 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/ClientHello$T12ClientHelloConsumer;
public void consume(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage);
descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 1
checkcast sun.security.ssl.ServerHandshakeContext
astore 3
start local 3 1: aload 2
checkcast sun.security.ssl.ClientHello$ClientHelloMessage
astore 4
start local 4 2: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.isNegotiated:Z
ifeq 13
3: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.secureRenegotiation:Z
ifne 8
4: getstatic sun.security.ssl.HandshakeContext.allowUnsafeRenegotiation:Z
ifne 8
5: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
6: ldc "Unsafe renegotiation is not allowed"
7: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
8: StackMap locals: sun.security.ssl.ServerHandshakeContext sun.security.ssl.ClientHello$ClientHelloMessage
StackMap stack:
getstatic sun.security.ssl.ServerHandshakeContext.rejectClientInitiatedRenego:Z
ifeq 13
9: aload 3
getfield sun.security.ssl.ServerHandshakeContext.kickstartMessageDelivered:Z
ifne 13
10: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
11: ldc "Client initiated renegotiation is not allowed"
12: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
13: StackMap locals:
StackMap stack:
aload 4
getfield sun.security.ssl.ClientHello$ClientHelloMessage.sessionId:Lsun/security/ssl/SessionId;
invokevirtual sun.security.ssl.SessionId.length:()I
ifeq 71
14: aload 3
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
15: invokevirtual sun.security.ssl.SSLContextImpl.engineGetServerSessionContext:()Ljavax/net/ssl/SSLSessionContext;
16: checkcast sun.security.ssl.SSLSessionContextImpl
17: aload 4
getfield sun.security.ssl.ClientHello$ClientHelloMessage.sessionId:Lsun/security/ssl/SessionId;
invokevirtual sun.security.ssl.SessionId.getId:()[B
invokevirtual sun.security.ssl.SSLSessionContextImpl.get:([B)Lsun/security/ssl/SSLSessionImpl;
18: astore 5
start local 5 19: aload 5
ifnull 21
aload 5
invokevirtual sun.security.ssl.SSLSessionImpl.isRejoinable:()Z
ifeq 21
20: iconst_1
goto 22
StackMap locals: sun.security.ssl.SSLSessionImpl
StackMap stack:
21: iconst_0
StackMap locals:
StackMap stack: int
22: istore 6
start local 6 23: iload 6
ifne 28
24: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 28
25: ldc "ssl,handshake,verbose"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 28
26: ldc "Can't resume, the existing session is not rejoinable"
iconst_0
anewarray java.lang.Object
27: invokestatic sun.security.ssl.SSLLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
28: StackMap locals: int
StackMap stack:
iload 6
ifeq 37
29: aload 5
invokevirtual sun.security.ssl.SSLSessionImpl.getProtocolVersion:()Lsun/security/ssl/ProtocolVersion;
30: astore 7
start local 7 31: aload 7
aload 3
getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
if_acmpeq 37
32: iconst_0
istore 6
33: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 37
34: ldc "ssl,handshake,verbose"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 37
35: ldc "Can't resume, not the same protocol version"
iconst_0
anewarray java.lang.Object
36: invokestatic sun.security.ssl.SSLLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 7 37: StackMap locals:
StackMap stack:
iload 6
ifeq 47
38: aload 3
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getfield sun.security.ssl.SSLConfiguration.clientAuthType:Lsun/security/ssl/ClientAuthType;
getstatic sun.security.ssl.ClientAuthType.CLIENT_AUTH_REQUIRED:Lsun/security/ssl/ClientAuthType;
if_acmpne 47
39: aload 5
invokevirtual sun.security.ssl.SSLSessionImpl.getPeerPrincipal:()Ljava/security/Principal;
pop
40: goto 47
StackMap locals:
StackMap stack: javax.net.ssl.SSLPeerUnverifiedException
41: pop
42: iconst_0
istore 6
43: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 47
44: ldc "ssl,handshake,verbose"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 47
45: ldc "Can't resume, client authentication is required"
iconst_0
anewarray java.lang.Object
46: invokestatic sun.security.ssl.SSLLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
47: StackMap locals:
StackMap stack:
iload 6
ifeq 56
48: aload 5
invokevirtual sun.security.ssl.SSLSessionImpl.getSuite:()Lsun/security/ssl/CipherSuite;
astore 7
start local 7 49: aload 3
aload 7
invokevirtual sun.security.ssl.ServerHandshakeContext.isNegotiable:(Lsun/security/ssl/CipherSuite;)Z
ifeq 51
50: aload 4
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuites:Ljava/util/List;
aload 7
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 56
51: StackMap locals: sun.security.ssl.CipherSuite
StackMap stack:
iconst_0
istore 6
52: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 56
53: ldc "ssl,handshake,verbose"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 56
54: ldc "Can't resume, the session cipher suite is absent"
iconst_0
anewarray java.lang.Object
55: invokestatic sun.security.ssl.SSLLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 7 56: StackMap locals:
StackMap stack:
aload 3
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getfield sun.security.ssl.SSLConfiguration.identificationProtocol:Ljava/lang/String;
astore 7
start local 7 57: iload 6
ifeq 67
aload 7
ifnull 67
58: aload 5
invokevirtual sun.security.ssl.SSLSessionImpl.getIdentificationProtocol:()Ljava/lang/String;
59: astore 8
start local 8 60: aload 7
aload 8
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 67
61: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 66
62: ldc "ssl,handshake,verbose"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 66
63: new java.lang.StringBuilder
dup
ldc "Can't resume, endpoint id algorithm does not match, requested: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
64: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", cached: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
65: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
66: StackMap locals: java.lang.String java.lang.String
StackMap stack:
iconst_0
istore 6
end local 8 67: StackMap locals:
StackMap stack:
aload 3
iload 6
putfield sun.security.ssl.ServerHandshakeContext.isResumption:Z
68: aload 3
iload 6
ifeq 69
aload 5
goto 70
StackMap locals:
StackMap stack: sun.security.ssl.ServerHandshakeContext
69: aconst_null
StackMap locals: sun.security.ssl.ClientHello$T12ClientHelloConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.SSLSessionImpl int java.lang.String
StackMap stack: sun.security.ssl.ServerHandshakeContext sun.security.ssl.SSLSessionImpl
70: putfield sun.security.ssl.ServerHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
end local 7 end local 6 end local 5 71: StackMap locals:
StackMap stack:
aload 3
aload 4
getfield sun.security.ssl.ClientHello$ClientHelloMessage.clientRandom:Lsun/security/ssl/RandomCookie;
putfield sun.security.ssl.ServerHandshakeContext.clientHelloRandom:Lsun/security/ssl/RandomCookie;
72: aload 3
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
73: getstatic sun.security.ssl.SSLHandshake.CLIENT_HELLO:Lsun/security/ssl/SSLHandshake;
74: invokevirtual sun.security.ssl.SSLConfiguration.getEnabledExtensions:(Lsun/security/ssl/SSLHandshake;)[Lsun/security/ssl/SSLExtension;
astore 5
start local 5 75: aload 4
getfield sun.security.ssl.ClientHello$ClientHelloMessage.extensions:Lsun/security/ssl/SSLExtensions;
aload 3
aload 5
invokevirtual sun.security.ssl.SSLExtensions.consumeOnLoad:(Lsun/security/ssl/HandshakeContext;[Lsun/security/ssl/SSLExtension;)V
76: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.isNegotiated:Z
ifne 79
77: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
aload 3
getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
putfield sun.security.ssl.TransportContext.protocolVersion:Lsun/security/ssl/ProtocolVersion;
78: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.outputRecord:Lsun/security/ssl/OutputRecord;
aload 3
getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.OutputRecord.setVersion:(Lsun/security/ssl/ProtocolVersion;)V
79: StackMap locals: sun.security.ssl.SSLExtension[]
StackMap stack:
aload 3
getfield sun.security.ssl.ServerHandshakeContext.handshakeProducers:Ljava/util/HashMap;
getstatic sun.security.ssl.SSLHandshake.SERVER_HELLO:Lsun/security/ssl/SSLHandshake;
getfield sun.security.ssl.SSLHandshake.id:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
80: getstatic sun.security.ssl.SSLHandshake.SERVER_HELLO:Lsun/security/ssl/SSLHandshake;
81: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
82: bipush 7
anewarray sun.security.ssl.SSLHandshake
dup
iconst_0
83: getstatic sun.security.ssl.SSLHandshake.SERVER_HELLO:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_1
84: getstatic sun.security.ssl.SSLHandshake.CERTIFICATE:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_2
85: getstatic sun.security.ssl.SSLHandshake.CERTIFICATE_STATUS:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_3
86: getstatic sun.security.ssl.SSLHandshake.SERVER_KEY_EXCHANGE:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_4
87: getstatic sun.security.ssl.SSLHandshake.CERTIFICATE_REQUEST:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_5
88: getstatic sun.security.ssl.SSLHandshake.SERVER_HELLO_DONE:Lsun/security/ssl/SSLHandshake;
aastore
dup
bipush 6
89: getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
aastore
90: astore 6
start local 6 91: aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 98
StackMap locals: sun.security.ssl.ClientHello$T12ClientHelloConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.SSLExtension[] sun.security.ssl.SSLHandshake[] top int int sun.security.ssl.SSLHandshake[]
StackMap stack:
92: aload 10
iload 8
aaload
astore 7
start local 7 93: aload 3
getfield sun.security.ssl.ServerHandshakeContext.handshakeProducers:Ljava/util/HashMap;
aload 7
getfield sun.security.ssl.SSLHandshake.id:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.ssl.HandshakeProducer
94: astore 11
start local 11 95: aload 11
ifnull 97
96: aload 11
aload 1
aload 4
invokeinterface sun.security.ssl.HandshakeProducer.produce:(Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)[B
pop
end local 11 end local 7 97: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
98: iload 8
iload 9
if_icmplt 92
99: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 100 0 this Lsun/security/ssl/ClientHello$T12ClientHelloConsumer;
0 100 1 context Lsun/security/ssl/ConnectionContext;
0 100 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 100 3 shc Lsun/security/ssl/ServerHandshakeContext;
2 100 4 clientHello Lsun/security/ssl/ClientHello$ClientHelloMessage;
19 71 5 previous Lsun/security/ssl/SSLSessionImpl;
23 71 6 resumingSession Z
31 37 7 sessionProtocol Lsun/security/ssl/ProtocolVersion;
49 56 7 suite Lsun/security/ssl/CipherSuite;
57 71 7 identityAlg Ljava/lang/String;
60 67 8 sessionIdentityAlg Ljava/lang/String;
75 100 5 extTypes [Lsun/security/ssl/SSLExtension;
91 100 6 probableHandshakeMessages [Lsun/security/ssl/SSLHandshake;
93 97 7 hs Lsun/security/ssl/SSLHandshake;
95 97 11 handshakeProducer Lsun/security/ssl/HandshakeProducer;
Exception table:
from to target type
39 40 41 Class javax.net.ssl.SSLPeerUnverifiedException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
}
SourceFile: "ClientHello.java"
NestHost: sun.security.ssl.ClientHello
InnerClasses:
final ClientHelloMessage = sun.security.ssl.ClientHello$ClientHelloMessage of sun.security.ssl.ClientHello
private final T12ClientHelloConsumer = sun.security.ssl.ClientHello$T12ClientHelloConsumer of sun.security.ssl.ClientHello
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake