final class sun.security.ssl.KeyShareExtension$HRRKeyShareReproducer implements sun.security.ssl.HandshakeProducer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.KeyShareExtension$HRRKeyShareReproducer
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.KeyShareExtension$HRRKeyShareReproducer this
0: .line 843
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 845
return
end local 0 // sun.security.ssl.KeyShareExtension$HRRKeyShareReproducer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/KeyShareExtension$HRRKeyShareReproducer;
public byte[] produce(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage);
descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 // sun.security.ssl.KeyShareExtension$HRRKeyShareReproducer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 851
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 3 /* shc */
start local 3 // sun.security.ssl.ServerHandshakeContext shc
1: .line 854
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getstatic sun.security.ssl.SSLExtension.HRR_KEY_SHARE:Lsun/security/ssl/SSLExtension;
invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
ifne 5
2: .line 855
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
3: .line 856
ldc "Unsupported key_share extension in HelloRetryRequest"
4: .line 855
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
5: .line 859
StackMap locals: sun.security.ssl.ServerHandshakeContext
StackMap stack:
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
6: .line 860
getstatic sun.security.ssl.SSLExtension.CH_KEY_SHARE:Lsun/security/ssl/SSLExtension;
7: .line 859
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.ssl.KeyShareExtension$CHKeyShareSpec
astore 4 /* spec */
start local 4 // sun.security.ssl.KeyShareExtension$CHKeyShareSpec spec
8: .line 861
aload 4 /* spec */
ifnull 16
aload 4 /* spec */
getfield sun.security.ssl.KeyShareExtension$CHKeyShareSpec.clientShares:Ljava/util/List;
ifnull 16
9: .line 862
aload 4 /* spec */
getfield sun.security.ssl.KeyShareExtension$CHKeyShareSpec.clientShares:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 16
10: .line 863
aload 4 /* spec */
getfield sun.security.ssl.KeyShareExtension$CHKeyShareSpec.clientShares:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.security.ssl.KeyShareExtension$KeyShareEntry
getfield sun.security.ssl.KeyShareExtension$KeyShareEntry.namedGroupId:I
istore 5 /* namedGroupId */
start local 5 // int namedGroupId
11: .line 865
iconst_2
newarray 8
dup
iconst_0
12: .line 866
iload 5 /* namedGroupId */
bipush 8
ishr
sipush 255
iand
i2b
bastore
dup
iconst_1
13: .line 867
iload 5 /* namedGroupId */
sipush 255
iand
i2b
bastore
14: .line 865
astore 6 /* extdata */
start local 6 // byte[] extdata
15: .line 870
aload 6 /* extdata */
areturn
end local 6 // byte[] extdata
end local 5 // int namedGroupId
16: .line 873
StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareSpec
StackMap stack:
aconst_null
areturn
end local 4 // sun.security.ssl.KeyShareExtension$CHKeyShareSpec spec
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.KeyShareExtension$HRRKeyShareReproducer this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/security/ssl/KeyShareExtension$HRRKeyShareReproducer;
0 17 1 context Lsun/security/ssl/ConnectionContext;
0 17 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 17 3 shc Lsun/security/ssl/ServerHandshakeContext;
8 17 4 spec Lsun/security/ssl/KeyShareExtension$CHKeyShareSpec;
11 16 5 namedGroupId I
15 16 6 extdata [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
}
SourceFile: "KeyShareExtension.java"
NestHost: sun.security.ssl.KeyShareExtension
InnerClasses:
final CHKeyShareSpec = sun.security.ssl.KeyShareExtension$CHKeyShareSpec of sun.security.ssl.KeyShareExtension
private final HRRKeyShareReproducer = sun.security.ssl.KeyShareExtension$HRRKeyShareReproducer of sun.security.ssl.KeyShareExtension
private final KeyShareEntry = sun.security.ssl.KeyShareExtension$KeyShareEntry of sun.security.ssl.KeyShareExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake