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 18
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;
invokevirtual sun.security.ssl.TransportContext.finishHandshake:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
pop
17: goto 21
18: 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;
19: getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
20: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
21: StackMap locals:
StackMap stack:
iconst_1
anewarray sun.security.ssl.SSLHandshake
dup
iconst_0
22: getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
aastore
23: astore 4
start local 4 24: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 31
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:
25: aload 8
iload 6
aaload
astore 5
start local 5 26: 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
27: astore 9
start local 9 28: aload 9
ifnull 30
29: 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 30: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
31: iload 6
iload 7
if_icmplt 25
32: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/security/ssl/Finished$T12FinishedConsumer;
0 33 1 chc Lsun/security/ssl/ClientHandshakeContext;
0 33 2 message Ljava/nio/ByteBuffer;
1 33 3 fm Lsun/security/ssl/Finished$FinishedMessage;
24 33 4 probableHandshakeMessages [Lsun/security/ssl/SSLHandshake;
26 30 5 hs Lsun/security/ssl/SSLHandshake;
28 30 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: aload 1
getfield sun.security.ssl.ServerHandshakeContext.isResumption:Z
ifne 8
1: aload 1
getfield sun.security.ssl.ServerHandshakeContext.handshakeConsumers:Ljava/util/LinkedHashMap;
2: getstatic sun.security.ssl.SSLHandshake.CERTIFICATE_VERIFY:Lsun/security/ssl/SSLHandshake;
getfield sun.security.ssl.SSLHandshake.id:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
3: invokevirtual java.util.LinkedHashMap.containsKey:(Ljava/lang/Object;)Z
4: ifeq 8
5: aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
6: ldc "Unexpected Finished handshake message"
7: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
8: StackMap locals:
StackMap stack:
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 9: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 12
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 12
10: ldc "Consuming client Finished handshake message"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
11: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
12: 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 14
13: 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
14: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.ssl.ServerHandshakeContext.isResumption:Z
ifeq 26
15: aload 1
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionImpl.isRejoinable:()Z
ifeq 21
16: aload 1
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
17: invokevirtual sun.security.ssl.SSLContextImpl.engineGetServerSessionContext:()Ljavax/net/ssl/SSLSessionContext;
18: checkcast sun.security.ssl.SSLSessionContextImpl
19: aload 1
getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
20: invokevirtual sun.security.ssl.SSLSessionContextImpl.put:(Lsun/security/ssl/SSLSessionImpl;)V
21: 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;
22: 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;
23: aload 1
iconst_1
putfield sun.security.ssl.ServerHandshakeContext.handshakeFinished:Z
24: aload 1
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
invokevirtual sun.security.ssl.TransportContext.finishHandshake:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
pop
25: goto 29
26: 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;
27: getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
28: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
29: StackMap locals:
StackMap stack:
iconst_1
anewarray sun.security.ssl.SSLHandshake
dup
iconst_0
30: getstatic sun.security.ssl.SSLHandshake.FINISHED:Lsun/security/ssl/SSLHandshake;
aastore
31: astore 4
start local 4 32: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 39
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:
33: aload 8
iload 6
aaload
astore 5
start local 5 34: 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
35: astore 9
start local 9 36: aload 9
ifnull 38
37: 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 38: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
39: iload 6
iload 7
if_icmplt 33
40: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lsun/security/ssl/Finished$T12FinishedConsumer;
0 41 1 shc Lsun/security/ssl/ServerHandshakeContext;
0 41 2 message Ljava/nio/ByteBuffer;
9 41 3 fm Lsun/security/ssl/Finished$FinishedMessage;
32 41 4 probableHandshakeMessages [Lsun/security/ssl/SSLHandshake;
34 38 5 hs Lsun/security/ssl/SSLHandshake;
36 38 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