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 621
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 623
            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=20, 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 630
            aload 1 /* context */
            checkcast sun.security.ssl.ClientHandshakeContext
            astore 3 /* chc */
        start local 3 // sun.security.ssl.ClientHandshakeContext chc
         1: .line 631
            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 632
      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 633
            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 635
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
         5: .line 640
      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 639
            astore 4 /* sessionSigAlgs */
        start local 4 // java.util.Collection sessionSigAlgs
         7: .line 641
            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 642
            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 643
            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 646
      StackMap locals: java.util.Collection
      StackMap stack:
            aconst_null
            areturn
        11: .line 650
      StackMap locals:
      StackMap stack:
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            invokevirtual sun.security.ssl.SSLSessionImpl.getPreSharedKey:()Ljava/util/Optional;
            astore 5 /* pskOpt */
        start local 5 // java.util.Optional pskOpt
        12: .line 651
            aload 5 /* pskOpt */
            invokevirtual java.util.Optional.isPresent:()Z
            ifne 16
        13: .line 652
            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 653
            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 655
      StackMap locals: java.util.Optional
      StackMap stack:
            aconst_null
            areturn
        16: .line 657
      StackMap locals:
      StackMap stack:
            aload 5 /* pskOpt */
            invokevirtual java.util.Optional.get:()Ljava/lang/Object;
            checkcast javax.crypto.SecretKey
            astore 6 /* psk */
        start local 6 // javax.crypto.SecretKey psk
        17: .line 661
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.pskIdentity:[B
            invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
        18: .line 662
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic get(Lsun/security/ssl/SSLSessionImpl;)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  sun/security/ssl/SSLSessionImpl.consumePskIdentity()Ljava/util/Optional; (5)
                  ()Ljava/util/Optional;
            invokevirtual java.util.Optional.or:(Ljava/util/function/Supplier;)Ljava/util/Optional;
        19: .line 661
            astore 7 /* pskIdOpt */
        start local 7 // java.util.Optional pskIdOpt
        20: .line 663
            aload 7 /* pskIdOpt */
            invokevirtual java.util.Optional.isPresent:()Z
            ifne 25
        21: .line 664
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 24
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 24
        22: .line 666
            ldc "PSK has no identity, or identity was already used"
            iconst_0
            anewarray java.lang.Object
        23: .line 665
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        24: .line 668
      StackMap locals: javax.crypto.SecretKey java.util.Optional
      StackMap stack:
            aconst_null
            areturn
        25: .line 670
      StackMap locals:
      StackMap stack:
            aload 3 /* chc */
            aload 7 /* pskIdOpt */
            invokevirtual java.util.Optional.get:()Ljava/lang/Object;
            checkcast byte[]
            putfield sun.security.ssl.ClientHandshakeContext.pskIdentity:[B
        26: .line 674
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
            invokevirtual sun.security.ssl.SSLContextImpl.engineGetClientSessionContext:()Ljavax/net/ssl/SSLSessionContext;
        27: .line 673
            checkcast sun.security.ssl.SSLSessionContextImpl
            astore 9 /* sessionCache */
        start local 9 // sun.security.ssl.SSLSessionContextImpl sessionCache
        28: .line 675
            aload 9 /* 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
        29: .line 677
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 32
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 32
        30: .line 679
            ldc "Found resumable session. Preparing PSK message."
            iconst_0
            anewarray java.lang.Object
        31: .line 678
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        32: .line 682
      StackMap locals: sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.Collection java.util.Optional javax.crypto.SecretKey java.util.Optional top sun.security.ssl.SSLSessionContextImpl
      StackMap stack:
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 10 /* identities */
        start local 10 // java.util.List identities
        33: .line 683
            invokestatic java.lang.System.currentTimeMillis:()J
        34: .line 684
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            invokevirtual sun.security.ssl.SSLSessionImpl.getTicketCreationTime:()J
        35: .line 683
            lsub
            l2i
            istore 11 /* ageMillis */
        start local 11 // int ageMillis
        36: .line 686
            iload 11 /* ageMillis */
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            invokevirtual sun.security.ssl.SSLSessionImpl.getTicketAgeAdd:()I
            iadd
        37: .line 685
            istore 12 /* obfuscatedAge */
        start local 12 // int obfuscatedAge
        38: .line 687
            aload 10 /* identities */
            new sun.security.ssl.PreSharedKeyExtension$PskIdentity
            dup
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.pskIdentity:[B
            iload 12 /* obfuscatedAge */
            invokespecial sun.security.ssl.PreSharedKeyExtension$PskIdentity.<init>:([BI)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        39: .line 690
            aload 3 /* chc */
            aload 6 /* 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;
        40: .line 689
            astore 13 /* binderKey */
        start local 13 // javax.crypto.SecretKey binderKey
        41: .line 691
            aload 2 /* message */
            checkcast sun.security.ssl.ClientHello$ClientHelloMessage
            astore 14 /* clientHello */
        start local 14 // sun.security.ssl.ClientHello$ClientHelloMessage clientHello
        42: .line 692
            aload 0 /* this */
        43: .line 693
            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 10 /* identities */
        44: .line 692
            invokevirtual sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyProducer.createPskPrototype:(ILjava/util/List;)Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeySpec;
            astore 15 /* pskPrototype */
        start local 15 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec pskPrototype
        45: .line 694
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.handshakeHash:Lsun/security/ssl/HandshakeHash;
            invokevirtual sun.security.ssl.HandshakeHash.copy:()Lsun/security/ssl/HandshakeHash;
            astore 16 /* pskBinderHash */
        start local 16 // sun.security.ssl.HandshakeHash pskBinderHash
        46: .line 696
            aload 3 /* chc */
            aload 13 /* binderKey */
            aload 16 /* pskBinderHash */
        47: .line 697
            aload 3 /* chc */
            getfield sun.security.ssl.ClientHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
            aload 3 /* chc */
            aload 14 /* clientHello */
            aload 15 /* pskPrototype */
        48: .line 696
            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 17 /* binder */
        start local 17 // byte[] binder
        49: .line 699
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 18 /* binders */
        start local 18 // java.util.List binders
        50: .line 700
            aload 18 /* binders */
            aload 17 /* binder */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        51: .line 703
            new sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec
            dup
            aload 10 /* identities */
            aload 18 /* binders */
            invokespecial sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec.<init>:(Ljava/util/List;Ljava/util/List;)V
        52: .line 702
            astore 19 /* pskMessage */
        start local 19 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec pskMessage
        53: .line 704
            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 19 /* pskMessage */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        54: .line 705
            aload 19 /* pskMessage */
            invokevirtual sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec.getEncoded:()[B
            areturn
        end local 19 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec pskMessage
        end local 18 // java.util.List binders
        end local 17 // byte[] binder
        end local 16 // sun.security.ssl.HandshakeHash pskBinderHash
        end local 15 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec pskPrototype
        end local 14 // sun.security.ssl.ClientHello$ClientHelloMessage clientHello
        end local 13 // javax.crypto.SecretKey binderKey
        end local 12 // int obfuscatedAge
        end local 11 // int ageMillis
        end local 10 // java.util.List identities
        end local 9 // sun.security.ssl.SSLSessionContextImpl sessionCache
        end local 7 // java.util.Optional pskIdOpt
        end local 6 // javax.crypto.SecretKey psk
        end local 5 // java.util.Optional pskOpt
        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   55     0            this  Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeyProducer;
            0   55     1         context  Lsun/security/ssl/ConnectionContext;
            0   55     2         message  Lsun/security/ssl/SSLHandshake$HandshakeMessage;
            1   55     3             chc  Lsun/security/ssl/ClientHandshakeContext;
            7   55     4  sessionSigAlgs  Ljava/util/Collection<Lsun/security/ssl/SignatureScheme;>;
           12   55     5          pskOpt  Ljava/util/Optional<Ljavax/crypto/SecretKey;>;
           17   55     6             psk  Ljavax/crypto/SecretKey;
           20   55     7        pskIdOpt  Ljava/util/Optional<[B>;
           28   55     9    sessionCache  Lsun/security/ssl/SSLSessionContextImpl;
           33   55    10      identities  Ljava/util/List<Lsun/security/ssl/PreSharedKeyExtension$PskIdentity;>;
           36   55    11       ageMillis  I
           38   55    12   obfuscatedAge  I
           41   55    13       binderKey  Ljavax/crypto/SecretKey;
           42   55    14     clientHello  Lsun/security/ssl/ClientHello$ClientHelloMessage;
           45   55    15    pskPrototype  Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeySpec;
           46   55    16   pskBinderHash  Lsun/security/ssl/HandshakeHash;
           49   55    17          binder  [B
           50   55    18         binders  Ljava/util/List<[B>;
           53   55    19      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 710
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 3 /* binders */
        start local 3 // java.util.List binders
         1: .line 711
            iload 1 /* hashLength */
            newarray 8
            astore 4 /* binderProto */
        start local 4 // byte[] binderProto
         2: .line 712
            aload 2 /* identities */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 5
      StackMap locals: java.util.List byte[] java.util.Iterator
      StackMap stack:
         3: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast sun.security.ssl.PreSharedKeyExtension$PskIdentity
            pop
         4: .line 713
            aload 3 /* binders */
            aload 4 /* binderProto */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         5: .line 712
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         6: .line 716
            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 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
    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:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  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