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

  public void consume(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage, java.nio.ByteBuffer);
    descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;Ljava/nio/ByteBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=13, args_size=4
        start local 0 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyConsumer this
        start local 1 // sun.security.ssl.ConnectionContext context
        start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
        start local 3 // java.nio.ByteBuffer buffer
         0: .line 344
            aload 2 /* message */
            checkcast sun.security.ssl.ClientHello$ClientHelloMessage
            astore 4 /* clientHello */
        start local 4 // sun.security.ssl.ClientHello$ClientHelloMessage clientHello
         1: .line 345
            aload 1 /* context */
            checkcast sun.security.ssl.ServerHandshakeContext
            astore 5 /* shc */
        start local 5 // sun.security.ssl.ServerHandshakeContext shc
         2: .line 347
            aload 5 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
            getstatic sun.security.ssl.SSLExtension.CH_PRE_SHARED_KEY:Lsun/security/ssl/SSLExtension;
            invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
            ifne 7
         3: .line 348
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 6
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 6
         4: .line 350
            ldc "Ignore unavailable pre_shared_key extension"
            iconst_0
            anewarray java.lang.Object
         5: .line 349
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
         6: .line 352
      StackMap locals: sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.ServerHandshakeContext
      StackMap stack:
            return
         7: .line 356
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 6 /* pskSpec */
        start local 6 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec pskSpec
         8: .line 358
            new sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec
            dup
            aload 5 /* shc */
            aload 3 /* buffer */
            invokespecial sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec.<init>:(Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
            astore 6 /* pskSpec */
         9: .line 359
            goto 12
      StackMap locals: sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec
      StackMap stack: java.io.IOException
        10: astore 7 /* ioe */
        start local 7 // java.io.IOException ioe
        11: .line 360
            aload 5 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
            aload 7 /* ioe */
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
            athrow
        end local 7 // java.io.IOException ioe
        12: .line 364
      StackMap locals:
      StackMap stack:
            aload 5 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
        13: .line 365
            getstatic sun.security.ssl.SSLExtension.PSK_KEY_EXCHANGE_MODES:Lsun/security/ssl/SSLExtension;
        14: .line 364
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
        15: .line 365
            ifne 19
        16: .line 366
            aload 5 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
        17: .line 367
            ldc "Client sent PSK but not PSK modes, or the PSK extension is not the last extension"
        18: .line 366
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        19: .line 372
      StackMap locals:
      StackMap stack:
            aload 6 /* pskSpec */
            getfield sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec.identities:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            aload 6 /* pskSpec */
            getfield sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec.binders:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            if_icmpeq 23
        20: .line 373
            aload 5 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
        21: .line 374
            ldc "PSK extension has incorrect number of binders"
        22: .line 373
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
            athrow
        23: .line 377
      StackMap locals:
      StackMap stack:
            aload 5 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.isResumption:Z
            ifeq 61
        24: .line 379
            aload 5 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
            invokevirtual sun.security.ssl.SSLContextImpl.engineGetServerSessionContext:()Ljavax/net/ssl/SSLSessionContext;
        25: .line 378
            checkcast sun.security.ssl.SSLSessionContextImpl
            astore 7 /* sessionCache */
        start local 7 // sun.security.ssl.SSLSessionContextImpl sessionCache
        26: .line 380
            iconst_0
            istore 8 /* idIndex */
        start local 8 // int idIndex
        27: .line 381
            aconst_null
            astore 9 /* s */
        start local 9 // sun.security.ssl.SSLSessionImpl s
        28: .line 383
            aload 6 /* pskSpec */
            getfield sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec.identities:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 11
            goto 57
      StackMap locals: sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec sun.security.ssl.SSLSessionContextImpl int sun.security.ssl.SSLSessionImpl top java.util.Iterator
      StackMap stack:
        29: aload 11
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast sun.security.ssl.PreSharedKeyExtension$PskIdentity
            astore 10 /* requestedId */
        start local 10 // sun.security.ssl.PreSharedKeyExtension$PskIdentity requestedId
        30: .line 385
            aload 10 /* requestedId */
            getfield sun.security.ssl.PreSharedKeyExtension$PskIdentity.identity:[B
            arraylength
            bipush 32
            if_icmpne 32
        31: .line 386
            aload 7 /* sessionCache */
            aload 10 /* requestedId */
            getfield sun.security.ssl.PreSharedKeyExtension$PskIdentity.identity:[B
            invokevirtual sun.security.ssl.SSLSessionContextImpl.get:([B)Lsun/security/ssl/SSLSessionImpl;
            astore 9 /* s */
        32: .line 389
      StackMap locals: sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec sun.security.ssl.SSLSessionContextImpl int sun.security.ssl.SSLSessionImpl sun.security.ssl.PreSharedKeyExtension$PskIdentity java.util.Iterator
      StackMap stack:
            aload 9 /* s */
            ifnonnull 48
        33: .line 390
            aload 10 /* requestedId */
            getfield sun.security.ssl.PreSharedKeyExtension$PskIdentity.identity:[B
            arraylength
            bipush 32
            if_icmple 48
        34: .line 391
            aload 7 /* sessionCache */
            invokevirtual sun.security.ssl.SSLSessionContextImpl.statelessEnabled:()Z
            ifeq 48
        35: .line 393
            new sun.security.ssl.SessionTicketExtension$SessionTicketSpec
            dup
            aload 10 /* requestedId */
            getfield sun.security.ssl.PreSharedKeyExtension$PskIdentity.identity:[B
            invokespecial sun.security.ssl.SessionTicketExtension$SessionTicketSpec.<init>:([B)V
        36: .line 394
            aload 5 /* shc */
            invokevirtual sun.security.ssl.SessionTicketExtension$SessionTicketSpec.decrypt:(Lsun/security/ssl/HandshakeContext;)Ljava/nio/ByteBuffer;
        37: .line 392
            astore 12 /* b */
        start local 12 // java.nio.ByteBuffer b
        38: .line 395
            aload 12 /* b */
            ifnull 43
        39: .line 397
            new sun.security.ssl.SSLSessionImpl
            dup
            aload 5 /* shc */
            aload 12 /* b */
            invokespecial sun.security.ssl.SSLSessionImpl.<init>:(Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
            astore 9 /* s */
        40: .line 398
            goto 43
      StackMap locals: sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec sun.security.ssl.SSLSessionContextImpl int sun.security.ssl.SSLSessionImpl sun.security.ssl.PreSharedKeyExtension$PskIdentity java.util.Iterator java.nio.ByteBuffer
      StackMap stack: java.lang.Exception
        41: pop
        42: .line 399
            aconst_null
            astore 9 /* s */
        43: .line 402
      StackMap locals:
      StackMap stack:
            aload 12 /* b */
            ifnull 44
            aload 9 /* s */
            ifnonnull 48
        44: .line 403
      StackMap locals:
      StackMap stack:
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 48
        45: .line 404
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 48
        46: .line 406
            ldc "Stateless session ticket invalid"
            iconst_0
            anewarray java.lang.Object
        47: .line 405
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        end local 12 // java.nio.ByteBuffer b
        48: .line 411
      StackMap locals:
      StackMap stack:
            aload 9 /* s */
            ifnull 56
            aload 4 /* clientHello */
            aload 5 /* shc */
            aload 9 /* s */
            invokestatic sun.security.ssl.PreSharedKeyExtension.canRejoin:(Lsun/security/ssl/ClientHello$ClientHelloMessage;Lsun/security/ssl/ServerHandshakeContext;Lsun/security/ssl/SSLSessionImpl;)Z
            ifeq 56
        49: .line 412
            getstatic sun.security.ssl.SSLLogger.isOn:Z
            ifeq 51
            ldc "ssl,handshake"
            invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
            ifeq 51
        50: .line 413
            ldc "Resuming session: "
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 9 /* s */
            aastore
            invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
        51: .line 417
      StackMap locals:
      StackMap stack:
            aload 5 /* shc */
            aload 9 /* s */
            putfield sun.security.ssl.ServerHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
        52: .line 418
            aload 5 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
            getstatic sun.security.ssl.SSLExtension.SH_PRE_SHARED_KEY:Lsun/security/ssl/SSLExtension;
        53: .line 419
            new sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec
            dup
            iload 8 /* idIndex */
            invokespecial sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec.<init>:(I)V
        54: .line 418
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        55: .line 420
            goto 58
        56: .line 423
      StackMap locals:
      StackMap stack:
            iinc 8 /* idIndex */ 1
        end local 10 // sun.security.ssl.PreSharedKeyExtension$PskIdentity requestedId
        57: .line 383
      StackMap locals: sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec sun.security.ssl.SSLSessionContextImpl int sun.security.ssl.SSLSessionImpl top java.util.Iterator
      StackMap stack:
            aload 11
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 29
        58: .line 426
      StackMap locals: sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ClientHello$ClientHelloMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec sun.security.ssl.SSLSessionContextImpl int sun.security.ssl.SSLSessionImpl
      StackMap stack:
            iload 8 /* idIndex */
            aload 6 /* pskSpec */
            getfield sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec.identities:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            if_icmpne 61
        59: .line 428
            aload 5 /* shc */
            iconst_0
            putfield sun.security.ssl.ServerHandshakeContext.isResumption:Z
        60: .line 429
            aload 5 /* shc */
            aconst_null
            putfield sun.security.ssl.ServerHandshakeContext.resumingSession:Lsun/security/ssl/SSLSessionImpl;
        end local 9 // sun.security.ssl.SSLSessionImpl s
        end local 8 // int idIndex
        end local 7 // sun.security.ssl.SSLSessionContextImpl sessionCache
        61: .line 433
      StackMap locals:
      StackMap stack:
            aload 5 /* shc */
            getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
        62: .line 434
            getstatic sun.security.ssl.SSLExtension.CH_PRE_SHARED_KEY:Lsun/security/ssl/SSLExtension;
            aload 6 /* pskSpec */
        63: .line 433
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        64: .line 435
            return
        end local 6 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeySpec pskSpec
        end local 5 // sun.security.ssl.ServerHandshakeContext shc
        end local 4 // sun.security.ssl.ClientHello$ClientHelloMessage clientHello
        end local 3 // java.nio.ByteBuffer buffer
        end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
        end local 1 // sun.security.ssl.ConnectionContext context
        end local 0 // sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyConsumer this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   65     0          this  Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeyConsumer;
            0   65     1       context  Lsun/security/ssl/ConnectionContext;
            0   65     2       message  Lsun/security/ssl/SSLHandshake$HandshakeMessage;
            0   65     3        buffer  Ljava/nio/ByteBuffer;
            1   65     4   clientHello  Lsun/security/ssl/ClientHello$ClientHelloMessage;
            2   65     5           shc  Lsun/security/ssl/ServerHandshakeContext;
            8   65     6       pskSpec  Lsun/security/ssl/PreSharedKeyExtension$CHPreSharedKeySpec;
           11   12     7           ioe  Ljava/io/IOException;
           26   61     7  sessionCache  Lsun/security/ssl/SSLSessionContextImpl;
           27   61     8       idIndex  I
           28   61     9             s  Lsun/security/ssl/SSLSessionImpl;
           30   57    10   requestedId  Lsun/security/ssl/PreSharedKeyExtension$PskIdentity;
           38   48    12             b  Ljava/nio/ByteBuffer;
      Exception table:
        from    to  target  type
           8     9      10  Class java.io.IOException
          39    40      41  Class java.io.IOException
          39    40      41  Class java.lang.RuntimeException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      context  
      message  
      buffer   
}
SourceFile: "PreSharedKeyExtension.java"
NestHost: sun.security.ssl.PreSharedKeyExtension
InnerClasses:
  final ClientHelloMessage = sun.security.ssl.ClientHello$ClientHelloMessage of sun.security.ssl.ClientHello
  private final CHPreSharedKeyConsumer = sun.security.ssl.PreSharedKeyExtension$CHPreSharedKeyConsumer 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
  private final SHPreSharedKeySpec = sun.security.ssl.PreSharedKeyExtension$SHPreSharedKeySpec of sun.security.ssl.PreSharedKeyExtension
  abstract ExtensionConsumer = sun.security.ssl.SSLExtension$ExtensionConsumer of sun.security.ssl.SSLExtension
  abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake
  final SessionTicketSpec = sun.security.ssl.SessionTicketExtension$SessionTicketSpec of sun.security.ssl.SessionTicketExtension