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

  public void consume(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage, java.nio.ByteBuffer);
    descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;Ljava/nio/ByteBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=11, args_size=4
        start local 0 // sun.security.ssl.KeyShareExtension$CHKeyShareConsumer this
        start local 1 // sun.security.ssl.ConnectionContext context
        start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
        start local 3 // java.nio.ByteBuffer buffer
         0: .line 316
            aload 1 /* context */
            checkcast sun.security.ssl.ServerHandshakeContext
            astore 4 /* shc */
        start local 4 // sun.security.ssl.ServerHandshakeContext shc
         1: .line 318
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
            getstatic sun.security.ssl.SSLExtension.CH_KEY_SHARE:Lsun/security/ssl/SSLExtension;
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifeq 6
         2: .line 319
            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 321
            ldc "The key_share extension has been loaded"
            iconst_0
            anewarray java.lang.Object
         4: .line 320
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
         5: .line 323
      StackMap locals: sun.security.ssl.ServerHandshakeContext
      StackMap stack:
            return
         6: .line 327
      StackMap locals:
      StackMap stack:
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.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 11
         7: .line 328
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 10
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 10
         8: .line 330
            ldc "Ignore unavailable key_share extension"
            iconst_0
            anewarray java.lang.Object
         9: .line 329
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        10: .line 332
      StackMap locals:
      StackMap stack:
            return
        11: .line 338
      StackMap locals:
      StackMap stack:
            new sun.security.ssl.KeyShareExtension$CHKeyShareSpec
            dup
            aload 3 /* buffer */
            invokespecial sun.security.ssl.KeyShareExtension$CHKeyShareSpec.<init>:(Ljava/nio/ByteBuffer;)V
            astore 5 /* spec */
        start local 5 // sun.security.ssl.KeyShareExtension$CHKeyShareSpec spec
        12: .line 339
            goto 15
        end local 5 // sun.security.ssl.KeyShareExtension$CHKeyShareSpec spec
      StackMap locals:
      StackMap stack: java.io.IOException
        13: astore 6 /* ioe */
        start local 6 // java.io.IOException ioe
        14: .line 340
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
            aload 6 /* ioe */
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
            athrow
        end local 6 // java.io.IOException ioe
        start local 5 // sun.security.ssl.KeyShareExtension$CHKeyShareSpec spec
        15: .line 343
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareSpec
      StackMap stack:
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            astore 6 /* credentials */
        start local 6 // java.util.List credentials
        16: .line 344
            aload 5 /* spec */
            getfield sun.security.ssl.KeyShareExtension$CHKeyShareSpec.clientShares:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 8
            goto 68
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.KeyShareExtension$CHKeyShareSpec java.util.List top java.util.Iterator
      StackMap stack:
        17: 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
        18: .line 345
            aload 7 /* entry */
            getfield sun.security.ssl.KeyShareExtension$KeyShareEntry.namedGroupId:I
            invokestatic sun.security.ssl.SupportedGroupsExtension$NamedGroup.valueOf:(I)Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
            astore 9 /* ng */
        start local 9 // sun.security.ssl.SupportedGroupsExtension$NamedGroup ng
        19: .line 346
            aload 9 /* ng */
            ifnull 23
        20: .line 347
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
            getfield sun.security.ssl.SSLConfiguration.algorithmConstraints:Ljava/security/AlgorithmConstraints;
            aload 9 /* ng */
        21: .line 346
            invokestatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.isActivatable:(Ljava/security/AlgorithmConstraints;Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;)Z
        22: .line 347
            ifne 29
        23: .line 348
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.KeyShareExtension$CHKeyShareSpec java.util.List sun.security.ssl.KeyShareExtension$KeyShareEntry java.util.Iterator sun.security.ssl.SupportedGroupsExtension$NamedGroup
      StackMap stack:
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 68
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 68
        24: .line 350
            new java.lang.StringBuilder
            dup
            ldc "Ignore unsupported named group: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        25: .line 351
            aload 7 /* entry */
            getfield sun.security.ssl.KeyShareExtension$KeyShareEntry.namedGroupId:I
            invokestatic sun.security.ssl.SupportedGroupsExtension$NamedGroup.nameOf:(I)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        26: .line 350
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.Object
        27: .line 349
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        28: .line 353
            goto 68
        29: .line 356
      StackMap locals:
      StackMap stack:
            aload 9 /* ng */
            getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.type:Lsun/security/ssl/SupportedGroupsExtension$NamedGroupType;
            getstatic sun.security.ssl.SupportedGroupsExtension$NamedGroupType.NAMED_GROUP_ECDHE:Lsun/security/ssl/SupportedGroupsExtension$NamedGroupType;
            if_acmpne 49
        30: .line 359
            aload 9 /* ng */
            aload 7 /* entry */
            getfield sun.security.ssl.KeyShareExtension$KeyShareEntry.keyExchange:[B
            invokestatic sun.security.ssl.ECDHKeyExchange$ECDHECredentials.valueOf:(Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;[B)Lsun/security/ssl/ECDHKeyExchange$ECDHECredentials;
        31: .line 358
            astore 10 /* ecdhec */
        start local 10 // sun.security.ssl.ECDHKeyExchange$ECDHECredentials ecdhec
        32: .line 360
            aload 10 /* ecdhec */
            ifnull 68
        33: .line 361
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.algorithmConstraints:Ljava/security/AlgorithmConstraints;
        34: .line 362
            getstatic java.security.CryptoPrimitive.KEY_AGREEMENT:Ljava/security/CryptoPrimitive;
            invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
        35: .line 363
            aload 10 /* ecdhec */
            getfield sun.security.ssl.ECDHKeyExchange$ECDHECredentials.popPublicKey:Ljava/security/interfaces/ECPublicKey;
        36: .line 361
            invokeinterface java.security.AlgorithmConstraints.permits:(Ljava/util/Set;Ljava/security/Key;)Z
        37: .line 363
            ifne 41
        38: .line 365
            ldc "ECDHE key share entry does not comply to algorithm constraints"
            iconst_0
            anewarray java.lang.Object
        39: .line 364
            invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
        40: .line 367
            goto 68
        41: .line 368
      StackMap locals: sun.security.ssl.ECDHKeyExchange$ECDHECredentials
      StackMap stack:
            aload 6 /* credentials */
            aload 10 /* ecdhec */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 10 // sun.security.ssl.ECDHKeyExchange$ECDHECredentials ecdhec
        42: .line 371
            goto 68
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.KeyShareExtension$CHKeyShareSpec java.util.List sun.security.ssl.KeyShareExtension$KeyShareEntry java.util.Iterator sun.security.ssl.SupportedGroupsExtension$NamedGroup
      StackMap stack: java.lang.Exception
        43: pop
        44: .line 373
            new java.lang.StringBuilder
            dup
            ldc "Cannot decode named group: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        45: .line 374
            aload 7 /* entry */
            getfield sun.security.ssl.KeyShareExtension$KeyShareEntry.namedGroupId:I
            invokestatic sun.security.ssl.SupportedGroupsExtension$NamedGroup.nameOf:(I)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        46: .line 373
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.Object
        47: .line 372
            invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
        48: .line 376
            goto 68
      StackMap locals:
      StackMap stack:
        49: aload 9 /* ng */
            getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.type:Lsun/security/ssl/SupportedGroupsExtension$NamedGroupType;
            getstatic sun.security.ssl.SupportedGroupsExtension$NamedGroupType.NAMED_GROUP_FFDHE:Lsun/security/ssl/SupportedGroupsExtension$NamedGroupType;
            if_acmpne 68
        50: .line 379
            aload 9 /* ng */
            aload 7 /* entry */
            getfield sun.security.ssl.KeyShareExtension$KeyShareEntry.keyExchange:[B
            invokestatic sun.security.ssl.DHKeyExchange$DHECredentials.valueOf:(Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;[B)Lsun/security/ssl/DHKeyExchange$DHECredentials;
        51: .line 378
            astore 10 /* dhec */
        start local 10 // sun.security.ssl.DHKeyExchange$DHECredentials dhec
        52: .line 380
            aload 10 /* dhec */
            ifnull 68
        53: .line 381
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.algorithmConstraints:Ljava/security/AlgorithmConstraints;
        54: .line 382
            getstatic java.security.CryptoPrimitive.KEY_AGREEMENT:Ljava/security/CryptoPrimitive;
            invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
        55: .line 383
            aload 10 /* dhec */
            getfield sun.security.ssl.DHKeyExchange$DHECredentials.popPublicKey:Ljavax/crypto/interfaces/DHPublicKey;
        56: .line 381
            invokeinterface java.security.AlgorithmConstraints.permits:(Ljava/util/Set;Ljava/security/Key;)Z
        57: .line 383
            ifne 61
        58: .line 385
            ldc "DHE key share entry does not comply to algorithm constraints"
            iconst_0
            anewarray java.lang.Object
        59: .line 384
            invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
        60: .line 387
            goto 68
        61: .line 388
      StackMap locals: sun.security.ssl.DHKeyExchange$DHECredentials
      StackMap stack:
            aload 6 /* credentials */
            aload 10 /* dhec */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 10 // sun.security.ssl.DHKeyExchange$DHECredentials dhec
        62: .line 391
            goto 68
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.KeyShareExtension$CHKeyShareSpec java.util.List sun.security.ssl.KeyShareExtension$KeyShareEntry java.util.Iterator sun.security.ssl.SupportedGroupsExtension$NamedGroup
      StackMap stack: java.lang.Exception
        63: pop
        64: .line 393
            new java.lang.StringBuilder
            dup
            ldc "Cannot decode named group: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        65: .line 394
            aload 7 /* entry */
            getfield sun.security.ssl.KeyShareExtension$KeyShareEntry.namedGroupId:I
            invokestatic sun.security.ssl.SupportedGroupsExtension$NamedGroup.nameOf:(I)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        66: .line 393
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.Object
        67: .line 392
            invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
        end local 9 // sun.security.ssl.SupportedGroupsExtension$NamedGroup ng
        end local 7 // sun.security.ssl.KeyShareExtension$KeyShareEntry entry
        68: .line 344
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.KeyShareExtension$CHKeyShareSpec java.util.List top java.util.Iterator
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 17
        69: .line 399
            aload 6 /* credentials */
            invokeinterface java.util.List.isEmpty:()Z
            ifne 72
        70: .line 400
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.handshakeCredentials:Ljava/util/List;
            aload 6 /* credentials */
            invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
            pop
        71: .line 401
            goto 76
        72: .line 403
      StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.KeyShareExtension$CHKeyShareSpec java.util.List
      StackMap stack:
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.handshakeProducers:Ljava/util/HashMap;
        73: .line 404
            getstatic sun.security.ssl.SSLHandshake.HELLO_RETRY_REQUEST:Lsun/security/ssl/SSLHandshake;
            getfield sun.security.ssl.SSLHandshake.id:B
            invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
        74: .line 405
            getstatic sun.security.ssl.SSLHandshake.HELLO_RETRY_REQUEST:Lsun/security/ssl/SSLHandshake;
        75: .line 403
            invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        76: .line 409
      StackMap locals:
      StackMap stack:
            aload 4 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
            getstatic sun.security.ssl.SSLExtension.CH_KEY_SHARE:Lsun/security/ssl/SSLExtension;
            aload 5 /* spec */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        77: .line 410
            return
        end local 6 // java.util.List credentials
        end local 5 // sun.security.ssl.KeyShareExtension$CHKeyShareSpec spec
        end local 4 // sun.security.ssl.ServerHandshakeContext shc
        end local 3 // java.nio.ByteBuffer buffer
        end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
        end local 1 // sun.security.ssl.ConnectionContext context
        end local 0 // sun.security.ssl.KeyShareExtension$CHKeyShareConsumer this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   78     0         this  Lsun/security/ssl/KeyShareExtension$CHKeyShareConsumer;
            0   78     1      context  Lsun/security/ssl/ConnectionContext;
            0   78     2      message  Lsun/security/ssl/SSLHandshake$HandshakeMessage;
            0   78     3       buffer  Ljava/nio/ByteBuffer;
            1   78     4          shc  Lsun/security/ssl/ServerHandshakeContext;
           12   13     5         spec  Lsun/security/ssl/KeyShareExtension$CHKeyShareSpec;
           15   78     5         spec  Lsun/security/ssl/KeyShareExtension$CHKeyShareSpec;
           14   15     6          ioe  Ljava/io/IOException;
           16   78     6  credentials  Ljava/util/List<Lsun/security/ssl/SSLCredentials;>;
           18   68     7        entry  Lsun/security/ssl/KeyShareExtension$KeyShareEntry;
           19   68     9           ng  Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
           32   42    10       ecdhec  Lsun/security/ssl/ECDHKeyExchange$ECDHECredentials;
           52   62    10         dhec  Lsun/security/ssl/DHKeyExchange$DHECredentials;
      Exception table:
        from    to  target  type
          11    12      13  Class java.io.IOException
          30    42      43  Class java.io.IOException
          30    42      43  Class java.security.GeneralSecurityException
          50    62      63  Class java.io.IOException
          50    62      63  Class java.security.GeneralSecurityException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      context  
      message  
      buffer   
}
SourceFile: "KeyShareExtension.java"
NestHost: sun.security.ssl.KeyShareExtension
InnerClasses:
  final DHECredentials = sun.security.ssl.DHKeyExchange$DHECredentials of sun.security.ssl.DHKeyExchange
  final ECDHECredentials = sun.security.ssl.ECDHKeyExchange$ECDHECredentials of sun.security.ssl.ECDHKeyExchange
  private final CHKeyShareConsumer = sun.security.ssl.KeyShareExtension$CHKeyShareConsumer 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 ExtensionConsumer = sun.security.ssl.SSLExtension$ExtensionConsumer of sun.security.ssl.SSLExtension
  abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake
  final NamedGroup = sun.security.ssl.SupportedGroupsExtension$NamedGroup of sun.security.ssl.SupportedGroupsExtension
  final NamedGroupType = sun.security.ssl.SupportedGroupsExtension$NamedGroupType of sun.security.ssl.SupportedGroupsExtension
  SupportedGroups = sun.security.ssl.SupportedGroupsExtension$SupportedGroups of sun.security.ssl.SupportedGroupsExtension