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 211
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 213
            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 219
            aload 1 /* context */
            checkcast sun.security.ssl.ClientHandshakeContext
            astore 3 /* chc */
        start local 3 // sun.security.ssl.ClientHandshakeContext chc
         1: .line 222
            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 223
            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 225
            ldc "Ignore unavailable key_share extension"
            iconst_0
            anewarray java.lang.Object
         4: .line 224
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
         5: .line 227
      StackMap locals: sun.security.ssl.ClientHandshakeContext
      StackMap stack:
            aconst_null
            areturn
         6: .line 231
      StackMap locals:
      StackMap stack:
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.serverSelectedNamedGroup:Lsun/security/ssl/NamedGroup;
            ifnull 9
         7: .line 233
            iconst_1
            anewarray sun.security.ssl.NamedGroup
            dup
            iconst_0
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.serverSelectedNamedGroup:Lsun/security/ssl/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 234
            goto 15
        end local 4 // java.util.List namedGroups
         9: .line 235
      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 236
            aload 4 /* namedGroups */
            ifnull 11
            aload 4 /* namedGroups */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 15
        11: .line 238
      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 240
            ldc "Ignore key_share extension, no supported groups"
            iconst_0
            anewarray java.lang.Object
        13: .line 239
            invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
        14: .line 242
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        15: .line 246
      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 247
            aload 4 /* namedGroups */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 7
            goto 35
      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.NamedGroup
            astore 6 /* ng */
        start local 6 // sun.security.ssl.NamedGroup ng
        18: .line 248
            aload 6 /* ng */
            invokestatic sun.security.ssl.SSLKeyExchange.valueOf:(Lsun/security/ssl/NamedGroup;)Lsun/security/ssl/SSLKeyExchange;
            astore 8 /* ke */
        start local 8 // sun.security.ssl.SSLKeyExchange ke
        19: .line 249
            aload 8 /* ke */
            ifnonnull 24
        20: .line 250
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 35
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 35
        21: .line 252
            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.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 251
            invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
        23: .line 254
            goto 35
        24: .line 257
      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.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 258
            aload 9 /* poses */
            dup
            astore 13
            arraylength
            istore 12
            iconst_0
            istore 11
            goto 32
      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.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 260
            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 261
            aload 10 /* pos */
            instanceof sun.security.ssl.NamedGroupPossession
            ifne 30
        29: .line 263
            goto 31
        30: .line 266
      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.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.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
        31: .line 258
      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.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:
        32: iload 11
            iload 12
            if_icmplt 26
        33: .line 271
            aload 5 /* keyShares */
            invokeinterface java.util.List.isEmpty:()Z
            ifne 35
        34: .line 272
            goto 36
        end local 9 // sun.security.ssl.SSLPossession[] poses
        end local 8 // sun.security.ssl.SSLKeyExchange ke
        end local 6 // sun.security.ssl.NamedGroup ng
        35: .line 247
      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
        36: .line 276
      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
        37: .line 277
            aload 5 /* keyShares */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 8
            goto 40
      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:
        38: 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
        39: .line 278
            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
        40: .line 277
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 38
        41: .line 280
            iload 6 /* listLen */
            iconst_2
            iadd
            newarray 8
            astore 7 /* extData */
        start local 7 // byte[] extData
        42: .line 281
            aload 7 /* extData */
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            astore 8 /* m */
        start local 8 // java.nio.ByteBuffer m
        43: .line 282
            aload 8 /* m */
            iload 6 /* listLen */
            invokestatic sun.security.ssl.Record.putInt16:(Ljava/nio/ByteBuffer;I)V
        44: .line 283
            aload 5 /* keyShares */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 10
            goto 47
      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:
        45: 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
        46: .line 284
            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
        47: .line 283
      StackMap locals:
      StackMap stack:
            aload 10
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 45
        48: .line 288
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
            getstatic sun.security.ssl.SSLExtension.CH_KEY_SHARE:Lsun/security/ssl/SSLExtension;
        49: .line 289
            new sun.security.ssl.KeyShareExtension$CHKeyShareSpec
            dup
            aload 5 /* keyShares */
            invokespecial sun.security.ssl.KeyShareExtension$CHKeyShareSpec.<init>:(Ljava/util/List;)V
        50: .line 288
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        51: .line 291
            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   52     0         this  Lsun/security/ssl/KeyShareExtension$CHKeyShareProducer;
            0   52     1      context  Lsun/security/ssl/ConnectionContext;
            0   52     2      message  Lsun/security/ssl/SSLHandshake$HandshakeMessage;
            1   52     3          chc  Lsun/security/ssl/ClientHandshakeContext;
            8    9     4  namedGroups  Ljava/util/List<Lsun/security/ssl/NamedGroup;>;
           10   52     4  namedGroups  Ljava/util/List<Lsun/security/ssl/NamedGroup;>;
           16   52     5    keyShares  Ljava/util/List<Lsun/security/ssl/KeyShareExtension$KeyShareEntry;>;
           18   35     6           ng  Lsun/security/ssl/NamedGroup;
           19   35     8           ke  Lsun/security/ssl/SSLKeyExchange;
           25   35     9        poses  [Lsun/security/ssl/SSLPossession;
           27   31    10          pos  Lsun/security/ssl/SSLPossession;
           37   52     6      listLen  I
           39   40     7        entry  Lsun/security/ssl/KeyShareExtension$KeyShareEntry;
           42   52     7      extData  [B
           43   52     8            m  Ljava/nio/ByteBuffer;
           46   47     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:
  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