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=6, locals=13, 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:
iconst_1
anewarray sun.security.ssl.SSLExtension
dup
iconst_0
14: getstatic sun.security.ssl.SSLExtension.CH_SESSION_TICKET:Lsun/security/ssl/SSLExtension;
aastore
15: astore 5
start local 5 16: 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
17: aload 4
getfield sun.security.ssl.ClientHello$ClientHelloMessage.sessionId:Lsun/security/ssl/SessionId;
invokevirtual sun.security.ssl.SessionId.length:()I
ifne 18
aload 3
getfield sun.security.ssl.ServerHandshakeContext.statelessResumption:Z
ifeq 80
18: StackMap locals: sun.security.ssl.SSLExtension[]
StackMap stack:
aload 3
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
19: invokevirtual sun.security.ssl.SSLContextImpl.engineGetServerSessionContext:()Ljavax/net/ssl/SSLSessionContext;
20: checkcast sun.security.ssl.SSLSessionContextImpl
astore 6
start local 6 21: aload 3
getfield sun.security.ssl.ServerHandshakeContext.statelessResumption:Z
ifeq 24
22: aload 3
getfield sun.security.ssl.ServerHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
astore 7
start local 7 23: goto 25
end local 7 24: StackMap locals: sun.security.ssl.SSLSessionContextImpl
StackMap stack:
aload 6
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;
astore 7
start local 7 25: StackMap locals: sun.security.ssl.SSLSessionImpl
StackMap stack:
aload 7
ifnull 27
aload 7
invokevirtual sun.security.ssl.SSLSessionImpl.isRejoinable:()Z
ifeq 27
26: iconst_1
goto 28
StackMap locals:
StackMap stack:
27: iconst_0
StackMap locals:
StackMap stack: int
28: istore 8
start local 8 29: iload 8
ifne 34
30: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 34
31: ldc "ssl,handshake,verbose"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 34
32: ldc "Can't resume, the existing session is not rejoinable"
iconst_0
anewarray java.lang.Object
33: invokestatic sun.security.ssl.SSLLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
34: StackMap locals: int
StackMap stack:
iload 8
ifeq 43
35: aload 7
invokevirtual sun.security.ssl.SSLSessionImpl.getProtocolVersion:()Lsun/security/ssl/ProtocolVersion;
36: astore 9
start local 9 37: aload 9
aload 3
getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
if_acmpeq 43
38: iconst_0
istore 8
39: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 43
40: ldc "ssl,handshake,verbose"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 43
41: ldc "Can't resume, not the same protocol version"
iconst_0
anewarray java.lang.Object
42: invokestatic sun.security.ssl.SSLLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 9 43: StackMap locals:
StackMap stack:
iload 8
ifeq 53
44: 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 53
45: aload 7
invokevirtual sun.security.ssl.SSLSessionImpl.getPeerPrincipal:()Ljava/security/Principal;
pop
46: goto 53
StackMap locals:
StackMap stack: javax.net.ssl.SSLPeerUnverifiedException
47: pop
48: iconst_0
istore 8
49: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 53
50: ldc "ssl,handshake,verbose"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 53
51: ldc "Can't resume, client authentication is required"
iconst_0
anewarray java.lang.Object
52: invokestatic sun.security.ssl.SSLLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
53: StackMap locals:
StackMap stack:
iload 8
ifeq 62
54: aload 7
invokevirtual sun.security.ssl.SSLSessionImpl.getSuite:()Lsun/security/ssl/CipherSuite;
astore 9
start local 9 55: aload 3
aload 9
invokevirtual sun.security.ssl.ServerHandshakeContext.isNegotiable:(Lsun/security/ssl/CipherSuite;)Z
ifeq 57
56: aload 4
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cipherSuites:Ljava/util/List;
aload 9
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 62
57: StackMap locals: sun.security.ssl.CipherSuite
StackMap stack:
iconst_0
istore 8
58: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 62
59: ldc "ssl,handshake,verbose"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 62
60: ldc "Can't resume, the session cipher suite is absent"
iconst_0
anewarray java.lang.Object
61: invokestatic sun.security.ssl.SSLLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 9 62: 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 9
start local 9 63: iload 8
ifeq 73
aload 9
ifnull 73
64: aload 7
invokevirtual sun.security.ssl.SSLSessionImpl.getIdentificationProtocol:()Ljava/lang/String;
65: astore 10
start local 10 66: aload 9
aload 10
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 73
67: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 72
68: ldc "ssl,handshake,verbose"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 72
69: 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
70: aload 9
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 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
71: 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
72: StackMap locals: java.lang.String java.lang.String
StackMap stack:
iconst_0
istore 8
end local 10 73: StackMap locals:
StackMap stack:
aload 3
iload 8
putfield sun.security.ssl.ServerHandshakeContext.isResumption:Z
74: aload 3
iload 8
ifeq 75
aload 7
goto 76
StackMap locals:
StackMap stack: sun.security.ssl.ServerHandshakeContext
75: 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.SSLExtension[] sun.security.ssl.SSLSessionContextImpl sun.security.ssl.SSLSessionImpl int java.lang.String
StackMap stack: sun.security.ssl.ServerHandshakeContext sun.security.ssl.SSLSessionImpl
76: putfield sun.security.ssl.ServerHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
77: iload 8
ifne 80
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 80
78: ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 80
79: ldc "Session not resumed."
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 9 end local 8 end local 7 end local 6 80: 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[]
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;
81: aload 3
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
82: getstatic sun.security.ssl.SSLHandshake.CLIENT_HELLO:Lsun/security/ssl/SSLHandshake;
iconst_1
anewarray sun.security.ssl.SSLExtension
dup
iconst_0
83: getstatic sun.security.ssl.SSLExtension.CH_SESSION_TICKET:Lsun/security/ssl/SSLExtension;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
84: invokevirtual sun.security.ssl.SSLConfiguration.getExclusiveExtensions:(Lsun/security/ssl/SSLHandshake;Ljava/util/List;)[Lsun/security/ssl/SSLExtension;
astore 6
start local 6 85: aload 4
getfield sun.security.ssl.ClientHello$ClientHelloMessage.extensions:Lsun/security/ssl/SSLExtensions;
aload 3
aload 6
invokevirtual sun.security.ssl.SSLExtensions.consumeOnLoad:(Lsun/security/ssl/HandshakeContext;[Lsun/security/ssl/SSLExtension;)V
86: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.isNegotiated:Z
ifne 89
87: 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;
88: 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
89: 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;
90: getstatic sun.security.ssl.SSLHandshake.SERVER_HELLO:Lsun/security/ssl/SSLHandshake;
91: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
92: bipush 7
anewarray sun.security.ssl.SSLHandshake
dup
iconst_0
93: getstatic sun.security.ssl.SSLHandshake.SERVER_HELLO:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_1
94: getstatic sun.security.ssl.SSLHandshake.CERTIFICATE:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_2
95: getstatic sun.security.ssl.SSLHandshake.CERTIFICATE_STATUS:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_3
96: getstatic sun.security.ssl.SSLHandshake.SERVER_KEY_EXCHANGE:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_4
97: getstatic sun.security.ssl.SSLHandshake.CERTIFICATE_REQUEST:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_5
98: getstatic sun.security.ssl.SSLHandshake.SERVER_HELLO_DONE:Lsun/security/ssl/SSLHandshake;
aastore
dup
bipush 6
99: getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
aastore
100: astore 7
start local 7 101: aload 7
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 108
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.SSLExtension[] sun.security.ssl.SSLHandshake[] top int int sun.security.ssl.SSLHandshake[]
StackMap stack:
102: aload 11
iload 9
aaload
astore 8
start local 8 103: aload 3
getfield sun.security.ssl.ServerHandshakeContext.handshakeProducers:Ljava/util/HashMap;
aload 8
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
104: astore 12
start local 12 105: aload 12
ifnull 107
106: aload 12
aload 1
aload 4
invokeinterface sun.security.ssl.HandshakeProducer.produce:(Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)[B
pop
end local 12 end local 8 107: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
108: iload 9
iload 10
if_icmplt 102
109: return
end local 7 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 110 0 this Lsun/security/ssl/ClientHello$T12ClientHelloConsumer;
0 110 1 context Lsun/security/ssl/ConnectionContext;
0 110 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 110 3 shc Lsun/security/ssl/ServerHandshakeContext;
2 110 4 clientHello Lsun/security/ssl/ClientHello$ClientHelloMessage;
16 110 5 ext [Lsun/security/ssl/SSLExtension;
21 80 6 cache Lsun/security/ssl/SSLSessionContextImpl;
23 24 7 previous Lsun/security/ssl/SSLSessionImpl;
25 80 7 previous Lsun/security/ssl/SSLSessionImpl;
29 80 8 resumingSession Z
37 43 9 sessionProtocol Lsun/security/ssl/ProtocolVersion;
55 62 9 suite Lsun/security/ssl/CipherSuite;
63 80 9 identityAlg Ljava/lang/String;
66 73 10 sessionIdentityAlg Ljava/lang/String;
85 110 6 extTypes [Lsun/security/ssl/SSLExtension;
101 110 7 probableHandshakeMessages [Lsun/security/ssl/SSLHandshake;
103 107 8 hs Lsun/security/ssl/SSLHandshake;
105 107 12 handshakeProducer Lsun/security/ssl/HandshakeProducer;
Exception table:
from to target type
45 46 47 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