final class sun.security.ssl.ClientHello$D12ClientHelloConsumer implements sun.security.ssl.HandshakeConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.ClientHello$D12ClientHelloConsumer
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$D12ClientHelloConsumer;
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=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:
aload 4
getfield sun.security.ssl.ClientHello$ClientHelloMessage.sessionId:Lsun/security/ssl/SessionId;
invokevirtual sun.security.ssl.SessionId.length:()I
ifeq 60
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
iload 6
putfield sun.security.ssl.ServerHandshakeContext.isResumption:Z
57: aload 3
iload 6
ifeq 58
aload 5
goto 59
StackMap locals:
StackMap stack: sun.security.ssl.ServerHandshakeContext
58: aconst_null
StackMap locals: sun.security.ssl.ClientHello$D12ClientHelloConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.SSLSessionImpl int
StackMap stack: sun.security.ssl.ServerHandshakeContext sun.security.ssl.SSLSessionImpl
59: putfield sun.security.ssl.ServerHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
end local 6 end local 5 60: StackMap locals:
StackMap stack:
aload 3
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
getstatic sun.security.ssl.ProtocolVersion.DTLS10:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.SSLContextImpl.getHelloCookieManager:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/HelloCookieManager;
61: astore 5
start local 5 62: aload 3
getfield sun.security.ssl.ServerHandshakeContext.isResumption:Z
ifne 70
63: aload 5
aload 3
aload 4
aload 4
getfield sun.security.ssl.ClientHello$ClientHelloMessage.cookie:[B
invokevirtual sun.security.ssl.HelloCookieManager.isCookieValid:(Lsun/security/ssl/ServerHandshakeContext;Lsun/security/ssl/ClientHello$ClientHelloMessage;[B)Z
ifne 70
64: aload 3
getfield sun.security.ssl.ServerHandshakeContext.handshakeProducers:Ljava/util/HashMap;
65: getstatic sun.security.ssl.SSLHandshake.HELLO_VERIFY_REQUEST:Lsun/security/ssl/SSLHandshake;
getfield sun.security.ssl.SSLHandshake.id:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
66: getstatic sun.security.ssl.SSLHandshake.HELLO_VERIFY_REQUEST:Lsun/security/ssl/SSLHandshake;
67: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
68: getstatic sun.security.ssl.SSLHandshake.HELLO_VERIFY_REQUEST:Lsun/security/ssl/SSLHandshake;
aload 1
aload 4
invokevirtual sun.security.ssl.SSLHandshake.produce:(Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)[B
pop
69: return
70: StackMap locals: sun.security.ssl.HelloCookieManager
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;
71: aload 3
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
72: getstatic sun.security.ssl.SSLHandshake.CLIENT_HELLO:Lsun/security/ssl/SSLHandshake;
73: invokevirtual sun.security.ssl.SSLConfiguration.getEnabledExtensions:(Lsun/security/ssl/SSLHandshake;)[Lsun/security/ssl/SSLExtension;
astore 6
start local 6 74: 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
75: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.isNegotiated:Z
ifne 78
76: 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;
77: 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
78: 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;
79: getstatic sun.security.ssl.SSLHandshake.SERVER_HELLO:Lsun/security/ssl/SSLHandshake;
80: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
81: bipush 7
anewarray sun.security.ssl.SSLHandshake
dup
iconst_0
82: getstatic sun.security.ssl.SSLHandshake.SERVER_HELLO:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_1
83: getstatic sun.security.ssl.SSLHandshake.CERTIFICATE:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_2
84: getstatic sun.security.ssl.SSLHandshake.CERTIFICATE_STATUS:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_3
85: getstatic sun.security.ssl.SSLHandshake.SERVER_KEY_EXCHANGE:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_4
86: getstatic sun.security.ssl.SSLHandshake.CERTIFICATE_REQUEST:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_5
87: getstatic sun.security.ssl.SSLHandshake.SERVER_HELLO_DONE:Lsun/security/ssl/SSLHandshake;
aastore
dup
bipush 6
88: getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
aastore
89: astore 7
start local 7 90: aload 7
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 97
StackMap locals: sun.security.ssl.ClientHello$D12ClientHelloConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.HelloCookieManager sun.security.ssl.SSLExtension[] sun.security.ssl.SSLHandshake[] top int int sun.security.ssl.SSLHandshake[]
StackMap stack:
91: aload 11
iload 9
aaload
astore 8
start local 8 92: 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
93: astore 12
start local 12 94: aload 12
ifnull 96
95: 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 96: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
97: iload 9
iload 10
if_icmplt 91
98: 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 99 0 this Lsun/security/ssl/ClientHello$D12ClientHelloConsumer;
0 99 1 context Lsun/security/ssl/ConnectionContext;
0 99 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 99 3 shc Lsun/security/ssl/ServerHandshakeContext;
2 99 4 clientHello Lsun/security/ssl/ClientHello$ClientHelloMessage;
19 60 5 previous Lsun/security/ssl/SSLSessionImpl;
23 60 6 resumingSession Z
31 37 7 sessionProtocol Lsun/security/ssl/ProtocolVersion;
49 56 7 suite Lsun/security/ssl/CipherSuite;
62 99 5 hcm Lsun/security/ssl/HelloCookieManager;
74 99 6 extTypes [Lsun/security/ssl/SSLExtension;
90 99 7 probableHandshakeMessages [Lsun/security/ssl/SSLHandshake;
92 96 8 hs Lsun/security/ssl/SSLHandshake;
94 96 12 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 D12ClientHelloConsumer = sun.security.ssl.ClientHello$D12ClientHelloConsumer of sun.security.ssl.ClientHello
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake