final class sun.security.ssl.ServerNameExtension$CHServerNamesSpec implements sun.security.ssl.SSLExtension$SSLExtensionSpec
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.ssl.ServerNameExtension$CHServerNamesSpec
  super_class: java.lang.Object
{
  static final int NAME_HEADER_LENGTH;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 3

  final java.util.List<javax.net.ssl.SNIServerName> serverNames;
    descriptor: Ljava/util/List;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;

  private void <init>(java.util.List<javax.net.ssl.SNIServerName>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // sun.security.ssl.ServerNameExtension$CHServerNamesSpec this
        start local 1 // java.util.List serverNames
         0: .line 91
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 92
            aload 0 /* this */
         2: .line 93
            new java.util.ArrayList
            dup
            aload 1 /* serverNames */
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
         3: .line 92
            invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
            putfield sun.security.ssl.ServerNameExtension$CHServerNamesSpec.serverNames:Ljava/util/List;
         4: .line 94
            return
        end local 1 // java.util.List serverNames
        end local 0 // sun.security.ssl.ServerNameExtension$CHServerNamesSpec this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Lsun/security/ssl/ServerNameExtension$CHServerNamesSpec;
            0    5     1  serverNames  Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
    Signature: (Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;)V
    MethodParameters:
             Name  Flags
      serverNames  

  private void <init>(sun.security.ssl.HandshakeContext, java.nio.ByteBuffer);
    descriptor: (Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=10, args_size=3
        start local 0 // sun.security.ssl.ServerNameExtension$CHServerNamesSpec this
        start local 1 // sun.security.ssl.HandshakeContext hc
        start local 2 // java.nio.ByteBuffer buffer
         0: .line 96
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 98
            aload 2 /* buffer */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iconst_2
            if_icmpge 7
         2: .line 99
            aload 1 /* hc */
            getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.DECODE_ERROR:Lsun/security/ssl/Alert;
         3: .line 100
            new javax.net.ssl.SSLProtocolException
            dup
         4: .line 101
            ldc "Invalid server_name extension: insufficient data"
         5: .line 100
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
         6: .line 99
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
            athrow
         7: .line 104
      StackMap locals: sun.security.ssl.ServerNameExtension$CHServerNamesSpec sun.security.ssl.HandshakeContext java.nio.ByteBuffer
      StackMap stack:
            aload 2 /* buffer */
            invokestatic sun.security.ssl.Record.getInt16:(Ljava/nio/ByteBuffer;)I
            istore 3 /* sniLen */
        start local 3 // int sniLen
         8: .line 105
            iload 3 /* sniLen */
            ifeq 9
            iload 3 /* sniLen */
            aload 2 /* buffer */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            if_icmpeq 14
         9: .line 106
      StackMap locals: int
      StackMap stack:
            aload 1 /* hc */
            getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.DECODE_ERROR:Lsun/security/ssl/Alert;
        10: .line 107
            new javax.net.ssl.SSLProtocolException
            dup
        11: .line 108
            ldc "Invalid server_name extension: incomplete data"
        12: .line 107
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
        13: .line 106
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
            athrow
        14: .line 111
      StackMap locals:
      StackMap stack:
            new java.util.LinkedHashMap
            dup
            invokespecial java.util.LinkedHashMap.<init>:()V
            astore 4 /* sniMap */
        start local 4 // java.util.Map sniMap
        15: .line 112
            goto 59
        16: .line 113
      StackMap locals: java.util.Map
      StackMap stack:
            aload 2 /* buffer */
            invokestatic sun.security.ssl.Record.getInt8:(Ljava/nio/ByteBuffer;)I
            istore 5 /* nameType */
        start local 5 // int nameType
        17: .line 124
            aload 2 /* buffer */
            invokestatic sun.security.ssl.Record.getBytes16:(Ljava/nio/ByteBuffer;)[B
            astore 7 /* encoded */
        start local 7 // byte[] encoded
        18: .line 125
            iload 5 /* nameType */
            ifne 39
        19: .line 126
            aload 7 /* encoded */
            arraylength
            ifne 25
        20: .line 127
            aload 1 /* hc */
            getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.DECODE_ERROR:Lsun/security/ssl/Alert;
        21: .line 128
            new javax.net.ssl.SSLProtocolException
            dup
        22: .line 129
            ldc "Empty HostName in server_name extension"
        23: .line 128
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
        24: .line 127
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
            athrow
        25: .line 133
      StackMap locals: sun.security.ssl.ServerNameExtension$CHServerNamesSpec sun.security.ssl.HandshakeContext java.nio.ByteBuffer int java.util.Map int top byte[]
      StackMap stack:
            new javax.net.ssl.SNIHostName
            dup
            aload 7 /* encoded */
            invokespecial javax.net.ssl.SNIHostName.<init>:([B)V
            astore 6 /* serverName */
        start local 6 // javax.net.ssl.SNIServerName serverName
        26: .line 134
            goto 51
        end local 6 // javax.net.ssl.SNIServerName serverName
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
        27: astore 8 /* iae */
        start local 8 // java.lang.IllegalArgumentException iae
        28: .line 135
            new javax.net.ssl.SSLProtocolException
            dup
        29: .line 136
            new java.lang.StringBuilder
            dup
            ldc "Illegal server name, type=host_name("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        30: .line 137
            iload 5 /* nameType */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "), name="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        31: .line 138
            new java.lang.String
            dup
            aload 7 /* encoded */
            getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
            invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        32: .line 139
            ldc ", value={"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        33: .line 140
            aload 7 /* encoded */
            invokestatic sun.security.ssl.Utilities.toHexString:([B)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "}"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        34: .line 136
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        35: .line 135
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            astore 9 /* spe */
        start local 9 // javax.net.ssl.SSLProtocolException spe
        36: .line 141
            aload 1 /* hc */
            getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
        37: .line 142
            aload 9 /* spe */
            aload 8 /* iae */
            invokevirtual javax.net.ssl.SSLProtocolException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            checkcast javax.net.ssl.SSLProtocolException
        38: .line 141
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
            athrow
        end local 9 // javax.net.ssl.SSLProtocolException spe
        end local 8 // java.lang.IllegalArgumentException iae
        39: .line 146
      StackMap locals:
      StackMap stack:
            new sun.security.ssl.ServerNameExtension$CHServerNamesSpec$UnknownServerName
            dup
            iload 5 /* nameType */
            aload 7 /* encoded */
            invokespecial sun.security.ssl.ServerNameExtension$CHServerNamesSpec$UnknownServerName.<init>:(I[B)V
            astore 6 /* serverName */
        start local 6 // javax.net.ssl.SNIServerName serverName
        40: .line 147
            goto 51
        end local 6 // javax.net.ssl.SNIServerName serverName
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
        41: astore 8 /* iae */
        start local 8 // java.lang.IllegalArgumentException iae
        42: .line 148
            new javax.net.ssl.SSLProtocolException
            dup
        43: .line 149
            new java.lang.StringBuilder
            dup
            ldc "Illegal server name, type=("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 5 /* nameType */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
        44: .line 150
            ldc "), value={"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        45: .line 151
            aload 7 /* encoded */
            invokestatic sun.security.ssl.Utilities.toHexString:([B)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "}"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        46: .line 149
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        47: .line 148
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            astore 9 /* spe */
        start local 9 // javax.net.ssl.SSLProtocolException spe
        48: .line 152
            aload 1 /* hc */
            getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
        49: .line 153
            aload 9 /* spe */
            aload 8 /* iae */
            invokevirtual javax.net.ssl.SSLProtocolException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            checkcast javax.net.ssl.SSLProtocolException
        50: .line 152
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
            athrow
        end local 9 // javax.net.ssl.SSLProtocolException spe
        end local 8 // java.lang.IllegalArgumentException iae
        start local 6 // javax.net.ssl.SNIServerName serverName
        51: .line 158
      StackMap locals: sun.security.ssl.ServerNameExtension$CHServerNamesSpec sun.security.ssl.HandshakeContext java.nio.ByteBuffer int java.util.Map int javax.net.ssl.SNIServerName byte[]
      StackMap stack:
            aload 4 /* sniMap */
            aload 6 /* serverName */
            invokevirtual javax.net.ssl.SNIServerName.getType:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 6 /* serverName */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            ifnull 59
        52: .line 159
            aload 1 /* hc */
            getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
            getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
        53: .line 160
            new javax.net.ssl.SSLProtocolException
            dup
        54: .line 161
            new java.lang.StringBuilder
            dup
            ldc "Duplicated server name of type "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        55: .line 162
            aload 6 /* serverName */
            invokevirtual javax.net.ssl.SNIServerName.getType:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
        56: .line 161
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        57: .line 160
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
        58: .line 159
            invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
            athrow
        end local 7 // byte[] encoded
        end local 6 // javax.net.ssl.SNIServerName serverName
        end local 5 // int nameType
        59: .line 112
      StackMap locals:
      StackMap stack:
            aload 2 /* buffer */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 16
        60: .line 166
            aload 0 /* this */
            new java.util.ArrayList
            dup
            aload 4 /* sniMap */
            invokeinterface java.util.Map.values:()Ljava/util/Collection;
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            putfield sun.security.ssl.ServerNameExtension$CHServerNamesSpec.serverNames:Ljava/util/List;
        61: .line 167
            return
        end local 4 // java.util.Map sniMap
        end local 3 // int sniLen
        end local 2 // java.nio.ByteBuffer buffer
        end local 1 // sun.security.ssl.HandshakeContext hc
        end local 0 // sun.security.ssl.ServerNameExtension$CHServerNamesSpec this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   62     0        this  Lsun/security/ssl/ServerNameExtension$CHServerNamesSpec;
            0   62     1          hc  Lsun/security/ssl/HandshakeContext;
            0   62     2      buffer  Ljava/nio/ByteBuffer;
            8   62     3      sniLen  I
           15   62     4      sniMap  Ljava/util/Map<Ljava/lang/Integer;Ljavax/net/ssl/SNIServerName;>;
           17   59     5    nameType  I
           26   27     6  serverName  Ljavax/net/ssl/SNIServerName;
           40   41     6  serverName  Ljavax/net/ssl/SNIServerName;
           51   59     6  serverName  Ljavax/net/ssl/SNIServerName;
           18   59     7     encoded  [B
           28   39     8         iae  Ljava/lang/IllegalArgumentException;
           36   39     9         spe  Ljavax/net/ssl/SSLProtocolException;
           42   51     8         iae  Ljava/lang/IllegalArgumentException;
           48   51     9         spe  Ljavax/net/ssl/SSLProtocolException;
      Exception table:
        from    to  target  type
          25    26      27  Class java.lang.IllegalArgumentException
          39    40      41  Class java.lang.IllegalArgumentException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      hc      
      buffer  

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // sun.security.ssl.ServerNameExtension$CHServerNamesSpec this
         0: .line 171
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension$CHServerNamesSpec.serverNames:Ljava/util/List;
            ifnull 1
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension$CHServerNamesSpec.serverNames:Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 2
         1: .line 172
      StackMap locals:
      StackMap stack:
            ldc "<no server name indicator specified>"
            areturn
         2: .line 174
      StackMap locals:
      StackMap stack:
            new java.lang.StringBuilder
            dup
            sipush 512
            invokespecial java.lang.StringBuilder.<init>:(I)V
            astore 1 /* builder */
        start local 1 // java.lang.StringBuilder builder
         3: .line 175
            aload 0 /* this */
            getfield sun.security.ssl.ServerNameExtension$CHServerNamesSpec.serverNames:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 7
      StackMap locals: sun.security.ssl.ServerNameExtension$CHServerNamesSpec java.lang.StringBuilder top java.util.Iterator
      StackMap stack:
         4: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast javax.net.ssl.SNIServerName
            astore 2 /* sn */
        start local 2 // javax.net.ssl.SNIServerName sn
         5: .line 176
            aload 1 /* builder */
            aload 2 /* sn */
            invokevirtual javax.net.ssl.SNIServerName.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         6: .line 177
            aload 1 /* builder */
            ldc "\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        end local 2 // javax.net.ssl.SNIServerName sn
         7: .line 175
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         8: .line 180
            aload 1 /* builder */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.StringBuilder builder
        end local 0 // sun.security.ssl.ServerNameExtension$CHServerNamesSpec this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    9     0     this  Lsun/security/ssl/ServerNameExtension$CHServerNamesSpec;
            3    9     1  builder  Ljava/lang/StringBuilder;
            5    7     2       sn  Ljavax/net/ssl/SNIServerName;
}
SourceFile: "ServerNameExtension.java"
NestHost: sun.security.ssl.ServerNameExtension
InnerClasses:
  abstract SSLExtensionSpec = sun.security.ssl.SSLExtension$SSLExtensionSpec of sun.security.ssl.SSLExtension
  final CHServerNamesSpec = sun.security.ssl.ServerNameExtension$CHServerNamesSpec of sun.security.ssl.ServerNameExtension
  private UnknownServerName = sun.security.ssl.ServerNameExtension$CHServerNamesSpec$UnknownServerName of sun.security.ssl.ServerNameExtension$CHServerNamesSpec