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>(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=9, args_size=2
        start local 0 // sun.security.ssl.ServerNameExtension$CHServerNamesSpec this
        start local 1 // java.nio.ByteBuffer buffer
         0: .line 96
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 97
            aload 1 /* buffer */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iconst_2
            if_icmpge 5
         2: .line 98
            new javax.net.ssl.SSLProtocolException
            dup
         3: .line 99
            ldc "Invalid server_name extension: insufficient data"
         4: .line 98
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 102
      StackMap locals: sun.security.ssl.ServerNameExtension$CHServerNamesSpec java.nio.ByteBuffer
      StackMap stack:
            aload 1 /* buffer */
            invokestatic sun.security.ssl.Record.getInt16:(Ljava/nio/ByteBuffer;)I
            istore 2 /* sniLen */
        start local 2 // int sniLen
         6: .line 103
            iload 2 /* sniLen */
            ifeq 7
            iload 2 /* sniLen */
            aload 1 /* buffer */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            if_icmpeq 10
         7: .line 104
      StackMap locals: int
      StackMap stack:
            new javax.net.ssl.SSLProtocolException
            dup
         8: .line 105
            ldc "Invalid server_name extension: incomplete data"
         9: .line 104
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 108
      StackMap locals:
      StackMap stack:
            new java.util.LinkedHashMap
            dup
            invokespecial java.util.LinkedHashMap.<init>:()V
            astore 3 /* sniMap */
        start local 3 // java.util.Map sniMap
        11: .line 109
            goto 47
        12: .line 110
      StackMap locals: java.util.Map
      StackMap stack:
            aload 1 /* buffer */
            invokestatic sun.security.ssl.Record.getInt8:(Ljava/nio/ByteBuffer;)I
            istore 4 /* nameType */
        start local 4 // int nameType
        13: .line 121
            aload 1 /* buffer */
            invokestatic sun.security.ssl.Record.getBytes16:(Ljava/nio/ByteBuffer;)[B
            astore 6 /* encoded */
        start local 6 // byte[] encoded
        14: .line 122
            iload 4 /* nameType */
            ifne 31
        15: .line 123
            aload 6 /* encoded */
            arraylength
            ifne 19
        16: .line 124
            new javax.net.ssl.SSLProtocolException
            dup
        17: .line 125
            ldc "Empty HostName in server_name extension"
        18: .line 124
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
        19: .line 129
      StackMap locals: sun.security.ssl.ServerNameExtension$CHServerNamesSpec java.nio.ByteBuffer int java.util.Map int top byte[]
      StackMap stack:
            new javax.net.ssl.SNIHostName
            dup
            aload 6 /* encoded */
            invokespecial javax.net.ssl.SNIHostName.<init>:([B)V
            astore 5 /* serverName */
        start local 5 // javax.net.ssl.SNIServerName serverName
        20: .line 130
            goto 41
        end local 5 // javax.net.ssl.SNIServerName serverName
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
        21: astore 7 /* iae */
        start local 7 // java.lang.IllegalArgumentException iae
        22: .line 131
            new javax.net.ssl.SSLProtocolException
            dup
        23: .line 132
            new java.lang.StringBuilder
            dup
            ldc "Illegal server name, type=host_name("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        24: .line 133
            iload 4 /* nameType */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "), name="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        25: .line 134
            new java.lang.String
            dup
            aload 6 /* 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;
        26: .line 135
            ldc ", value={"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        27: .line 136
            aload 6 /* 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;
        28: .line 132
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        29: .line 131
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            astore 8 /* spe */
        start local 8 // javax.net.ssl.SSLProtocolException spe
        30: .line 137
            aload 8 /* spe */
            aload 7 /* iae */
            invokevirtual javax.net.ssl.SSLProtocolException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            checkcast javax.net.ssl.SSLProtocolException
            athrow
        end local 8 // javax.net.ssl.SSLProtocolException spe
        end local 7 // java.lang.IllegalArgumentException iae
        31: .line 141
      StackMap locals:
      StackMap stack:
            new sun.security.ssl.ServerNameExtension$CHServerNamesSpec$UnknownServerName
            dup
            iload 4 /* nameType */
            aload 6 /* encoded */
            invokespecial sun.security.ssl.ServerNameExtension$CHServerNamesSpec$UnknownServerName.<init>:(I[B)V
            astore 5 /* serverName */
        start local 5 // javax.net.ssl.SNIServerName serverName
        32: .line 142
            goto 41
        end local 5 // javax.net.ssl.SNIServerName serverName
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
        33: astore 7 /* iae */
        start local 7 // java.lang.IllegalArgumentException iae
        34: .line 143
            new javax.net.ssl.SSLProtocolException
            dup
        35: .line 144
            new java.lang.StringBuilder
            dup
            ldc "Illegal server name, type=("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 4 /* nameType */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
        36: .line 145
            ldc "), value={"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        37: .line 146
            aload 6 /* 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;
        38: .line 144
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        39: .line 143
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            astore 8 /* spe */
        start local 8 // javax.net.ssl.SSLProtocolException spe
        40: .line 147
            aload 8 /* spe */
            aload 7 /* iae */
            invokevirtual javax.net.ssl.SSLProtocolException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            checkcast javax.net.ssl.SSLProtocolException
            athrow
        end local 8 // javax.net.ssl.SSLProtocolException spe
        end local 7 // java.lang.IllegalArgumentException iae
        start local 5 // javax.net.ssl.SNIServerName serverName
        41: .line 152
      StackMap locals: sun.security.ssl.ServerNameExtension$CHServerNamesSpec java.nio.ByteBuffer int java.util.Map int javax.net.ssl.SNIServerName byte[]
      StackMap stack:
            aload 3 /* sniMap */
            aload 5 /* serverName */
            invokevirtual javax.net.ssl.SNIServerName.getType:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 5 /* serverName */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            ifnull 47
        42: .line 153
            new javax.net.ssl.SSLProtocolException
            dup
        43: .line 154
            new java.lang.StringBuilder
            dup
            ldc "Duplicated server name of type "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        44: .line 155
            aload 5 /* serverName */
            invokevirtual javax.net.ssl.SNIServerName.getType:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
        45: .line 154
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        46: .line 153
            invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
            athrow
        end local 6 // byte[] encoded
        end local 5 // javax.net.ssl.SNIServerName serverName
        end local 4 // int nameType
        47: .line 109
      StackMap locals:
      StackMap stack:
            aload 1 /* buffer */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 12
        48: .line 159
            aload 0 /* this */
            new java.util.ArrayList
            dup
            aload 3 /* 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;
        49: .line 160
            return
        end local 3 // java.util.Map sniMap
        end local 2 // int sniLen
        end local 1 // java.nio.ByteBuffer buffer
        end local 0 // sun.security.ssl.ServerNameExtension$CHServerNamesSpec this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   50     0        this  Lsun/security/ssl/ServerNameExtension$CHServerNamesSpec;
            0   50     1      buffer  Ljava/nio/ByteBuffer;
            6   50     2      sniLen  I
           11   50     3      sniMap  Ljava/util/Map<Ljava/lang/Integer;Ljavax/net/ssl/SNIServerName;>;
           13   47     4    nameType  I
           20   21     5  serverName  Ljavax/net/ssl/SNIServerName;
           32   33     5  serverName  Ljavax/net/ssl/SNIServerName;
           41   47     5  serverName  Ljavax/net/ssl/SNIServerName;
           14   47     6     encoded  [B
           22   31     7         iae  Ljava/lang/IllegalArgumentException;
           30   31     8         spe  Ljavax/net/ssl/SSLProtocolException;
           34   41     7         iae  Ljava/lang/IllegalArgumentException;
           40   41     8         spe  Ljavax/net/ssl/SSLProtocolException;
      Exception table:
        from    to  target  type
          19    20      21  Class java.lang.IllegalArgumentException
          31    32      33  Class java.lang.IllegalArgumentException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      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 164
            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 165
      StackMap locals:
      StackMap stack:
            ldc "<no server name indicator specified>"
            areturn
         2: .line 167
      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 168
            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 169
            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 170
            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 168
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         8: .line 173
            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