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

  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=6, locals=13, args_size=3
        start local 0 // sun.security.ssl.KeyUpdate$KeyUpdateProducer this
        start local 1 // sun.security.ssl.ConnectionContext context
        start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
         0: .line 268
            aload 1 /* context */
            checkcast sun.security.ssl.PostHandshakeContext
            astore 3 /* hc */
        start local 3 // sun.security.ssl.PostHandshakeContext hc
         1: .line 269
            aload 2 /* message */
            checkcast sun.security.ssl.KeyUpdate$KeyUpdateMessage
            astore 4 /* km */
        start local 4 // sun.security.ssl.KeyUpdate$KeyUpdateMessage km
         2: .line 270
            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 272
            ldc "Produced KeyUpdate post-handshake message"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 4 /* km */
            aastore
         4: .line 271
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
         5: .line 277
      StackMap locals: sun.security.ssl.PostHandshakeContext sun.security.ssl.KeyUpdate$KeyUpdateMessage
      StackMap stack:
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getfield sun.security.ssl.TransportContext.protocolVersion:Lsun/security/ssl/ProtocolVersion;
            invokestatic sun.security.ssl.SSLTrafficKeyDerivation.valueOf:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/SSLTrafficKeyDerivation;
         6: .line 276
            astore 5 /* kdg */
        start local 5 // sun.security.ssl.SSLTrafficKeyDerivation kdg
         7: .line 278
            aload 5 /* kdg */
            ifnonnull 13
         8: .line 280
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
         9: .line 281
            new java.lang.StringBuilder
            dup
            ldc "Not supported key derivation: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        10: .line 282
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getfield sun.security.ssl.TransportContext.protocolVersion:Lsun/security/ssl/ProtocolVersion;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
        11: .line 281
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        12: .line 280
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        13: .line 285
      StackMap locals: sun.security.ssl.SSLTrafficKeyDerivation
      StackMap stack:
            aload 5 /* kdg */
            aload 3 /* hc */
        14: .line 286
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getfield sun.security.ssl.TransportContext.outputRecord:Lsun/security/ssl/OutputRecord;
            getfield sun.security.ssl.OutputRecord.writeCipher:Lsun/security/ssl/SSLCipher$SSLWriteCipher;
            getfield sun.security.ssl.SSLCipher$SSLWriteCipher.baseSecret:Ljavax/crypto/SecretKey;
        15: .line 285
            invokevirtual sun.security.ssl.SSLTrafficKeyDerivation.createKeyDerivation:(Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;)Lsun/security/ssl/SSLKeyDerivation;
            astore 6 /* skd */
        start local 6 // sun.security.ssl.SSLKeyDerivation skd
        16: .line 287
            aload 6 /* skd */
            ifnonnull 20
        17: .line 289
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
        18: .line 290
            getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
            ldc "no key derivation"
        19: .line 289
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        20: .line 293
      StackMap locals: sun.security.ssl.SSLKeyDerivation
      StackMap stack:
            aload 6 /* skd */
            ldc "TlsUpdateNplus1"
            aconst_null
            invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
            astore 7 /* nplus1 */
        start local 7 // javax.crypto.SecretKey nplus1
        21: .line 294
            aload 5 /* kdg */
            aload 3 /* hc */
            aload 7 /* nplus1 */
            invokevirtual sun.security.ssl.SSLTrafficKeyDerivation.createKeyDerivation:(Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;)Lsun/security/ssl/SSLKeyDerivation;
            astore 8 /* kd */
        start local 8 // sun.security.ssl.SSLKeyDerivation kd
        22: .line 295
            aload 8 /* kd */
            ldc "TlsKey"
            aconst_null
            invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
            astore 9 /* key */
        start local 9 // javax.crypto.SecretKey key
        23: .line 296
            new javax.crypto.spec.IvParameterSpec
            dup
        24: .line 297
            aload 8 /* kd */
            ldc "TlsIv"
            aconst_null
            invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
            invokeinterface javax.crypto.SecretKey.getEncoded:()[B
        25: .line 296
            invokespecial javax.crypto.spec.IvParameterSpec.<init>:([B)V
            astore 10 /* ivSpec */
        start local 10 // javax.crypto.spec.IvParameterSpec ivSpec
        26: .line 301
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.negotiatedCipherSuite:Lsun/security/ssl/CipherSuite;
            getfield sun.security.ssl.CipherSuite.bulkCipher:Lsun/security/ssl/SSLCipher;
        27: .line 302
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getfield sun.security.ssl.TransportContext.protocolVersion:Lsun/security/ssl/ProtocolVersion;
            invokestatic sun.security.ssl.Authenticator.valueOf:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/Authenticator;
        28: .line 303
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getfield sun.security.ssl.TransportContext.protocolVersion:Lsun/security/ssl/ProtocolVersion;
            aload 9 /* key */
            aload 10 /* ivSpec */
        29: .line 304
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
            invokevirtual sun.security.ssl.SSLContextImpl.getSecureRandom:()Ljava/security/SecureRandom;
        30: .line 301
            invokevirtual sun.security.ssl.SSLCipher.createWriteCipher:(Lsun/security/ssl/Authenticator;Lsun/security/ssl/ProtocolVersion;Ljavax/crypto/SecretKey;Ljavax/crypto/spec/IvParameterSpec;Ljava/security/SecureRandom;)Lsun/security/ssl/SSLCipher$SSLWriteCipher;
            astore 11 /* wc */
        start local 11 // sun.security.ssl.SSLCipher$SSLWriteCipher wc
        31: .line 305
            goto 36
        end local 11 // sun.security.ssl.SSLCipher$SSLWriteCipher wc
      StackMap locals: sun.security.ssl.KeyUpdate$KeyUpdateProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.PostHandshakeContext sun.security.ssl.KeyUpdate$KeyUpdateMessage sun.security.ssl.SSLTrafficKeyDerivation sun.security.ssl.SSLKeyDerivation javax.crypto.SecretKey sun.security.ssl.SSLKeyDerivation javax.crypto.SecretKey javax.crypto.spec.IvParameterSpec
      StackMap stack: java.security.GeneralSecurityException
        32: astore 12 /* gse */
        start local 12 // java.security.GeneralSecurityException gse
        33: .line 306
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
        34: .line 307
            ldc "Failure to derive write secrets"
            aload 12 /* gse */
        35: .line 306
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
            athrow
        end local 12 // java.security.GeneralSecurityException gse
        start local 11 // sun.security.ssl.SSLCipher$SSLWriteCipher wc
        36: .line 310
      StackMap locals: sun.security.ssl.SSLCipher$SSLWriteCipher
      StackMap stack:
            aload 11 /* wc */
            ifnonnull 42
        37: .line 311
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
        38: .line 312
            new java.lang.StringBuilder
            dup
            ldc "Illegal cipher suite ("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.negotiatedCipherSuite:Lsun/security/ssl/CipherSuite;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
        39: .line 313
            ldc ") and protocol version ("
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        40: .line 312
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        41: .line 311
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        42: .line 320
      StackMap locals:
      StackMap stack:
            aload 11 /* wc */
            aload 7 /* nplus1 */
            putfield sun.security.ssl.SSLCipher$SSLWriteCipher.baseSecret:Ljavax/crypto/SecretKey;
        43: .line 321
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getfield sun.security.ssl.TransportContext.outputRecord:Lsun/security/ssl/OutputRecord;
            aload 11 /* wc */
            aload 4 /* km */
            getfield sun.security.ssl.KeyUpdate$KeyUpdateMessage.status:Lsun/security/ssl/KeyUpdate$KeyUpdateRequest;
            getfield sun.security.ssl.KeyUpdate$KeyUpdateRequest.id:B
            invokevirtual sun.security.ssl.OutputRecord.changeWriteCiphers:(Lsun/security/ssl/SSLCipher$SSLWriteCipher;B)V
        44: .line 322
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 46
            ldc "ssl"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 46
        45: .line 323
            ldc "KeyUpdate: write key updated"
            iconst_0
            anewarray java.lang.Object
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        46: .line 327
      StackMap locals:
      StackMap stack:
            aload 3 /* hc */
            getfield sun.security.ssl.PostHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            invokevirtual sun.security.ssl.TransportContext.finishPostHandshake:()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;
            pop
        47: .line 330
            aconst_null
            areturn
        end local 11 // sun.security.ssl.SSLCipher$SSLWriteCipher wc
        end local 10 // javax.crypto.spec.IvParameterSpec ivSpec
        end local 9 // javax.crypto.SecretKey key
        end local 8 // sun.security.ssl.SSLKeyDerivation kd
        end local 7 // javax.crypto.SecretKey nplus1
        end local 6 // sun.security.ssl.SSLKeyDerivation skd
        end local 5 // sun.security.ssl.SSLTrafficKeyDerivation kdg
        end local 4 // sun.security.ssl.KeyUpdate$KeyUpdateMessage km
        end local 3 // sun.security.ssl.PostHandshakeContext hc
        end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
        end local 1 // sun.security.ssl.ConnectionContext context
        end local 0 // sun.security.ssl.KeyUpdate$KeyUpdateProducer this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   48     0     this  Lsun/security/ssl/KeyUpdate$KeyUpdateProducer;
            0   48     1  context  Lsun/security/ssl/ConnectionContext;
            0   48     2  message  Lsun/security/ssl/SSLHandshake$HandshakeMessage;
            1   48     3       hc  Lsun/security/ssl/PostHandshakeContext;
            2   48     4       km  Lsun/security/ssl/KeyUpdate$KeyUpdateMessage;
            7   48     5      kdg  Lsun/security/ssl/SSLTrafficKeyDerivation;
           16   48     6      skd  Lsun/security/ssl/SSLKeyDerivation;
           21   48     7   nplus1  Ljavax/crypto/SecretKey;
           22   48     8       kd  Lsun/security/ssl/SSLKeyDerivation;
           23   48     9      key  Ljavax/crypto/SecretKey;
           26   48    10   ivSpec  Ljavax/crypto/spec/IvParameterSpec;
           31   32    11       wc  Lsun/security/ssl/SSLCipher$SSLWriteCipher;
           36   48    11       wc  Lsun/security/ssl/SSLCipher$SSLWriteCipher;
           33   36    12      gse  Ljava/security/GeneralSecurityException;
      Exception table:
        from    to  target  type
          26    31      32  Class java.security.GeneralSecurityException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      context  
      message  
}
SourceFile: "KeyUpdate.java"
NestHost: sun.security.ssl.KeyUpdate
InnerClasses:
  public final HandshakeStatus = javax.net.ssl.SSLEngineResult$HandshakeStatus of javax.net.ssl.SSLEngineResult
  final KeyUpdateMessage = sun.security.ssl.KeyUpdate$KeyUpdateMessage of sun.security.ssl.KeyUpdate
  private final KeyUpdateProducer = sun.security.ssl.KeyUpdate$KeyUpdateProducer of sun.security.ssl.KeyUpdate
  final KeyUpdateRequest = sun.security.ssl.KeyUpdate$KeyUpdateRequest of sun.security.ssl.KeyUpdate
  abstract SSLWriteCipher = sun.security.ssl.SSLCipher$SSLWriteCipher of sun.security.ssl.SSLCipher
  abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake