final class sun.security.ssl.Finished$T13FinishedConsumer implements sun.security.ssl.SSLConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.Finished$T13FinishedConsumer
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/Finished$T13FinishedConsumer;
public void consume(sun.security.ssl.ConnectionContext, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/ConnectionContext;Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
checkcast sun.security.ssl.HandshakeContext
astore 3
start local 3 1: aload 3
getfield sun.security.ssl.HandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getfield sun.security.ssl.SSLConfiguration.isClientMode:Z
ifeq 6
2: aload 0
3: aload 1
checkcast sun.security.ssl.ClientHandshakeContext
aload 2
4: invokevirtual sun.security.ssl.Finished$T13FinishedConsumer.onConsumeFinished:(Lsun/security/ssl/ClientHandshakeContext;Ljava/nio/ByteBuffer;)V
5: goto 9
6: StackMap locals: sun.security.ssl.HandshakeContext
StackMap stack:
aload 0
7: aload 1
checkcast sun.security.ssl.ServerHandshakeContext
aload 2
8: invokevirtual sun.security.ssl.Finished$T13FinishedConsumer.onConsumeFinished:(Lsun/security/ssl/ServerHandshakeContext;Ljava/nio/ByteBuffer;)V
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/ssl/Finished$T13FinishedConsumer;
0 10 1 context Lsun/security/ssl/ConnectionContext;
0 10 2 message Ljava/nio/ByteBuffer;
1 10 3 hc Lsun/security/ssl/HandshakeContext;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
private void onConsumeFinished(sun.security.ssl.ClientHandshakeContext, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/ClientHandshakeContext;Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=19, args_size=3
start local 0 start local 1 start local 2 0: new sun.security.ssl.Finished$FinishedMessage
dup
aload 1
aload 2
invokespecial sun.security.ssl.Finished$FinishedMessage.<init>:(Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
astore 3
start local 3 1: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 4
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 4
2: ldc "Consuming server Finished handshake message"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
3: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals: sun.security.ssl.Finished$FinishedMessage
StackMap stack:
aload 1
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.secureRenegotiation:Z
ifeq 6
5: aload 1
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
aload 3
getfield sun.security.ssl.Finished$FinishedMessage.verifyData:[B
putfield sun.security.ssl.TransportContext.serverVerifyData:[B
6: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.consumers:Ljava/util/Map;
getstatic sun.security.ssl.ContentType.CHANGE_CIPHER_SPEC:Lsun/security/ssl/ContentType;
getfield sun.security.ssl.ContentType.id:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 1
getfield sun.security.ssl.ClientHandshakeContext.handshakeHash:Lsun/security/ssl/HandshakeHash;
invokevirtual sun.security.ssl.HandshakeHash.update:()V
8: aload 1
getfield sun.security.ssl.ClientHandshakeContext.handshakeKeyDerivation:Lsun/security/ssl/SSLKeyDerivation;
astore 4
start local 4 9: aload 4
ifnonnull 13
10: aload 1
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
11: ldc "no key derivation"
12: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
13: StackMap locals: sun.security.ssl.SSLKeyDerivation
StackMap stack:
aload 1
getfield sun.security.ssl.ClientHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokestatic sun.security.ssl.SSLTrafficKeyDerivation.valueOf:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/SSLTrafficKeyDerivation;
14: astore 5
start local 5 15: aload 5
ifnonnull 21
16: aload 1
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
17: new java.lang.StringBuilder
dup
ldc "Not supported key derivation: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: aload 1
getfield sun.security.ssl.ClientHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
19: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
20: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
21: StackMap locals: sun.security.ssl.SSLTrafficKeyDerivation
StackMap stack:
aload 1
getfield sun.security.ssl.ClientHandshakeContext.isResumption:Z
ifne 25
aload 1
getfield sun.security.ssl.ClientHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionImpl.isRejoinable:()Z
ifeq 25
22: aload 1
getfield sun.security.ssl.ClientHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.engineGetClientSessionContext:()Ljavax/net/ssl/SSLSessionContext;
23: checkcast sun.security.ssl.SSLSessionContextImpl
astore 6
start local 6 24: aload 6
aload 1
getfield sun.security.ssl.ClientHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionContextImpl.put:(Lsun/security/ssl/SSLSessionImpl;)V
end local 6 25: StackMap locals:
StackMap stack:
aload 4
ldc "TlsSaltSecret"
aconst_null
invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
astore 6
start local 6 26: aload 1
getfield sun.security.ssl.ClientHandshakeContext.negotiatedCipherSuite:Lsun/security/ssl/CipherSuite;
getfield sun.security.ssl.CipherSuite.hashAlg:Lsun/security/ssl/CipherSuite$HashAlg;
astore 7
start local 7 27: new sun.security.ssl.HKDF
dup
aload 7
getfield sun.security.ssl.CipherSuite$HashAlg.name:Ljava/lang/String;
invokespecial sun.security.ssl.HKDF.<init>:(Ljava/lang/String;)V
astore 8
start local 8 28: aload 7
getfield sun.security.ssl.CipherSuite$HashAlg.hashLength:I
newarray 8
astore 9
start local 9 29: new javax.crypto.spec.SecretKeySpec
dup
aload 9
ldc "TlsZeroSecret"
invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BLjava/lang/String;)V
30: astore 10
start local 10 31: aload 8
aload 6
aload 10
ldc "TlsMasterSecret"
invokevirtual sun.security.ssl.HKDF.extract:(Ljavax/crypto/SecretKey;Ljavax/crypto/SecretKey;Ljava/lang/String;)Ljavax/crypto/SecretKey;
32: astore 11
start local 11 33: new sun.security.ssl.SSLSecretDerivation
dup
aload 1
aload 11
invokespecial sun.security.ssl.SSLSecretDerivation.<init>:(Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;)V
34: astore 12
start local 12 35: aload 12
36: ldc "TlsServerAppTrafficSecret"
aconst_null
37: invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
astore 13
start local 13 38: aload 5
aload 1
aload 13
invokevirtual sun.security.ssl.SSLTrafficKeyDerivation.createKeyDerivation:(Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;)Lsun/security/ssl/SSLKeyDerivation;
39: astore 14
start local 14 40: aload 14
41: ldc "TlsKey"
aconst_null
42: invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
astore 15
start local 15 43: aload 14
44: ldc "TlsIv"
aconst_null
45: invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
astore 16
start local 16 46: new javax.crypto.spec.IvParameterSpec
dup
aload 16
invokeinterface javax.crypto.SecretKey.getEncoded:()[B
invokespecial javax.crypto.spec.IvParameterSpec.<init>:([B)V
47: astore 17
start local 17 48: aload 1
getfield sun.security.ssl.ClientHandshakeContext.negotiatedCipherSuite:Lsun/security/ssl/CipherSuite;
getfield sun.security.ssl.CipherSuite.bulkCipher:Lsun/security/ssl/SSLCipher;
49: aload 1
getfield sun.security.ssl.ClientHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokestatic sun.security.ssl.Authenticator.valueOf:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/Authenticator;
50: aload 1
getfield sun.security.ssl.ClientHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
aload 15
aload 17
51: aload 1
getfield sun.security.ssl.ClientHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.getSecureRandom:()Ljava/security/SecureRandom;
52: invokevirtual sun.security.ssl.SSLCipher.createReadCipher:(Lsun/security/ssl/Authenticator;Lsun/security/ssl/ProtocolVersion;Ljavax/crypto/SecretKey;Ljavax/crypto/spec/IvParameterSpec;Ljava/security/SecureRandom;)Lsun/security/ssl/SSLCipher$SSLReadCipher;
53: astore 18
start local 18 54: aload 18
ifnonnull 61
55: aload 1
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
56: new java.lang.StringBuilder
dup
ldc "Illegal cipher suite ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield sun.security.ssl.ClientHandshakeContext.negotiatedCipherSuite:Lsun/security/ssl/CipherSuite;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
57: ldc ") and protocol version ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield sun.security.ssl.ClientHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
58: ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
59: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
60: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
61: StackMap locals: sun.security.ssl.Finished$T13FinishedConsumer sun.security.ssl.ClientHandshakeContext java.nio.ByteBuffer sun.security.ssl.Finished$FinishedMessage sun.security.ssl.SSLKeyDerivation sun.security.ssl.SSLTrafficKeyDerivation javax.crypto.SecretKey sun.security.ssl.CipherSuite$HashAlg sun.security.ssl.HKDF byte[] javax.crypto.spec.SecretKeySpec javax.crypto.SecretKey sun.security.ssl.SSLKeyDerivation javax.crypto.SecretKey sun.security.ssl.SSLKeyDerivation javax.crypto.SecretKey javax.crypto.SecretKey javax.crypto.spec.IvParameterSpec sun.security.ssl.SSLCipher$SSLReadCipher
StackMap stack:
aload 1
aload 13
putfield sun.security.ssl.ClientHandshakeContext.baseReadSecret:Ljavax/crypto/SecretKey;
62: aload 1
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.inputRecord:Lsun/security/ssl/InputRecord;
aload 18
invokevirtual sun.security.ssl.InputRecord.changeReadCiphers:(Lsun/security/ssl/SSLCipher$SSLReadCipher;)V
63: aload 1
aload 12
putfield sun.security.ssl.ClientHandshakeContext.handshakeKeyDerivation:Lsun/security/ssl/SSLKeyDerivation;
end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 64: goto 69
StackMap locals: sun.security.ssl.Finished$T13FinishedConsumer sun.security.ssl.ClientHandshakeContext java.nio.ByteBuffer sun.security.ssl.Finished$FinishedMessage sun.security.ssl.SSLKeyDerivation sun.security.ssl.SSLTrafficKeyDerivation
StackMap stack: java.security.GeneralSecurityException
65: astore 6
start local 6 66: aload 1
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
67: ldc "Failure to derive application secrets"
aload 6
68: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 6 69: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.ssl.ClientHandshakeContext.handshakeProducers:Ljava/util/HashMap;
getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
getfield sun.security.ssl.SSLHandshake.id:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
70: getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
71: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
72: iconst_3
anewarray sun.security.ssl.SSLHandshake
dup
iconst_0
73: getstatic sun.security.ssl.SSLHandshake.CERTIFICATE:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_1
74: getstatic sun.security.ssl.SSLHandshake.CERTIFICATE_VERIFY:Lsun/security/ssl/SSLHandshake;
aastore
dup
iconst_2
75: getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
aastore
76: astore 6
start local 6 77: aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 84
StackMap locals: sun.security.ssl.Finished$T13FinishedConsumer sun.security.ssl.ClientHandshakeContext java.nio.ByteBuffer sun.security.ssl.Finished$FinishedMessage sun.security.ssl.SSLKeyDerivation sun.security.ssl.SSLTrafficKeyDerivation sun.security.ssl.SSLHandshake[] top int int sun.security.ssl.SSLHandshake[]
StackMap stack:
78: aload 10
iload 8
aaload
astore 7
start local 7 79: aload 1
getfield sun.security.ssl.ClientHandshakeContext.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
80: astore 11
start local 11 81: aload 11
ifnull 83
82: aload 11
aload 1
aconst_null
invokeinterface sun.security.ssl.HandshakeProducer.produce:(Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)[B
pop
end local 11 end local 7 83: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
84: iload 8
iload 9
if_icmplt 78
85: 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 86 0 this Lsun/security/ssl/Finished$T13FinishedConsumer;
0 86 1 chc Lsun/security/ssl/ClientHandshakeContext;
0 86 2 message Ljava/nio/ByteBuffer;
1 86 3 fm Lsun/security/ssl/Finished$FinishedMessage;
9 86 4 kd Lsun/security/ssl/SSLKeyDerivation;
15 86 5 kdg Lsun/security/ssl/SSLTrafficKeyDerivation;
24 25 6 sessionContext Lsun/security/ssl/SSLSessionContextImpl;
26 64 6 saltSecret Ljavax/crypto/SecretKey;
27 64 7 hashAlg Lsun/security/ssl/CipherSuite$HashAlg;
28 64 8 hkdf Lsun/security/ssl/HKDF;
29 64 9 zeros [B
31 64 10 sharedSecret Ljavax/crypto/spec/SecretKeySpec;
33 64 11 masterSecret Ljavax/crypto/SecretKey;
35 64 12 secretKD Lsun/security/ssl/SSLKeyDerivation;
38 64 13 readSecret Ljavax/crypto/SecretKey;
40 64 14 writeKD Lsun/security/ssl/SSLKeyDerivation;
43 64 15 readKey Ljavax/crypto/SecretKey;
46 64 16 readIvSecret Ljavax/crypto/SecretKey;
48 64 17 readIv Ljavax/crypto/spec/IvParameterSpec;
54 64 18 readCipher Lsun/security/ssl/SSLCipher$SSLReadCipher;
66 69 6 gse Ljava/security/GeneralSecurityException;
77 86 6 probableHandshakeMessages [Lsun/security/ssl/SSLHandshake;
79 83 7 hs Lsun/security/ssl/SSLHandshake;
81 83 11 handshakeProducer Lsun/security/ssl/HandshakeProducer;
Exception table:
from to target type
25 64 65 Class java.security.GeneralSecurityException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
chc
message
private void onConsumeFinished(sun.security.ssl.ServerHandshakeContext, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/ServerHandshakeContext;Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=14, args_size=3
start local 0 start local 1 start local 2 0: new sun.security.ssl.Finished$FinishedMessage
dup
aload 1
aload 2
invokespecial sun.security.ssl.Finished$FinishedMessage.<init>:(Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
astore 3
start local 3 1: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 4
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 4
2: ldc "Consuming client Finished handshake message"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
3: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals: sun.security.ssl.Finished$FinishedMessage
StackMap stack:
aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.secureRenegotiation:Z
ifeq 6
5: aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
aload 3
getfield sun.security.ssl.Finished$FinishedMessage.verifyData:[B
putfield sun.security.ssl.TransportContext.clientVerifyData:[B
6: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.ssl.ServerHandshakeContext.handshakeKeyDerivation:Lsun/security/ssl/SSLKeyDerivation;
astore 4
start local 4 7: aload 4
ifnonnull 11
8: aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
9: ldc "no key derivation"
10: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
11: StackMap locals: sun.security.ssl.SSLKeyDerivation
StackMap stack:
aload 1
getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokestatic sun.security.ssl.SSLTrafficKeyDerivation.valueOf:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/SSLTrafficKeyDerivation;
12: astore 5
start local 5 13: aload 5
ifnonnull 19
14: aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
15: new java.lang.StringBuilder
dup
ldc "Not supported key derivation: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: aload 1
getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
17: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
19: StackMap locals: sun.security.ssl.SSLTrafficKeyDerivation
StackMap stack:
aload 1
getfield sun.security.ssl.ServerHandshakeContext.isResumption:Z
ifne 23
aload 1
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionImpl.isRejoinable:()Z
ifeq 23
20: aload 1
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.engineGetServerSessionContext:()Ljavax/net/ssl/SSLSessionContext;
21: checkcast sun.security.ssl.SSLSessionContextImpl
astore 6
start local 6 22: aload 6
aload 1
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionContextImpl.put:(Lsun/security/ssl/SSLSessionImpl;)V
end local 6 23: StackMap locals:
StackMap stack:
aload 4
24: ldc "TlsClientAppTrafficSecret"
aconst_null
25: invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
astore 6
start local 6 26: aload 5
aload 1
aload 6
invokevirtual sun.security.ssl.SSLTrafficKeyDerivation.createKeyDerivation:(Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;)Lsun/security/ssl/SSLKeyDerivation;
27: astore 7
start local 7 28: aload 7
29: ldc "TlsKey"
aconst_null
30: invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
astore 8
start local 8 31: aload 7
32: ldc "TlsIv"
aconst_null
33: invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
astore 9
start local 9 34: new javax.crypto.spec.IvParameterSpec
dup
aload 9
invokeinterface javax.crypto.SecretKey.getEncoded:()[B
invokespecial javax.crypto.spec.IvParameterSpec.<init>:([B)V
35: astore 10
start local 10 36: aload 1
getfield sun.security.ssl.ServerHandshakeContext.negotiatedCipherSuite:Lsun/security/ssl/CipherSuite;
getfield sun.security.ssl.CipherSuite.bulkCipher:Lsun/security/ssl/SSLCipher;
37: aload 1
getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokestatic sun.security.ssl.Authenticator.valueOf:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/Authenticator;
38: aload 1
getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
aload 8
aload 10
39: aload 1
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.getSecureRandom:()Ljava/security/SecureRandom;
40: invokevirtual sun.security.ssl.SSLCipher.createReadCipher:(Lsun/security/ssl/Authenticator;Lsun/security/ssl/ProtocolVersion;Ljavax/crypto/SecretKey;Ljavax/crypto/spec/IvParameterSpec;Ljava/security/SecureRandom;)Lsun/security/ssl/SSLCipher$SSLReadCipher;
41: astore 11
start local 11 42: aload 11
ifnonnull 49
43: aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
44: new java.lang.StringBuilder
dup
ldc "Illegal cipher suite ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield sun.security.ssl.ServerHandshakeContext.negotiatedCipherSuite:Lsun/security/ssl/CipherSuite;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
45: ldc ") and protocol version ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
46: ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
47: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
48: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
49: StackMap locals: sun.security.ssl.Finished$T13FinishedConsumer sun.security.ssl.ServerHandshakeContext java.nio.ByteBuffer sun.security.ssl.Finished$FinishedMessage sun.security.ssl.SSLKeyDerivation sun.security.ssl.SSLTrafficKeyDerivation javax.crypto.SecretKey sun.security.ssl.SSLKeyDerivation javax.crypto.SecretKey javax.crypto.SecretKey javax.crypto.spec.IvParameterSpec sun.security.ssl.SSLCipher$SSLReadCipher
StackMap stack:
aload 1
aload 6
putfield sun.security.ssl.ServerHandshakeContext.baseReadSecret:Ljavax/crypto/SecretKey;
50: aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.inputRecord:Lsun/security/ssl/InputRecord;
aload 11
invokevirtual sun.security.ssl.InputRecord.changeReadCiphers:(Lsun/security/ssl/SSLCipher$SSLReadCipher;)V
51: aload 1
getfield sun.security.ssl.ServerHandshakeContext.handshakeHash:Lsun/security/ssl/HandshakeHash;
invokevirtual sun.security.ssl.HandshakeHash.update:()V
52: aload 4
checkcast sun.security.ssl.SSLSecretDerivation
aload 1
invokevirtual sun.security.ssl.SSLSecretDerivation.forContext:(Lsun/security/ssl/HandshakeContext;)Lsun/security/ssl/SSLSecretDerivation;
53: astore 12
start local 12 54: aload 12
55: ldc "TlsResumptionMasterSecret"
aconst_null
56: invokevirtual sun.security.ssl.SSLSecretDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
astore 13
start local 13 57: aload 1
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
58: aload 13
59: invokevirtual sun.security.ssl.SSLSessionImpl.setResumptionMasterSecret:(Ljavax/crypto/SecretKey;)V
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 60: goto 65
StackMap locals: sun.security.ssl.Finished$T13FinishedConsumer sun.security.ssl.ServerHandshakeContext java.nio.ByteBuffer sun.security.ssl.Finished$FinishedMessage sun.security.ssl.SSLKeyDerivation sun.security.ssl.SSLTrafficKeyDerivation
StackMap stack: java.security.GeneralSecurityException
61: astore 6
start local 6 62: aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
63: ldc "Failure to derive application secrets"
aload 6
64: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 6 65: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
aload 1
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionImpl.finish:()Lsun/security/ssl/SSLSessionImpl;
putfield sun.security.ssl.TransportContext.conSession:Lsun/security/ssl/SSLSessionImpl;
66: aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
aload 1
getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
putfield sun.security.ssl.TransportContext.protocolVersion:Lsun/security/ssl/ProtocolVersion;
67: aload 1
iconst_1
putfield sun.security.ssl.ServerHandshakeContext.handshakeFinished:Z
68: aload 1
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.isDTLS:()Z
ifne 70
69: aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
invokevirtual sun.security.ssl.TransportContext.finishHandshake:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
pop
70: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.conSession:Lsun/security/ssl/SSLSessionImpl;
invokestatic sun.security.ssl.Finished.recordEvent:(Lsun/security/ssl/SSLSessionImpl;)V
71: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 74
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 74
72: ldc "Sending new session ticket"
iconst_0
anewarray java.lang.Object
73: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
74: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.NewSessionTicket.kickstartProducer:Lsun/security/ssl/SSLProducer;
aload 1
invokeinterface sun.security.ssl.SSLProducer.produce:(Lsun/security/ssl/ConnectionContext;)[B
pop
75: return
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 76 0 this Lsun/security/ssl/Finished$T13FinishedConsumer;
0 76 1 shc Lsun/security/ssl/ServerHandshakeContext;
0 76 2 message Ljava/nio/ByteBuffer;
1 76 3 fm Lsun/security/ssl/Finished$FinishedMessage;
7 76 4 kd Lsun/security/ssl/SSLKeyDerivation;
13 76 5 kdg Lsun/security/ssl/SSLTrafficKeyDerivation;
22 23 6 sessionContext Lsun/security/ssl/SSLSessionContextImpl;
26 60 6 readSecret Ljavax/crypto/SecretKey;
28 60 7 readKD Lsun/security/ssl/SSLKeyDerivation;
31 60 8 readKey Ljavax/crypto/SecretKey;
34 60 9 readIvSecret Ljavax/crypto/SecretKey;
36 60 10 readIv Ljavax/crypto/spec/IvParameterSpec;
42 60 11 readCipher Lsun/security/ssl/SSLCipher$SSLReadCipher;
54 60 12 sd Lsun/security/ssl/SSLSecretDerivation;
57 60 13 resumptionMasterSecret Ljavax/crypto/SecretKey;
62 65 6 gse Ljava/security/GeneralSecurityException;
Exception table:
from to target type
23 60 61 Class java.security.GeneralSecurityException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
shc
message
}
SourceFile: "Finished.java"
NestHost: sun.security.ssl.Finished
InnerClasses:
public final HandshakeStatus = javax.net.ssl.SSLEngineResult$HandshakeStatus of javax.net.ssl.SSLEngineResult
final HashAlg = sun.security.ssl.CipherSuite$HashAlg of sun.security.ssl.CipherSuite
private final FinishedMessage = sun.security.ssl.Finished$FinishedMessage of sun.security.ssl.Finished
private final T13FinishedConsumer = sun.security.ssl.Finished$T13FinishedConsumer of sun.security.ssl.Finished
abstract SSLReadCipher = sun.security.ssl.SSLCipher$SSLReadCipher of sun.security.ssl.SSLCipher
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake