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

  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=7, locals=17, args_size=3
        start local 0 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyProducer this
        start local 1 // sun.security.ssl.ConnectionContext context
        start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
         0: .line 666
            aload 1 /* context */
            checkcast sun.security.ssl.ClientHandshakeContext
            astore 3 /* chc */
        start local 3 // sun.security.ssl.ClientHandshakeContext chc
         1: .line 667
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.isResumption:Z
            ifeq 2
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            ifnonnull 5
         2: .line 668
      StackMap locals: sun.security.ssl.ClientHandshakeContext
      StackMap stack:
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 4
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 4
         3: .line 669
            ldc "No session to resume."
            iconst_0
            anewarray java.lang.Object
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
         4: .line 671
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
         5: .line 676
      StackMap locals:
      StackMap stack:
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            invokevirtual sun.security.ssl.SSLSessionImpl.getLocalSupportedSignatureSchemes:()Ljava/util/Collection;
         6: .line 675
            astore 4 /* sessionSigAlgs */
        start local 4 // java.util.Collection sessionSigAlgs
         7: .line 677
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.localSupportedSignAlgs:Ljava/util/List;
            aload 4 /* sessionSigAlgs */
            invokeinterface java.util.List.containsAll:(Ljava/util/Collection;)Z
            ifne 11
         8: .line 678
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 10
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 10
         9: .line 679
            ldc "Existing session uses different signature algorithms"
            iconst_0
            anewarray java.lang.Object
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        10: .line 682
      StackMap locals: java.util.Collection
      StackMap stack:
            aconst_null
            areturn
        11: .line 686
      StackMap locals:
      StackMap stack:
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            invokevirtual sun.security.ssl.SSLSessionImpl.getPreSharedKey:()Ljavax/crypto/SecretKey;
            astore 5 /* psk */
        start local 5 // javax.crypto.SecretKey psk
        12: .line 687
            aload 5 /* psk */
            ifnonnull 16
        13: .line 688
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 15
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 15
        14: .line 689
            ldc "Existing session has no PSK."
            iconst_0
            anewarray java.lang.Object
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        15: .line 691
      StackMap locals: javax.crypto.SecretKey
      StackMap stack:
            aconst_null
            areturn
        16: .line 697
      StackMap locals:
      StackMap stack:
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.pskIdentity:[B
            ifnonnull 18
        17: .line 698
            aload 3 /* chc */
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            invokevirtual sun.security.ssl.SSLSessionImpl.consumePskIdentity:()[B
            putfield sun.security.ssl.ClientHandshakeContext.pskIdentity:[B
        18: .line 701
      StackMap locals:
      StackMap stack:
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.pskIdentity:[B
            ifnonnull 23
        19: .line 702
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 22
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 22
        20: .line 704
            ldc "PSK has no identity, or identity was already used"
            iconst_0
            anewarray java.lang.Object
        21: .line 703
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        22: .line 706
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        23: .line 711
      StackMap locals:
      StackMap stack:
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
            invokevirtual sun.security.ssl.SSLContextImpl.engineGetClientSessionContext:()Ljavax/net/ssl/SSLSessionContext;
        24: .line 710
            checkcast sun.security.ssl.SSLSessionContextImpl
            astore 6 /* sessionCache */
        start local 6 // sun.security.ssl.SSLSessionContextImpl sessionCache
        25: .line 712
            aload 6 /* sessionCache */
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            invokevirtual sun.security.ssl.SSLSessionImpl.getSessionId:()Lsun/security/ssl/SessionId;
            invokevirtual sun.security.ssl.SSLSessionContextImpl.remove:(Lsun/security/ssl/SessionId;)V
        26: .line 714
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 29
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 29
        27: .line 716
            ldc "Found resumable session. Preparing PSK message."
            iconst_0
            anewarray java.lang.Object
        28: .line 715
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        29: .line 719
      StackMap locals: sun.security.ssl.SSLSessionContextImpl
      StackMap stack:
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 7 /* identities */
        start local 7 // java.util.List identities
        30: .line 720
            invokestatic java.lang.System.currentTimeMillis:()J
        31: .line 721
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            invokevirtual sun.security.ssl.SSLSessionImpl.getTicketCreationTime:()J
        32: .line 720
            lsub
            l2i
            istore 8 /* ageMillis */
        start local 8 // int ageMillis
        33: .line 723
            iload 8 /* ageMillis */
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            invokevirtual sun.security.ssl.SSLSessionImpl.getTicketAgeAdd:()I
            iadd
        34: .line 722
            istore 9 /* obfuscatedAge */
        start local 9 // int obfuscatedAge
        35: .line 724
            aload 7 /* identities */
            new sun.security.ssl.PreSharedKeyExtension$PskIdentity
            dup
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.pskIdentity:[B
            iload 9 /* obfuscatedAge */
            invokespecial sun.security.ssl.PreSharedKeyExtension$PskIdentity.<init>:([BI)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        36: .line 727
            aload 3 /* chc */
            aload 5 /* psk */
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            invokestatic sun.security.ssl.PreSharedKeyExtension.deriveBinderKey:(Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;Lsun/security/ssl/SSLSessionImpl;)Ljavax/crypto/SecretKey;
        37: .line 726
            astore 10 /* binderKey */
        start local 10 // javax.crypto.SecretKey binderKey
        38: .line 728
            aload 2 /* message */
            checkcast sun.security.ssl.ClientHello$ClientHelloMessage
            astore 11 /* clientHello */
        start local 11 // sun.security.ssl.ClientHello$ClientHelloMessage clientHello
        39: .line 729
            aload 0 /* this */
        40: .line 730
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            invokevirtual sun.security.ssl.SSLSessionImpl.getSuite:()Lsun/security/ssl/CipherSuite;
            getfield sun.security.ssl.CipherSuite.hashAlg:Lsun/security/ssl/CipherSuite$HashAlg;
            getfield sun.security.ssl.CipherSuite$HashAlg.hashLength:I
            aload 7 /* identities */
        41: .line 729
            invokevirtual sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyProducer.createPskPrototype:(ILjava/util/List;)Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeySpec;
            astore 12 /* pskPrototype */
        start local 12 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec pskPrototype
        42: .line 731
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.handshakeHash:Lsun/security/ssl/HandshakeHash;
            invokevirtual sun.security.ssl.HandshakeHash.copy:()Lsun/security/ssl/HandshakeHash;
            astore 13 /* pskBinderHash */
        start local 13 // sun.security.ssl.HandshakeHash pskBinderHash
        43: .line 733
            aload 3 /* chc */
            aload 10 /* binderKey */
            aload 13 /* pskBinderHash */
        44: .line 734
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            aload 3 /* chc */
            aload 11 /* clientHello */
            aload 12 /* pskPrototype */
        45: .line 733
            invokestatic sun.security.ssl.PreSharedKeyExtension.computeBinder:(Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;Lsun/security/ssl/HandshakeHash;Lsun/security/ssl/SSLSessionImpl;Lsun/security/ssl/HandshakeContext;Lsun/security/ssl/ClientHello$ClientHelloMessage;Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeySpec;)[B
            astore 14 /* binder */
        start local 14 // byte[] binder
        46: .line 736
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 15 /* binders */
        start local 15 // java.util.List binders
        47: .line 737
            aload 15 /* binders */
            aload 14 /* binder */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        48: .line 740
            new sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec
            dup
            aload 7 /* identities */
            aload 15 /* binders */
            invokespecial sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec.<init>:(Ljava/util/List;Ljava/util/List;)V
        49: .line 739
            astore 16 /* pskMessage */
        start local 16 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec pskMessage
        50: .line 741
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
            getstatic sun.security.ssl.SSLExtension.CH_PRE_SHARED_KEY:Lsun/security/ssl/SSLExtension;
            aload 16 /* pskMessage */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        51: .line 742
            aload 16 /* pskMessage */
            invokevirtual sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec.getEncoded:()[B
            areturn
        end local 16 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec pskMessage
        end local 15 // java.util.List binders
        end local 14 // byte[] binder
        end local 13 // sun.security.ssl.HandshakeHash pskBinderHash
        end local 12 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec pskPrototype
        end local 11 // sun.security.ssl.ClientHello$ClientHelloMessage clientHello
        end local 10 // javax.crypto.SecretKey binderKey
        end local 9 // int obfuscatedAge
        end local 8 // int ageMillis
        end local 7 // java.util.List identities
        end local 6 // sun.security.ssl.SSLSessionContextImpl sessionCache
        end local 5 // javax.crypto.SecretKey psk
        end local 4 // java.util.Collection sessionSigAlgs
        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.PreSharedKeyExtension$CHPreSharedKeyProducer this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   52     0            this  Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeyProducer;
            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;
            7   52     4  sessionSigAlgs  Ljava/util/Collection<Lsun/security/ssl/SignatureScheme;>;
           12   52     5             psk  Ljavax/crypto/SecretKey;
           25   52     6    sessionCache  Lsun/security/ssl/SSLSessionContextImpl;
           30   52     7      identities  Ljava/util/List<Lsun/security/ssl/PreSharedKeyExtension$PskIdentity;>;
           33   52     8       ageMillis  I
           35   52     9   obfuscatedAge  I
           38   52    10       binderKey  Ljavax/crypto/SecretKey;
           39   52    11     clientHello  Lsun/security/ssl/ClientHello$ClientHelloMessage;
           42   52    12    pskPrototype  Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeySpec;
           43   52    13   pskBinderHash  Lsun/security/ssl/HandshakeHash;
           46   52    14          binder  [B
           47   52    15         binders  Ljava/util/List<[B>;
           50   52    16      pskMessage  Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeySpec;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      context  
      message  

  private sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec createPskPrototype(int, java.util.List<sun.security.ssl.PreSharedKeyExtension$PskIdentity>);
    descriptor: (ILjava/util/List;)Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeySpec;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyProducer this
        start local 1 // int hashLength
        start local 2 // java.util.List identities
         0: .line 747
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 3 /* binders */
        start local 3 // java.util.List binders
         1: .line 748
            iload 1 /* hashLength */
            newarray 8
            astore 4 /* binderProto */
        start local 4 // byte[] binderProto
         2: .line 749
            aload 2 /* identities */
            invokeinterface java.util.List.size:()I
            istore 5 /* i */
        start local 5 // int i
         3: .line 750
            goto 5
         4: .line 751
      StackMap locals: java.util.List byte[] int
      StackMap stack:
            aload 3 /* binders */
            aload 4 /* binderProto */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         5: .line 750
      StackMap locals:
      StackMap stack:
            iload 5 /* i */
            iinc 5 /* i */ -1
            ifgt 4
         6: .line 754
            new sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec
            dup
            aload 2 /* identities */
            aload 3 /* binders */
            invokespecial sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec.<init>:(Ljava/util/List;Ljava/util/List;)V
            areturn
        end local 5 // int i
        end local 4 // byte[] binderProto
        end local 3 // java.util.List binders
        end local 2 // java.util.List identities
        end local 1 // int hashLength
        end local 0 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyProducer this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    7     0         this  Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeyProducer;
            0    7     1   hashLength  I
            0    7     2   identities  Ljava/util/List<Lsun/security/ssl/PreSharedKeyExtension$PskIdentity;>;
            1    7     3      binders  Ljava/util/List<[B>;
            2    7     4  binderProto  [B
            3    7     5            i  I
    Signature: (ILjava/util/List<Lsun/security/ssl/PreSharedKeyExtension$PskIdentity;>;)Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeySpec;
    MethodParameters:
            Name  Flags
      hashLength  
      identities  
}
SourceFile: "PreSharedKeyExtension.java"
NestHost: sun.security.ssl.PreSharedKeyExtension
InnerClasses:
  final HashAlg = sun.security.ssl.CipherSuite$HashAlg of sun.security.ssl.CipherSuite
  final ClientHelloMessage = sun.security.ssl.ClientHello$ClientHelloMessage of sun.security.ssl.ClientHello
  private final CHPreSharedKeyProducer = sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyProducer of sun.security.ssl.PreSharedKeyExtension
  private final CHPreSharedKeySpec = sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec of sun.security.ssl.PreSharedKeyExtension
  private final PskIdentity = sun.security.ssl.PreSharedKeyExtension$PskIdentity of sun.security.ssl.PreSharedKeyExtension
  abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake