final class sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyUpdate implements sun.security.ssl.HandshakeConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyUpdate
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$CHPreSharedKeyUpdate this
0: .line 527
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 529
return
end local 0 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyUpdate this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeyUpdate;
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=11, args_size=3
start local 0 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyUpdate this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 534
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 3 /* shc */
start local 3 // sun.security.ssl.ServerHandshakeContext shc
1: .line 535
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.isResumption:Z
ifeq 2
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
ifnonnull 3
2: .line 537
StackMap locals: sun.security.ssl.ServerHandshakeContext
StackMap stack:
return
3: .line 541
StackMap locals:
StackMap stack:
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.CH_PRE_SHARED_KEY:Lsun/security/ssl/SSLExtension;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec
4: .line 540
astore 4 /* chPsk */
start local 4 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec chPsk
5: .line 543
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.SH_PRE_SHARED_KEY:Lsun/security/ssl/SSLExtension;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec
6: .line 542
astore 5 /* shPsk */
start local 5 // sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec shPsk
7: .line 544
aload 4 /* chPsk */
ifnull 8
aload 5 /* shPsk */
ifnonnull 11
8: .line 545
StackMap locals: sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec
StackMap stack:
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
9: .line 546
ldc "Required extensions are unavailable"
10: .line 545
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
11: .line 549
StackMap locals:
StackMap stack:
aload 4 /* chPsk */
getfield sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec.binders:Ljava/util/List;
aload 5 /* shPsk */
getfield sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec.selectedIdentity:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast byte[]
astore 6 /* binder */
start local 6 // byte[] binder
12: .line 552
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeHash:Lsun/security/ssl/HandshakeHash;
invokevirtual sun.security.ssl.HandshakeHash.copy:()Lsun/security/ssl/HandshakeHash;
astore 7 /* pskBinderHash */
start local 7 // sun.security.ssl.HandshakeHash pskBinderHash
13: .line 553
aload 7 /* pskBinderHash */
invokevirtual sun.security.ssl.HandshakeHash.removeLastReceived:()[B
astore 8 /* lastMessage */
start local 8 // byte[] lastMessage
14: .line 554
aload 8 /* lastMessage */
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 9 /* messageBuf */
start local 9 // java.nio.ByteBuffer messageBuf
15: .line 556
aload 9 /* messageBuf */
iconst_4
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
16: .line 558
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
aload 9 /* messageBuf */
invokestatic sun.security.ssl.ClientHello$ClientHelloMessage.readPartial:(Lsun/security/ssl/TransportContext;Ljava/nio/ByteBuffer;)V
17: .line 559
aload 9 /* messageBuf */
invokevirtual java.nio.ByteBuffer.position:()I
istore 10 /* length */
start local 10 // int length
18: .line 560
aload 9 /* messageBuf */
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
19: .line 561
aload 7 /* pskBinderHash */
aload 9 /* messageBuf */
iload 10 /* length */
invokevirtual sun.security.ssl.HandshakeHash.receive:(Ljava/nio/ByteBuffer;I)V
20: .line 563
aload 3 /* shc */
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
aload 7 /* pskBinderHash */
aload 6 /* binder */
invokestatic sun.security.ssl.PreSharedKeyExtension.checkBinder:(Lsun/security/ssl/ServerHandshakeContext;Lsun/security/ssl/SSLSessionImpl;Lsun/security/ssl/HandshakeHash;[B)V
21: .line 564
return
end local 10 // int length
end local 9 // java.nio.ByteBuffer messageBuf
end local 8 // byte[] lastMessage
end local 7 // sun.security.ssl.HandshakeHash pskBinderHash
end local 6 // byte[] binder
end local 5 // sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec shPsk
end local 4 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec chPsk
end local 3 // sun.security.ssl.ServerHandshakeContext shc
end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
end local 1 // sun.security.ssl.ConnectionContext context
end local 0 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyUpdate this
LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeyUpdate;
0 22 1 context Lsun/security/ssl/ConnectionContext;
0 22 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 22 3 shc Lsun/security/ssl/ServerHandshakeContext;
5 22 4 chPsk Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeySpec;
7 22 5 shPsk Lsun/security/ssl/PreSharedKeyExtension$SHPreSharedKeySpec;
12 22 6 binder [B
13 22 7 pskBinderHash Lsun/security/ssl/HandshakeHash;
14 22 8 lastMessage [B
15 22 9 messageBuf Ljava/nio/ByteBuffer;
18 22 10 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
}
SourceFile: "PreSharedKeyExtension.java"
NestHost: sun.security.ssl.PreSharedKeyExtension
InnerClasses:
final ClientHelloMessage = sun.security.ssl.ClientHello$ClientHelloMessage of sun.security.ssl.ClientHello
private final CHPreSharedKeySpec = sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec of sun.security.ssl.PreSharedKeyExtension
private final CHPreSharedKeyUpdate = sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyUpdate of sun.security.ssl.PreSharedKeyExtension
private final SHPreSharedKeySpec = sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec of sun.security.ssl.PreSharedKeyExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake