final class sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeyConsumer implements sun.security.ssl.SSLExtension$ExtensionConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeyConsumer
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 // sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeyConsumer this
0: .line 889
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 891
return
end local 0 // sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeyConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/PreSharedKeyExtension$SHPreSharedKeyConsumer;
public void consume(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 // sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeyConsumer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
start local 3 // java.nio.ByteBuffer buffer
0: .line 897
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 4 /* chc */
start local 4 // sun.security.ssl.ClientHandshakeContext chc
1: .line 900
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
2: .line 901
getstatic sun.security.ssl.SSLExtension.CH_PRE_SHARED_KEY:Lsun/security/ssl/SSLExtension;
3: .line 900
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
4: .line 901
ifne 8
5: .line 902
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
6: .line 903
ldc "Server sent unexpected pre_shared_key extension"
7: .line 902
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
8: .line 906
StackMap locals: sun.security.ssl.ClientHandshakeContext
StackMap stack:
new sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec
dup
aload 4 /* chc */
aload 3 /* buffer */
invokespecial sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec.<init>:(Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
astore 5 /* shPsk */
start local 5 // sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec shPsk
9: .line 907
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: .line 909
ldc "Received pre_shared_key extension: "
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5 /* shPsk */
aastore
11: .line 908
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
12: .line 912
StackMap locals: sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec
StackMap stack:
aload 5 /* shPsk */
getfield sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec.selectedIdentity:I
ifeq 16
13: .line 913
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
14: .line 914
ldc "Selected identity index is not in correct range."
15: .line 913
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
16: .line 917
StackMap locals:
StackMap stack:
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 19
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 19
17: .line 919
ldc "Resuming session: "
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
aastore
18: .line 918
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
19: .line 921
StackMap locals:
StackMap stack:
return
end local 5 // sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec shPsk
end local 4 // sun.security.ssl.ClientHandshakeContext chc
end local 3 // java.nio.ByteBuffer buffer
end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
end local 1 // sun.security.ssl.ConnectionContext context
end local 0 // sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeyConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/security/ssl/PreSharedKeyExtension$SHPreSharedKeyConsumer;
0 20 1 context Lsun/security/ssl/ConnectionContext;
0 20 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
0 20 3 buffer Ljava/nio/ByteBuffer;
1 20 4 chc Lsun/security/ssl/ClientHandshakeContext;
9 20 5 shPsk Lsun/security/ssl/PreSharedKeyExtension$SHPreSharedKeySpec;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
buffer
}
SourceFile: "PreSharedKeyExtension.java"
NestHost: sun.security.ssl.PreSharedKeyExtension
InnerClasses:
private final SHPreSharedKeyConsumer = sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeyConsumer of sun.security.ssl.PreSharedKeyExtension
private final SHPreSharedKeySpec = sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec of sun.security.ssl.PreSharedKeyExtension
abstract ExtensionConsumer = sun.security.ssl.SSLExtension$ExtensionConsumer of sun.security.ssl.SSLExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake