final class sun.security.ssl.ServerHello
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.ServerHello
super_class: java.lang.Object
{
static final sun.security.ssl.SSLConsumer handshakeConsumer;
descriptor: Lsun/security/ssl/SSLConsumer;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.HandshakeProducer t12HandshakeProducer;
descriptor: Lsun/security/ssl/HandshakeProducer;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.HandshakeProducer t13HandshakeProducer;
descriptor: Lsun/security/ssl/HandshakeProducer;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.HandshakeProducer hrrHandshakeProducer;
descriptor: Lsun/security/ssl/HandshakeProducer;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.HandshakeProducer hrrReproducer;
descriptor: Lsun/security/ssl/HandshakeProducer;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final sun.security.ssl.HandshakeConsumer t12HandshakeConsumer;
descriptor: Lsun/security/ssl/HandshakeConsumer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final sun.security.ssl.HandshakeConsumer t13HandshakeConsumer;
descriptor: Lsun/security/ssl/HandshakeConsumer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final sun.security.ssl.HandshakeConsumer d12HandshakeConsumer;
descriptor: Lsun/security/ssl/HandshakeConsumer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final sun.security.ssl.HandshakeConsumer d13HandshakeConsumer;
descriptor: Lsun/security/ssl/HandshakeConsumer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final sun.security.ssl.HandshakeConsumer t13HrrHandshakeConsumer;
descriptor: Lsun/security/ssl/HandshakeConsumer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final sun.security.ssl.HandshakeConsumer d13HrrHandshakeConsumer;
descriptor: Lsun/security/ssl/HandshakeConsumer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.security.ssl.ServerHello$ServerHelloConsumer
dup
invokespecial sun.security.ssl.ServerHello$ServerHelloConsumer.<init>:()V
1: putstatic sun.security.ssl.ServerHello.handshakeConsumer:Lsun/security/ssl/SSLConsumer;
2: new sun.security.ssl.ServerHello$T12ServerHelloProducer
dup
invokespecial sun.security.ssl.ServerHello$T12ServerHelloProducer.<init>:()V
3: putstatic sun.security.ssl.ServerHello.t12HandshakeProducer:Lsun/security/ssl/HandshakeProducer;
4: new sun.security.ssl.ServerHello$T13ServerHelloProducer
dup
invokespecial sun.security.ssl.ServerHello$T13ServerHelloProducer.<init>:()V
5: putstatic sun.security.ssl.ServerHello.t13HandshakeProducer:Lsun/security/ssl/HandshakeProducer;
6: new sun.security.ssl.ServerHello$T13HelloRetryRequestProducer
dup
invokespecial sun.security.ssl.ServerHello$T13HelloRetryRequestProducer.<init>:()V
7: putstatic sun.security.ssl.ServerHello.hrrHandshakeProducer:Lsun/security/ssl/HandshakeProducer;
8: new sun.security.ssl.ServerHello$T13HelloRetryRequestReproducer
dup
invokespecial sun.security.ssl.ServerHello$T13HelloRetryRequestReproducer.<init>:()V
9: putstatic sun.security.ssl.ServerHello.hrrReproducer:Lsun/security/ssl/HandshakeProducer;
10: new sun.security.ssl.ServerHello$T12ServerHelloConsumer
dup
invokespecial sun.security.ssl.ServerHello$T12ServerHelloConsumer.<init>:()V
11: putstatic sun.security.ssl.ServerHello.t12HandshakeConsumer:Lsun/security/ssl/HandshakeConsumer;
12: new sun.security.ssl.ServerHello$T13ServerHelloConsumer
dup
invokespecial sun.security.ssl.ServerHello$T13ServerHelloConsumer.<init>:()V
13: putstatic sun.security.ssl.ServerHello.t13HandshakeConsumer:Lsun/security/ssl/HandshakeConsumer;
14: new sun.security.ssl.ServerHello$T12ServerHelloConsumer
dup
invokespecial sun.security.ssl.ServerHello$T12ServerHelloConsumer.<init>:()V
15: putstatic sun.security.ssl.ServerHello.d12HandshakeConsumer:Lsun/security/ssl/HandshakeConsumer;
16: new sun.security.ssl.ServerHello$T13ServerHelloConsumer
dup
invokespecial sun.security.ssl.ServerHello$T13ServerHelloConsumer.<init>:()V
17: putstatic sun.security.ssl.ServerHello.d13HandshakeConsumer:Lsun/security/ssl/HandshakeConsumer;
18: new sun.security.ssl.ServerHello$T13HelloRetryRequestConsumer
dup
invokespecial sun.security.ssl.ServerHello$T13HelloRetryRequestConsumer.<init>:()V
19: putstatic sun.security.ssl.ServerHello.t13HrrHandshakeConsumer:Lsun/security/ssl/HandshakeConsumer;
20: new sun.security.ssl.ServerHello$T13HelloRetryRequestConsumer
dup
invokespecial sun.security.ssl.ServerHello$T13HelloRetryRequestConsumer.<init>:()V
21: putstatic sun.security.ssl.ServerHello.d13HrrHandshakeConsumer:Lsun/security/ssl/HandshakeConsumer;
22: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/ServerHello;
private static void setUpPskKD(sun.security.ssl.HandshakeContext, javax.crypto.SecretKey);
descriptor: (Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 2
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 2
1: ldc "Using PSK to derive early secret"
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeContext.negotiatedCipherSuite:Lsun/security/ssl/CipherSuite;
getfield sun.security.ssl.CipherSuite.hashAlg:Lsun/security/ssl/CipherSuite$HashAlg;
astore 2
start local 2 3: new sun.security.ssl.HKDF
dup
aload 2
getfield sun.security.ssl.CipherSuite$HashAlg.name:Ljava/lang/String;
invokespecial sun.security.ssl.HKDF.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: aload 2
getfield sun.security.ssl.CipherSuite$HashAlg.hashLength:I
newarray 8
astore 4
start local 4 5: aload 3
aload 4
aload 1
ldc "TlsEarlySecret"
invokevirtual sun.security.ssl.HKDF.extract:([BLjavax/crypto/SecretKey;Ljava/lang/String;)Ljavax/crypto/SecretKey;
astore 5
start local 5 6: aload 0
7: new sun.security.ssl.SSLSecretDerivation
dup
aload 0
aload 5
invokespecial sun.security.ssl.SSLSecretDerivation.<init>:(Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;)V
8: putfield sun.security.ssl.HandshakeContext.handshakeKeyDerivation:Lsun/security/ssl/SSLKeyDerivation;
end local 5 end local 4 end local 3 end local 2 9: goto 16
StackMap locals:
StackMap stack: java.security.GeneralSecurityException
10: astore 2
start local 2 11: new javax.net.ssl.SSLHandshakeException
dup
12: ldc "Could not generate secret"
13: invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
14: aload 2
invokevirtual javax.net.ssl.SSLHandshakeException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
15: checkcast javax.net.ssl.SSLHandshakeException
athrow
end local 2 16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 hc Lsun/security/ssl/HandshakeContext;
0 17 1 psk Ljavax/crypto/SecretKey;
3 9 2 hashAlg Lsun/security/ssl/CipherSuite$HashAlg;
4 9 3 hkdf Lsun/security/ssl/HKDF;
5 9 4 zeros [B
6 9 5 earlySecret Ljavax/crypto/SecretKey;
11 16 2 gse Ljava/security/GeneralSecurityException;
Exception table:
from to target type
2 9 10 Class java.security.GeneralSecurityException
Exceptions:
throws javax.net.ssl.SSLHandshakeException
MethodParameters:
Name Flags
hc
psk
}
SourceFile: "ServerHello.java"
NestMembers:
sun.security.ssl.ServerHello$ServerHelloConsumer sun.security.ssl.ServerHello$ServerHelloMessage sun.security.ssl.ServerHello$T12ServerHelloConsumer sun.security.ssl.ServerHello$T12ServerHelloProducer sun.security.ssl.ServerHello$T12ServerHelloProducer$KeyExchangeProperties sun.security.ssl.ServerHello$T13HelloRetryRequestConsumer sun.security.ssl.ServerHello$T13HelloRetryRequestProducer sun.security.ssl.ServerHello$T13HelloRetryRequestReproducer sun.security.ssl.ServerHello$T13ServerHelloConsumer sun.security.ssl.ServerHello$T13ServerHelloProducer
InnerClasses:
final HashAlg = sun.security.ssl.CipherSuite$HashAlg of sun.security.ssl.CipherSuite
private final ServerHelloConsumer = sun.security.ssl.ServerHello$ServerHelloConsumer of sun.security.ssl.ServerHello
final ServerHelloMessage = sun.security.ssl.ServerHello$ServerHelloMessage of sun.security.ssl.ServerHello
private final T12ServerHelloConsumer = sun.security.ssl.ServerHello$T12ServerHelloConsumer of sun.security.ssl.ServerHello
private final T12ServerHelloProducer = sun.security.ssl.ServerHello$T12ServerHelloProducer of sun.security.ssl.ServerHello
private final T13HelloRetryRequestConsumer = sun.security.ssl.ServerHello$T13HelloRetryRequestConsumer of sun.security.ssl.ServerHello
private final T13HelloRetryRequestProducer = sun.security.ssl.ServerHello$T13HelloRetryRequestProducer of sun.security.ssl.ServerHello
private final T13HelloRetryRequestReproducer = sun.security.ssl.ServerHello$T13HelloRetryRequestReproducer of sun.security.ssl.ServerHello
private final T13ServerHelloConsumer = sun.security.ssl.ServerHello$T13ServerHelloConsumer of sun.security.ssl.ServerHello
private final T13ServerHelloProducer = sun.security.ssl.ServerHello$T13ServerHelloProducer of sun.security.ssl.ServerHello