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

  public void consume(sun.security.ssl.ConnectionContext, java.nio.ByteBuffer);
    descriptor: (Lsun/security/ssl/ConnectionContext;Ljava/nio/ByteBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=13, args_size=3
        start local 0 // sun.security.ssl.ECDHClientKeyExchange$ECDHEClientKeyExchangeConsumer this
        start local 1 // sun.security.ssl.ConnectionContext context
        start local 2 // java.nio.ByteBuffer message
         0: .line 453
            aload 1 /* context */
            checkcast sun.security.ssl.ServerHandshakeContext
            astore 3 /* shc */
        start local 3 // sun.security.ssl.ServerHandshakeContext shc
         1: .line 455
            aconst_null
            astore 4 /* ecdhePossession */
        start local 4 // sun.security.ssl.ECDHKeyExchange$ECDHEPossession ecdhePossession
         2: .line 456
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.handshakePossessions:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 7
      StackMap locals: sun.security.ssl.ECDHClientKeyExchange$ECDHEClientKeyExchangeConsumer sun.security.ssl.ConnectionContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.ECDHKeyExchange$ECDHEPossession top java.util.Iterator
      StackMap stack:
         3: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast sun.security.ssl.SSLPossession
            astore 5 /* possession */
        start local 5 // sun.security.ssl.SSLPossession possession
         4: .line 457
            aload 5 /* possession */
            instanceof sun.security.ssl.ECDHKeyExchange$ECDHEPossession
            ifeq 7
         5: .line 458
            aload 5 /* possession */
            checkcast sun.security.ssl.ECDHKeyExchange$ECDHEPossession
            astore 4 /* ecdhePossession */
         6: .line 459
            goto 8
        end local 5 // sun.security.ssl.SSLPossession possession
         7: .line 456
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         8: .line 462
      StackMap locals: sun.security.ssl.ECDHClientKeyExchange$ECDHEClientKeyExchangeConsumer sun.security.ssl.ConnectionContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.ECDHKeyExchange$ECDHEPossession
      StackMap stack:
            aload 4 /* ecdhePossession */
            ifnonnull 12
         9: .line 464
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
        10: .line 465
            ldc "No expected ECDHE possessions for client key exchange"
        11: .line 464
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        12: .line 468
      StackMap locals:
      StackMap stack:
            aload 4 /* ecdhePossession */
            getfield sun.security.ssl.ECDHKeyExchange$ECDHEPossession.publicKey:Ljava/security/interfaces/ECPublicKey;
            invokeinterface java.security.interfaces.ECPublicKey.getParams:()Ljava/security/spec/ECParameterSpec;
            astore 5 /* params */
        start local 5 // java.security.spec.ECParameterSpec params
        13: .line 469
            aload 5 /* params */
            invokestatic sun.security.ssl.SupportedGroupsExtension$NamedGroup.valueOf:(Ljava/security/spec/ECParameterSpec;)Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
            astore 6 /* namedGroup */
        start local 6 // sun.security.ssl.SupportedGroupsExtension$NamedGroup namedGroup
        14: .line 470
            aload 6 /* namedGroup */
            ifnonnull 18
        15: .line 472
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
        16: .line 473
            ldc "Unsupported EC server cert for ECDHE client key exchange"
        17: .line 472
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        18: .line 477
      StackMap locals: java.security.spec.ECParameterSpec sun.security.ssl.SupportedGroupsExtension$NamedGroup
      StackMap stack:
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.negotiatedCipherSuite:Lsun/security/ssl/CipherSuite;
            getfield sun.security.ssl.CipherSuite.keyExchange:Lsun/security/ssl/CipherSuite$KeyExchange;
        19: .line 478
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
        20: .line 476
            invokestatic sun.security.ssl.SSLKeyExchange.valueOf:(Lsun/security/ssl/CipherSuite$KeyExchange;Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/SSLKeyExchange;
            astore 7 /* ke */
        start local 7 // sun.security.ssl.SSLKeyExchange ke
        21: .line 479
            aload 7 /* ke */
            ifnonnull 25
        22: .line 481
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
        23: .line 482
            ldc "Not supported key exchange type"
        24: .line 481
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        25: .line 487
      StackMap locals: sun.security.ssl.SSLKeyExchange
      StackMap stack:
            new sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage
            dup
            aload 3 /* shc */
            aload 2 /* message */
            invokespecial sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.<init>:(Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
        26: .line 486
            astore 8 /* cke */
        start local 8 // sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage cke
        27: .line 488
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 30
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 30
        28: .line 490
            ldc "Consuming ECDHE ClientKeyExchange handshake message"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 8 /* cke */
            aastore
        29: .line 489
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        30: .line 496
      StackMap locals: sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage
      StackMap stack:
            aload 8 /* cke */
            getfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
            aload 5 /* params */
            invokevirtual java.security.spec.ECParameterSpec.getCurve:()Ljava/security/spec/EllipticCurve;
            invokestatic sun.security.ssl.JsseJce.decodePoint:([BLjava/security/spec/EllipticCurve;)Ljava/security/spec/ECPoint;
        31: .line 495
            astore 9 /* point */
        start local 9 // java.security.spec.ECPoint point
        32: .line 497
            new java.security.spec.ECPublicKeySpec
            dup
            aload 9 /* point */
            aload 5 /* params */
            invokespecial java.security.spec.ECPublicKeySpec.<init>:(Ljava/security/spec/ECPoint;Ljava/security/spec/ECParameterSpec;)V
            astore 10 /* spec */
        start local 10 // java.security.spec.ECPublicKeySpec spec
        33: .line 499
            ldc "EC"
            invokestatic sun.security.ssl.JsseJce.getKeyFactory:(Ljava/lang/String;)Ljava/security/KeyFactory;
            astore 11 /* kf */
        start local 11 // java.security.KeyFactory kf
        34: .line 501
            aload 11 /* kf */
            aload 10 /* spec */
            invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
            checkcast java.security.interfaces.ECPublicKey
        35: .line 500
            astore 12 /* peerPublicKey */
        start local 12 // java.security.interfaces.ECPublicKey peerPublicKey
        36: .line 504
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.algorithmConstraints:Ljava/security/AlgorithmConstraints;
        37: .line 505
            getstatic java.security.CryptoPrimitive.KEY_AGREEMENT:Ljava/security/CryptoPrimitive;
            invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
        38: .line 506
            aload 12 /* peerPublicKey */
        39: .line 504
            invokeinterface java.security.AlgorithmConstraints.permits:(Ljava/util/Set;Ljava/security/Key;)Z
        40: .line 506
            ifne 44
        41: .line 507
            new javax.net.ssl.SSLHandshakeException
            dup
        42: .line 508
            ldc "ECPublicKey does not comply to algorithm constraints"
        43: .line 507
            invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
            athrow
        44: .line 511
      StackMap locals: sun.security.ssl.ECDHClientKeyExchange$ECDHEClientKeyExchangeConsumer sun.security.ssl.ConnectionContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.ECDHKeyExchange$ECDHEPossession java.security.spec.ECParameterSpec sun.security.ssl.SupportedGroupsExtension$NamedGroup sun.security.ssl.SSLKeyExchange sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage java.security.spec.ECPoint java.security.spec.ECPublicKeySpec java.security.KeyFactory java.security.interfaces.ECPublicKey
      StackMap stack:
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.handshakeCredentials:Ljava/util/List;
            new sun.security.ssl.ECDHKeyExchange$ECDHECredentials
            dup
        45: .line 512
            aload 12 /* peerPublicKey */
            aload 6 /* namedGroup */
            invokespecial sun.security.ssl.ECDHKeyExchange$ECDHECredentials.<init>:(Ljava/security/interfaces/ECPublicKey;Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;)V
        46: .line 511
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 12 // java.security.interfaces.ECPublicKey peerPublicKey
        end local 11 // java.security.KeyFactory kf
        end local 10 // java.security.spec.ECPublicKeySpec spec
        end local 9 // java.security.spec.ECPoint point
        47: .line 513
            goto 54
      StackMap locals: sun.security.ssl.ECDHClientKeyExchange$ECDHEClientKeyExchangeConsumer sun.security.ssl.ConnectionContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.ECDHKeyExchange$ECDHEPossession java.security.spec.ECParameterSpec sun.security.ssl.SupportedGroupsExtension$NamedGroup sun.security.ssl.SSLKeyExchange sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage
      StackMap stack: java.lang.Exception
        48: astore 9 /* e */
        start local 9 // java.lang.Exception e
        49: .line 514
            new javax.net.ssl.SSLHandshakeException
            dup
        50: .line 515
            ldc "Could not generate ECPublicKey"
        51: .line 514
            invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
        52: .line 515
            aload 9 /* e */
            invokevirtual javax.net.ssl.SSLHandshakeException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
        53: .line 514
            checkcast javax.net.ssl.SSLHandshakeException
            athrow
        end local 9 // java.lang.Exception e
        54: .line 519
      StackMap locals:
      StackMap stack:
            aload 7 /* ke */
            aload 3 /* shc */
            invokevirtual sun.security.ssl.SSLKeyExchange.createKeyDerivation:(Lsun/security/ssl/HandshakeContext;)Lsun/security/ssl/SSLKeyDerivation;
            astore 9 /* masterKD */
        start local 9 // sun.security.ssl.SSLKeyDerivation masterKD
        55: .line 521
            aload 9 /* masterKD */
            ldc "MasterSecret"
            aconst_null
            invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
        56: .line 520
            astore 10 /* masterSecret */
        start local 10 // javax.crypto.SecretKey masterSecret
        57: .line 522
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
            aload 10 /* masterSecret */
            invokevirtual sun.security.ssl.SSLSessionImpl.setMasterSecret:(Ljavax/crypto/SecretKey;)V
        58: .line 525
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
            invokestatic sun.security.ssl.SSLTrafficKeyDerivation.valueOf:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/SSLTrafficKeyDerivation;
        59: .line 524
            astore 11 /* kd */
        start local 11 // sun.security.ssl.SSLTrafficKeyDerivation kd
        60: .line 526
            aload 11 /* kd */
            ifnonnull 64
        61: .line 528
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
        62: .line 529
            new java.lang.StringBuilder
            dup
            ldc "Not supported key derivation: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        63: .line 528
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        64: .line 531
      StackMap locals: sun.security.ssl.SSLKeyDerivation javax.crypto.SecretKey sun.security.ssl.SSLTrafficKeyDerivation
      StackMap stack:
            aload 3 /* shc */
        65: .line 532
            aload 11 /* kd */
            aload 3 /* shc */
            aload 10 /* masterSecret */
            invokevirtual sun.security.ssl.SSLTrafficKeyDerivation.createKeyDerivation:(Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;)Lsun/security/ssl/SSLKeyDerivation;
        66: .line 531
            putfield sun.security.ssl.ServerHandshakeContext.handshakeKeyDerivation:Lsun/security/ssl/SSLKeyDerivation;
        67: .line 534
            return
        end local 11 // sun.security.ssl.SSLTrafficKeyDerivation kd
        end local 10 // javax.crypto.SecretKey masterSecret
        end local 9 // sun.security.ssl.SSLKeyDerivation masterKD
        end local 8 // sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage cke
        end local 7 // sun.security.ssl.SSLKeyExchange ke
        end local 6 // sun.security.ssl.SupportedGroupsExtension$NamedGroup namedGroup
        end local 5 // java.security.spec.ECParameterSpec params
        end local 4 // sun.security.ssl.ECDHKeyExchange$ECDHEPossession ecdhePossession
        end local 3 // sun.security.ssl.ServerHandshakeContext shc
        end local 2 // java.nio.ByteBuffer message
        end local 1 // sun.security.ssl.ConnectionContext context
        end local 0 // sun.security.ssl.ECDHClientKeyExchange$ECDHEClientKeyExchangeConsumer this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   68     0             this  Lsun/security/ssl/ECDHClientKeyExchange$ECDHEClientKeyExchangeConsumer;
            0   68     1          context  Lsun/security/ssl/ConnectionContext;
            0   68     2          message  Ljava/nio/ByteBuffer;
            1   68     3              shc  Lsun/security/ssl/ServerHandshakeContext;
            2   68     4  ecdhePossession  Lsun/security/ssl/ECDHKeyExchange$ECDHEPossession;
            4    7     5       possession  Lsun/security/ssl/SSLPossession;
           13   68     5           params  Ljava/security/spec/ECParameterSpec;
           14   68     6       namedGroup  Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
           21   68     7               ke  Lsun/security/ssl/SSLKeyExchange;
           27   68     8              cke  Lsun/security/ssl/ECDHClientKeyExchange$ECDHClientKeyExchangeMessage;
           32   47     9            point  Ljava/security/spec/ECPoint;
           33   47    10             spec  Ljava/security/spec/ECPublicKeySpec;
           34   47    11               kf  Ljava/security/KeyFactory;
           36   47    12    peerPublicKey  Ljava/security/interfaces/ECPublicKey;
           49   54     9                e  Ljava/lang/Exception;
           55   68     9         masterKD  Lsun/security/ssl/SSLKeyDerivation;
           57   68    10     masterSecret  Ljavax/crypto/SecretKey;
           60   68    11               kd  Lsun/security/ssl/SSLTrafficKeyDerivation;
      Exception table:
        from    to  target  type
          30    47      48  Class java.security.GeneralSecurityException
          30    47      48  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      context  
      message  
}
SourceFile: "ECDHClientKeyExchange.java"
NestHost: sun.security.ssl.ECDHClientKeyExchange
InnerClasses:
  final KeyExchange = sun.security.ssl.CipherSuite$KeyExchange of sun.security.ssl.CipherSuite
  private final ECDHClientKeyExchangeMessage = sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage of sun.security.ssl.ECDHClientKeyExchange
  private final ECDHEClientKeyExchangeConsumer = sun.security.ssl.ECDHClientKeyExchange$ECDHEClientKeyExchangeConsumer of sun.security.ssl.ECDHClientKeyExchange
  final ECDHECredentials = sun.security.ssl.ECDHKeyExchange$ECDHECredentials of sun.security.ssl.ECDHKeyExchange
  final ECDHEPossession = sun.security.ssl.ECDHKeyExchange$ECDHEPossession of sun.security.ssl.ECDHKeyExchange
  final NamedGroup = sun.security.ssl.SupportedGroupsExtension$NamedGroup of sun.security.ssl.SupportedGroupsExtension