final class sun.security.ssl.KeyShareExtension$CHKeyShareProducer implements sun.security.ssl.HandshakeProducer
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.ssl.KeyShareExtension$CHKeyShareProducer
  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$CHKeyShareProducer this
         0: .line 217
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 219
            return
        end local 0 // sun.security.ssl.KeyShareExtension$CHKeyShareProducer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/security/ssl/KeyShareExtension$CHKeyShareProducer;

  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=14, args_size=3
        start local 0 // sun.security.ssl.KeyShareExtension$CHKeyShareProducer this
        start local 1 // sun.security.ssl.ConnectionContext context
        start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
         0: .line 225
            aload 1 /* context */
            checkcast sun.security.ssl.ClientHandshakeContext
            astore 3 /* chc */
        start local 3 // sun.security.ssl.ClientHandshakeContext chc
         1: .line 228
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
            getstatic sun.security.ssl.SSLExtension.CH_KEY_SHARE:Lsun/security/ssl/SSLExtension;
            invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
            ifne 6
         2: .line 229
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 5
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 5
         3: .line 231
            ldc "Ignore unavailable key_share extension"
            iconst_0
            anewarray java.lang.Object
         4: .line 230
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
         5: .line 233
      StackMap locals: sun.security.ssl.ClientHandshakeContext
      StackMap stack:
            aconst_null
            areturn
         6: .line 237
      StackMap locals:
      StackMap stack:
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.serverSelectedNamedGroup:Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
            ifnull 9
         7: .line 239
            iconst_1
            anewarray sun.security.ssl.SupportedGroupsExtension$NamedGroup
            dup
            iconst_0
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.serverSelectedNamedGroup:Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
            aastore
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            astore 4 /* namedGroups */
        start local 4 // java.util.List namedGroups
         8: .line 240
            goto 15
        end local 4 // java.util.List namedGroups
         9: .line 241
      StackMap locals:
      StackMap stack:
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.clientRequestedNamedGroups:Ljava/util/List;
            astore 4 /* namedGroups */
        start local 4 // java.util.List namedGroups
        10: .line 242
            aload 4 /* namedGroups */
            ifnull 11
            aload 4 /* namedGroups */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 15
        11: .line 244
      StackMap locals: java.util.List
      StackMap stack:
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 14
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 14
        12: .line 246
            ldc "Ignore key_share extension, no supported groups"
            iconst_0
            anewarray java.lang.Object
        13: .line 245
            invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
        14: .line 248
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        15: .line 252
      StackMap locals:
      StackMap stack:
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            astore 5 /* keyShares */
        start local 5 // java.util.List keyShares
        16: .line 253
            aload 4 /* namedGroups */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 7
            goto 36
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.List java.util.List top java.util.Iterator
      StackMap stack:
        17: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast sun.security.ssl.SupportedGroupsExtension$NamedGroup
            astore 6 /* ng */
        start local 6 // sun.security.ssl.SupportedGroupsExtension$NamedGroup ng
        18: .line 254
            aload 6 /* ng */
            invokestatic sun.security.ssl.SSLKeyExchange.valueOf:(Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;)Lsun/security/ssl/SSLKeyExchange;
            astore 8 /* ke */
        start local 8 // sun.security.ssl.SSLKeyExchange ke
        19: .line 255
            aload 8 /* ke */
            ifnonnull 24
        20: .line 256
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 36
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 36
        21: .line 258
            new java.lang.StringBuilder
            dup
            ldc "No key exchange for named group "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 6 /* ng */
            getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.name:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.Object
        22: .line 257
            invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
        23: .line 260
            goto 36
        24: .line 263
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.List java.util.List sun.security.ssl.SupportedGroupsExtension$NamedGroup java.util.Iterator sun.security.ssl.SSLKeyExchange
      StackMap stack:
            aload 8 /* ke */
            aload 3 /* chc */
            invokevirtual sun.security.ssl.SSLKeyExchange.createPossessions:(Lsun/security/ssl/HandshakeContext;)[Lsun/security/ssl/SSLPossession;
            astore 9 /* poses */
        start local 9 // sun.security.ssl.SSLPossession[] poses
        25: .line 264
            aload 9 /* poses */
            dup
            astore 13
            arraylength
            istore 12
            iconst_0
            istore 11
            goto 33
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.List java.util.List sun.security.ssl.SupportedGroupsExtension$NamedGroup java.util.Iterator sun.security.ssl.SSLKeyExchange sun.security.ssl.SSLPossession[] top int int sun.security.ssl.SSLPossession[]
      StackMap stack:
        26: aload 13
            iload 11
            aaload
            astore 10 /* pos */
        start local 10 // sun.security.ssl.SSLPossession pos
        27: .line 266
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.handshakePossessions:Ljava/util/List;
            aload 10 /* pos */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        28: .line 267
            aload 10 /* pos */
            instanceof sun.security.ssl.ECDHKeyExchange$ECDHEPossession
            ifne 31
        29: .line 268
            aload 10 /* pos */
            instanceof sun.security.ssl.DHKeyExchange$DHEPossession
            ifne 31
        30: .line 270
            goto 32
        31: .line 273
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.List java.util.List sun.security.ssl.SupportedGroupsExtension$NamedGroup java.util.Iterator sun.security.ssl.SSLKeyExchange sun.security.ssl.SSLPossession[] sun.security.ssl.SSLPossession int int sun.security.ssl.SSLPossession[]
      StackMap stack:
            aload 5 /* keyShares */
            new sun.security.ssl.KeyShareExtension$KeyShareEntry
            dup
            aload 6 /* ng */
            getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.id:I
            aload 10 /* pos */
            invokeinterface sun.security.ssl.SSLPossession.encode:()[B
            invokespecial sun.security.ssl.KeyShareExtension$KeyShareEntry.<init>:(I[B)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 10 // sun.security.ssl.SSLPossession pos
        32: .line 264
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.List java.util.List sun.security.ssl.SupportedGroupsExtension$NamedGroup java.util.Iterator sun.security.ssl.SSLKeyExchange sun.security.ssl.SSLPossession[] top int int sun.security.ssl.SSLPossession[]
      StackMap stack:
            iinc 11 1
      StackMap locals:
      StackMap stack:
        33: iload 11
            iload 12
            if_icmplt 26
        34: .line 278
            aload 5 /* keyShares */
            invokeinterface java.util.List.isEmpty:()Z
            ifne 36
        35: .line 279
            goto 37
        end local 9 // sun.security.ssl.SSLPossession[] poses
        end local 8 // sun.security.ssl.SSLKeyExchange ke
        end local 6 // sun.security.ssl.SupportedGroupsExtension$NamedGroup ng
        36: .line 253
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.List java.util.List top java.util.Iterator
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 17
        37: .line 283
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.List java.util.List
      StackMap stack:
            iconst_0
            istore 6 /* listLen */
        start local 6 // int listLen
        38: .line 284
            aload 5 /* keyShares */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 8
            goto 41
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.List java.util.List int top java.util.Iterator
      StackMap stack:
        39: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast sun.security.ssl.KeyShareExtension$KeyShareEntry
            astore 7 /* entry */
        start local 7 // sun.security.ssl.KeyShareExtension$KeyShareEntry entry
        40: .line 285
            iload 6 /* listLen */
            aload 7 /* entry */
            invokevirtual sun.security.ssl.KeyShareExtension$KeyShareEntry.getEncodedSize:()I
            iadd
            istore 6 /* listLen */
        end local 7 // sun.security.ssl.KeyShareExtension$KeyShareEntry entry
        41: .line 284
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 39
        42: .line 287
            iload 6 /* listLen */
            iconst_2
            iadd
            newarray 8
            astore 7 /* extData */
        start local 7 // byte[] extData
        43: .line 288
            aload 7 /* extData */
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            astore 8 /* m */
        start local 8 // java.nio.ByteBuffer m
        44: .line 289
            aload 8 /* m */
            iload 6 /* listLen */
            invokestatic sun.security.ssl.Record.putInt16:(Ljava/nio/ByteBuffer;I)V
        45: .line 290
            aload 5 /* keyShares */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 10
            goto 48
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.List java.util.List int byte[] java.nio.ByteBuffer top java.util.Iterator
      StackMap stack:
        46: aload 10
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast sun.security.ssl.KeyShareExtension$KeyShareEntry
            astore 9 /* entry */
        start local 9 // sun.security.ssl.KeyShareExtension$KeyShareEntry entry
        47: .line 291
            aload 8 /* m */
            aload 9 /* entry */
            invokevirtual sun.security.ssl.KeyShareExtension$KeyShareEntry.getEncoded:()[B
            invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
            pop
        end local 9 // sun.security.ssl.KeyShareExtension$KeyShareEntry entry
        48: .line 290
      StackMap locals:
      StackMap stack:
            aload 10
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 46
        49: .line 295
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
            getstatic sun.security.ssl.SSLExtension.CH_KEY_SHARE:Lsun/security/ssl/SSLExtension;
        50: .line 296
            new sun.security.ssl.KeyShareExtension$CHKeyShareSpec
            dup
            aload 5 /* keyShares */
            invokespecial sun.security.ssl.KeyShareExtension$CHKeyShareSpec.<init>:(Ljava/util/List;)V
        51: .line 295
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        52: .line 298
            aload 7 /* extData */
            areturn
        end local 8 // java.nio.ByteBuffer m
        end local 7 // byte[] extData
        end local 6 // int listLen
        end local 5 // java.util.List keyShares
        end local 4 // java.util.List namedGroups
        end local 3 // sun.security.ssl.ClientHandshakeContext chc
        end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
        end local 1 // sun.security.ssl.ConnectionContext context
        end local 0 // sun.security.ssl.KeyShareExtension$CHKeyShareProducer this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   53     0         this  Lsun/security/ssl/KeyShareExtension$CHKeyShareProducer;
            0   53     1      context  Lsun/security/ssl/ConnectionContext;
            0   53     2      message  Lsun/security/ssl/SSLHandshake$HandshakeMessage;
            1   53     3          chc  Lsun/security/ssl/ClientHandshakeContext;
            8    9     4  namedGroups  Ljava/util/List<Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;>;
           10   53     4  namedGroups  Ljava/util/List<Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;>;
           16   53     5    keyShares  Ljava/util/List<Lsun/security/ssl/KeyShareExtension$KeyShareEntry;>;
           18   36     6           ng  Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
           19   36     8           ke  Lsun/security/ssl/SSLKeyExchange;
           25   36     9        poses  [Lsun/security/ssl/SSLPossession;
           27   32    10          pos  Lsun/security/ssl/SSLPossession;
           38   53     6      listLen  I
           40   41     7        entry  Lsun/security/ssl/KeyShareExtension$KeyShareEntry;
           43   53     7      extData  [B
           44   53     8            m  Ljava/nio/ByteBuffer;
           47   48     9        entry  Lsun/security/ssl/KeyShareExtension$KeyShareEntry;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      context  
      message  
}
SourceFile: "KeyShareExtension.java"
NestHost: sun.security.ssl.KeyShareExtension
InnerClasses:
  final DHEPossession = sun.security.ssl.DHKeyExchange$DHEPossession of sun.security.ssl.DHKeyExchange
  final ECDHEPossession = sun.security.ssl.ECDHKeyExchange$ECDHEPossession of sun.security.ssl.ECDHKeyExchange
  private final CHKeyShareProducer = sun.security.ssl.KeyShareExtension$CHKeyShareProducer of sun.security.ssl.KeyShareExtension
  final CHKeyShareSpec = sun.security.ssl.KeyShareExtension$CHKeyShareSpec 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
  final NamedGroup = sun.security.ssl.SupportedGroupsExtension$NamedGroup of sun.security.ssl.SupportedGroupsExtension