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

  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=14, args_size=3
        start local 0 // sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeConsumer this
        start local 1 // sun.security.ssl.ConnectionContext context
        start local 2 // java.nio.ByteBuffer message
         0: .line 271
            aload 1 /* context */
            checkcast sun.security.ssl.ServerHandshakeContext
            astore 3 /* shc */
        start local 3 // sun.security.ssl.ServerHandshakeContext shc
         1: .line 273
            aconst_null
            astore 4 /* x509Possession */
        start local 4 // sun.security.ssl.X509Authentication$X509Possession x509Possession
         2: .line 274
            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$ECDHClientKeyExchangeConsumer sun.security.ssl.ConnectionContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.X509Authentication$X509Possession 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 275
            aload 5 /* possession */
            instanceof sun.security.ssl.X509Authentication$X509Possession
            ifeq 7
         5: .line 276
            aload 5 /* possession */
            checkcast sun.security.ssl.X509Authentication$X509Possession
            astore 4 /* x509Possession */
         6: .line 277
            goto 8
        end local 5 // sun.security.ssl.SSLPossession possession
         7: .line 274
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         8: .line 281
      StackMap locals: sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeConsumer sun.security.ssl.ConnectionContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.X509Authentication$X509Possession
      StackMap stack:
            aload 4 /* x509Possession */
            ifnonnull 12
         9: .line 283
            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 284
            ldc "No expected EC server cert for ECDH client key exchange"
        11: .line 283
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        12: .line 287
      StackMap locals:
      StackMap stack:
            aload 4 /* x509Possession */
            getfield sun.security.ssl.X509Authentication$X509Possession.popPrivateKey:Ljava/security/PrivateKey;
            astore 5 /* privateKey */
        start local 5 // java.security.PrivateKey privateKey
        13: .line 288
            aload 5 /* privateKey */
            invokeinterface java.security.PrivateKey.getAlgorithm:()Ljava/lang/String;
            ldc "EC"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 17
        14: .line 290
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
        15: .line 291
            ldc "Not EC server cert for ECDH client key exchange"
        16: .line 290
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        17: .line 294
      StackMap locals: java.security.PrivateKey
      StackMap stack:
            aload 5 /* privateKey */
            checkcast java.security.interfaces.ECPrivateKey
            invokeinterface java.security.interfaces.ECPrivateKey.getParams:()Ljava/security/spec/ECParameterSpec;
            astore 6 /* params */
        start local 6 // java.security.spec.ECParameterSpec params
        18: .line 295
            aload 6 /* params */
            invokestatic sun.security.ssl.SupportedGroupsExtension$NamedGroup.valueOf:(Ljava/security/spec/ECParameterSpec;)Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
            astore 7 /* namedGroup */
        start local 7 // sun.security.ssl.SupportedGroupsExtension$NamedGroup namedGroup
        19: .line 296
            aload 7 /* namedGroup */
            ifnonnull 23
        20: .line 298
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
        21: .line 299
            ldc "Unsupported EC server cert for ECDH client key exchange"
        22: .line 298
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        23: .line 303
      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;
        24: .line 304
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
        25: .line 302
            invokestatic sun.security.ssl.SSLKeyExchange.valueOf:(Lsun/security/ssl/CipherSuite$KeyExchange;Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/SSLKeyExchange;
            astore 8 /* ke */
        start local 8 // sun.security.ssl.SSLKeyExchange ke
        26: .line 305
            aload 8 /* ke */
            ifnonnull 30
        27: .line 307
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
        28: .line 308
            ldc "Not supported key exchange type"
        29: .line 307
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        30: .line 313
      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
        31: .line 312
            astore 9 /* cke */
        start local 9 // sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage cke
        32: .line 314
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 35
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 35
        33: .line 316
            ldc "Consuming ECDH ClientKeyExchange handshake message"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 9 /* cke */
            aastore
        34: .line 315
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        35: .line 322
      StackMap locals: sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage
      StackMap stack:
            aload 9 /* cke */
            getfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
            aload 6 /* 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;
        36: .line 321
            astore 10 /* point */
        start local 10 // java.security.spec.ECPoint point
        37: .line 323
            new java.security.spec.ECPublicKeySpec
            dup
            aload 10 /* point */
            aload 6 /* params */
            invokespecial java.security.spec.ECPublicKeySpec.<init>:(Ljava/security/spec/ECPoint;Ljava/security/spec/ECParameterSpec;)V
            astore 11 /* spec */
        start local 11 // java.security.spec.ECPublicKeySpec spec
        38: .line 325
            ldc "EC"
            invokestatic sun.security.ssl.JsseJce.getKeyFactory:(Ljava/lang/String;)Ljava/security/KeyFactory;
            astore 12 /* kf */
        start local 12 // java.security.KeyFactory kf
        39: .line 327
            aload 12 /* kf */
            aload 11 /* spec */
            invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
            checkcast java.security.interfaces.ECPublicKey
        40: .line 326
            astore 13 /* peerPublicKey */
        start local 13 // java.security.interfaces.ECPublicKey peerPublicKey
        41: .line 330
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.algorithmConstraints:Ljava/security/AlgorithmConstraints;
        42: .line 331
            getstatic java.security.CryptoPrimitive.KEY_AGREEMENT:Ljava/security/CryptoPrimitive;
            invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
        43: .line 332
            aload 13 /* peerPublicKey */
        44: .line 330
            invokeinterface java.security.AlgorithmConstraints.permits:(Ljava/util/Set;Ljava/security/Key;)Z
        45: .line 332
            ifne 49
        46: .line 333
            new javax.net.ssl.SSLHandshakeException
            dup
        47: .line 334
            ldc "ECPublicKey does not comply to algorithm constraints"
        48: .line 333
            invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
            athrow
        49: .line 337
      StackMap locals: sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeConsumer sun.security.ssl.ConnectionContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.X509Authentication$X509Possession java.security.PrivateKey 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
        50: .line 338
            aload 13 /* peerPublicKey */
            aload 7 /* namedGroup */
            invokespecial sun.security.ssl.ECDHKeyExchange$ECDHECredentials.<init>:(Ljava/security/interfaces/ECPublicKey;Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;)V
        51: .line 337
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 13 // java.security.interfaces.ECPublicKey peerPublicKey
        end local 12 // java.security.KeyFactory kf
        end local 11 // java.security.spec.ECPublicKeySpec spec
        end local 10 // java.security.spec.ECPoint point
        52: .line 339
            goto 59
      StackMap locals: sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeConsumer sun.security.ssl.ConnectionContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.X509Authentication$X509Possession java.security.PrivateKey java.security.spec.ECParameterSpec sun.security.ssl.SupportedGroupsExtension$NamedGroup sun.security.ssl.SSLKeyExchange sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage
      StackMap stack: java.lang.Exception
        53: astore 10 /* e */
        start local 10 // java.lang.Exception e
        54: .line 340
            new javax.net.ssl.SSLHandshakeException
            dup
        55: .line 341
            ldc "Could not generate ECPublicKey"
        56: .line 340
            invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
        57: .line 341
            aload 10 /* e */
            invokevirtual javax.net.ssl.SSLHandshakeException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
        58: .line 340
            checkcast javax.net.ssl.SSLHandshakeException
            athrow
        end local 10 // java.lang.Exception e
        59: .line 345
      StackMap locals:
      StackMap stack:
            aload 8 /* ke */
            aload 3 /* shc */
            invokevirtual sun.security.ssl.SSLKeyExchange.createKeyDerivation:(Lsun/security/ssl/HandshakeContext;)Lsun/security/ssl/SSLKeyDerivation;
            astore 10 /* masterKD */
        start local 10 // sun.security.ssl.SSLKeyDerivation masterKD
        60: .line 347
            aload 10 /* masterKD */
            ldc "MasterSecret"
            aconst_null
            invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
        61: .line 346
            astore 11 /* masterSecret */
        start local 11 // javax.crypto.SecretKey masterSecret
        62: .line 348
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
            aload 11 /* masterSecret */
            invokevirtual sun.security.ssl.SSLSessionImpl.setMasterSecret:(Ljavax/crypto/SecretKey;)V
        63: .line 351
            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;
        64: .line 350
            astore 12 /* kd */
        start local 12 // sun.security.ssl.SSLTrafficKeyDerivation kd
        65: .line 352
            aload 12 /* kd */
            ifnonnull 69
        66: .line 354
            aload 3 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
        67: .line 355
            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;
        68: .line 354
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        69: .line 357
      StackMap locals: sun.security.ssl.SSLKeyDerivation javax.crypto.SecretKey sun.security.ssl.SSLTrafficKeyDerivation
      StackMap stack:
            aload 3 /* shc */
        70: .line 358
            aload 12 /* kd */
            aload 3 /* shc */
            aload 11 /* masterSecret */
            invokevirtual sun.security.ssl.SSLTrafficKeyDerivation.createKeyDerivation:(Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;)Lsun/security/ssl/SSLKeyDerivation;
        71: .line 357
            putfield sun.security.ssl.ServerHandshakeContext.handshakeKeyDerivation:Lsun/security/ssl/SSLKeyDerivation;
        72: .line 360
            return
        end local 12 // sun.security.ssl.SSLTrafficKeyDerivation kd
        end local 11 // javax.crypto.SecretKey masterSecret
        end local 10 // sun.security.ssl.SSLKeyDerivation masterKD
        end local 9 // sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage cke
        end local 8 // sun.security.ssl.SSLKeyExchange ke
        end local 7 // sun.security.ssl.SupportedGroupsExtension$NamedGroup namedGroup
        end local 6 // java.security.spec.ECParameterSpec params
        end local 5 // java.security.PrivateKey privateKey
        end local 4 // sun.security.ssl.X509Authentication$X509Possession x509Possession
        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$ECDHClientKeyExchangeConsumer this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   73     0            this  Lsun/security/ssl/ECDHClientKeyExchange$ECDHClientKeyExchangeConsumer;
            0   73     1         context  Lsun/security/ssl/ConnectionContext;
            0   73     2         message  Ljava/nio/ByteBuffer;
            1   73     3             shc  Lsun/security/ssl/ServerHandshakeContext;
            2   73     4  x509Possession  Lsun/security/ssl/X509Authentication$X509Possession;
            4    7     5      possession  Lsun/security/ssl/SSLPossession;
           13   73     5      privateKey  Ljava/security/PrivateKey;
           18   73     6          params  Ljava/security/spec/ECParameterSpec;
           19   73     7      namedGroup  Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
           26   73     8              ke  Lsun/security/ssl/SSLKeyExchange;
           32   73     9             cke  Lsun/security/ssl/ECDHClientKeyExchange$ECDHClientKeyExchangeMessage;
           37   52    10           point  Ljava/security/spec/ECPoint;
           38   52    11            spec  Ljava/security/spec/ECPublicKeySpec;
           39   52    12              kf  Ljava/security/KeyFactory;
           41   52    13   peerPublicKey  Ljava/security/interfaces/ECPublicKey;
           54   59    10               e  Ljava/lang/Exception;
           60   73    10        masterKD  Lsun/security/ssl/SSLKeyDerivation;
           62   73    11    masterSecret  Ljavax/crypto/SecretKey;
           65   73    12              kd  Lsun/security/ssl/SSLTrafficKeyDerivation;
      Exception table:
        from    to  target  type
          35    52      53  Class java.security.GeneralSecurityException
          35    52      53  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 ECDHClientKeyExchangeConsumer = sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeConsumer of sun.security.ssl.ECDHClientKeyExchange
  private final ECDHClientKeyExchangeMessage = sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage of sun.security.ssl.ECDHClientKeyExchange
  final ECDHECredentials = sun.security.ssl.ECDHKeyExchange$ECDHECredentials of sun.security.ssl.ECDHKeyExchange
  final NamedGroup = sun.security.ssl.SupportedGroupsExtension$NamedGroup of sun.security.ssl.SupportedGroupsExtension
  final X509Possession = sun.security.ssl.X509Authentication$X509Possession of sun.security.ssl.X509Authentication