final class sun.security.ssl.Finished$T12FinishedConsumer implements sun.security.ssl.SSLConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.Finished$T12FinishedConsumer
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$T12FinishedConsumer;
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.handshakeConsumers:Ljava/util/LinkedHashMap;
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;
invokevirtual java.util.LinkedHashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.consumers:Ljava/util/Map;
3: 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;
4: invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
5: ifeq 9
6: aload 3
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
7: ldc "Missing ChangeCipherSpec message"
8: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
9: StackMap locals: sun.security.ssl.HandshakeContext
StackMap stack:
aload 3
getfield sun.security.ssl.HandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getfield sun.security.ssl.SSLConfiguration.isClientMode:Z
ifeq 12
10: aload 0
aload 1
checkcast sun.security.ssl.ClientHandshakeContext
aload 2
invokevirtual sun.security.ssl.Finished$T12FinishedConsumer.onConsumeFinished:(Lsun/security/ssl/ClientHandshakeContext;Ljava/nio/ByteBuffer;)V
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast sun.security.ssl.ServerHandshakeContext
aload 2
invokevirtual sun.security.ssl.Finished$T12FinishedConsumer.onConsumeFinished:(Lsun/security/ssl/ServerHandshakeContext;Ljava/nio/ByteBuffer;)V
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/ssl/Finished$T12FinishedConsumer;
0 14 1 context Lsun/security/ssl/ConnectionContext;
0 14 2 message Ljava/nio/ByteBuffer;
1 14 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=5, locals=10, 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.isResumption:Z
ifne 20
7: aload 1
getfield sun.security.ssl.ClientHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionImpl.isRejoinable:()Z
ifeq 13
8: aload 1
getfield sun.security.ssl.ClientHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
9: invokevirtual sun.security.ssl.SSLContextImpl.engineGetClientSessionContext:()Ljavax/net/ssl/SSLSessionContext;
10: checkcast sun.security.ssl.SSLSessionContextImpl
11: aload 1
getfield sun.security.ssl.ClientHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
12: invokevirtual sun.security.ssl.SSLSessionContextImpl.put:(Lsun/security/ssl/SSLSessionImpl;)V
13: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
aload 1
getfield sun.security.ssl.ClientHandshakeContext.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;
14: aload 1
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
aload 1
getfield sun.security.ssl.ClientHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
putfield sun.security.ssl.TransportContext.protocolVersion:Lsun/security/ssl/ProtocolVersion;
15: aload 1
iconst_1
putfield sun.security.ssl.ClientHandshakeContext.handshakeFinished:Z
16: aload 1
getfield sun.security.ssl.ClientHandshakeContext.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
17: aload 1
getfield sun.security.ssl.ClientHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.isDTLS:()Z
ifne 23
18: aload 1
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
invokevirtual sun.security.ssl.TransportContext.finishHandshake:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
pop
19: goto 23
20: 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;
21: getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
22: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
23: StackMap locals:
StackMap stack:
iconst_1
anewarray sun.security.ssl.SSLHandshake
dup
iconst_0
24: getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
aastore
25: astore 4
start local 4 26: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 33
StackMap locals: sun.security.ssl.Finished$T12FinishedConsumer sun.security.ssl.ClientHandshakeContext java.nio.ByteBuffer sun.security.ssl.Finished$FinishedMessage sun.security.ssl.SSLHandshake[] top int int sun.security.ssl.SSLHandshake[]
StackMap stack:
27: aload 8
iload 6
aaload
astore 5
start local 5 28: aload 1
getfield sun.security.ssl.ClientHandshakeContext.handshakeProducers:Ljava/util/HashMap;
aload 5
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
29: astore 9
start local 9 30: aload 9
ifnull 32
31: aload 9
aload 1
aload 3
invokeinterface sun.security.ssl.HandshakeProducer.produce:(Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)[B
pop
end local 9 end local 5 32: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
33: iload 6
iload 7
if_icmplt 27
34: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lsun/security/ssl/Finished$T12FinishedConsumer;
0 35 1 chc Lsun/security/ssl/ClientHandshakeContext;
0 35 2 message Ljava/nio/ByteBuffer;
1 35 3 fm Lsun/security/ssl/Finished$FinishedMessage;
26 35 4 probableHandshakeMessages [Lsun/security/ssl/SSLHandshake;
28 32 5 hs Lsun/security/ssl/SSLHandshake;
30 32 9 handshakeProducer Lsun/security/ssl/HandshakeProducer;
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=5, locals=10, 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.isResumption:Z
ifeq 20
7: aload 1
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionImpl.isRejoinable:()Z
ifeq 13
8: aload 1
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
9: invokevirtual sun.security.ssl.SSLContextImpl.engineGetServerSessionContext:()Ljavax/net/ssl/SSLSessionContext;
10: checkcast sun.security.ssl.SSLSessionContextImpl
11: aload 1
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
12: invokevirtual sun.security.ssl.SSLSessionContextImpl.put:(Lsun/security/ssl/SSLSessionImpl;)V
13: 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;
14: 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;
15: aload 1
iconst_1
putfield sun.security.ssl.ServerHandshakeContext.handshakeFinished:Z
16: 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
17: aload 1
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.isDTLS:()Z
ifne 23
18: aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
invokevirtual sun.security.ssl.TransportContext.finishHandshake:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
pop
19: goto 23
20: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.ssl.ServerHandshakeContext.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;
21: getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
22: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
23: StackMap locals:
StackMap stack:
iconst_1
anewarray sun.security.ssl.SSLHandshake
dup
iconst_0
24: getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
aastore
25: astore 4
start local 4 26: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 33
StackMap locals: sun.security.ssl.Finished$T12FinishedConsumer sun.security.ssl.ServerHandshakeContext java.nio.ByteBuffer sun.security.ssl.Finished$FinishedMessage sun.security.ssl.SSLHandshake[] top int int sun.security.ssl.SSLHandshake[]
StackMap stack:
27: aload 8
iload 6
aaload
astore 5
start local 5 28: aload 1
getfield sun.security.ssl.ServerHandshakeContext.handshakeProducers:Ljava/util/HashMap;
aload 5
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
29: astore 9
start local 9 30: aload 9
ifnull 32
31: aload 9
aload 1
aload 3
invokeinterface sun.security.ssl.HandshakeProducer.produce:(Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)[B
pop
end local 9 end local 5 32: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
33: iload 6
iload 7
if_icmplt 27
34: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lsun/security/ssl/Finished$T12FinishedConsumer;
0 35 1 shc Lsun/security/ssl/ServerHandshakeContext;
0 35 2 message Ljava/nio/ByteBuffer;
1 35 3 fm Lsun/security/ssl/Finished$FinishedMessage;
26 35 4 probableHandshakeMessages [Lsun/security/ssl/SSLHandshake;
28 32 5 hs Lsun/security/ssl/SSLHandshake;
30 32 9 handshakeProducer Lsun/security/ssl/HandshakeProducer;
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
private final FinishedMessage = sun.security.ssl.Finished$FinishedMessage of sun.security.ssl.Finished
private final T12FinishedConsumer = sun.security.ssl.Finished$T12FinishedConsumer of sun.security.ssl.Finished
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake