final class sun.security.ssl.Utilities
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.Utilities
super_class: java.lang.Object
{
private static final java.lang.String indent;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: " "
private static final java.util.regex.Pattern lineBreakPatern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.HexFormat HEX_FORMATTER;
descriptor: Ljava/util/HexFormat;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "\\r\\n|\\n|\\r"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
1: putstatic sun.security.ssl.Utilities.lineBreakPatern:Ljava/util/regex/Pattern;
2: invokestatic java.util.HexFormat.of:()Ljava/util/HexFormat;
invokevirtual java.util.HexFormat.withUpperCase:()Ljava/util/HexFormat;
3: putstatic sun.security.ssl.Utilities.HEX_FORMATTER:Ljava/util/HexFormat;
4: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/Utilities;
static java.util.List<javax.net.ssl.SNIServerName> addToSNIServerNameList(java.util.List<javax.net.ssl.SNIServerName>, java.lang.String);
descriptor: (Ljava/util/List;Ljava/lang/String;)Ljava/util/List;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.security.ssl.Utilities.rawToSNIHostName:(Ljava/lang/String;)Ljavax/net/ssl/SNIHostName;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 0
areturn
3: StackMap locals: javax.net.ssl.SNIHostName
StackMap stack:
aload 0
invokeinterface java.util.List.size:()I
istore 3
start local 3 4: iload 3
ifeq 6
5: new java.util.ArrayList
dup
aload 0
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
goto 7
6: StackMap locals: int
StackMap stack:
new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
7: StackMap locals:
StackMap stack: java.util.ArrayList
astore 4
start local 4 8: iconst_0
istore 5
start local 5 9: iconst_0
istore 6
start local 6 10: goto 22
11: StackMap locals: java.util.List int int
StackMap stack:
aload 4
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.net.ssl.SNIServerName
astore 7
start local 7 12: aload 7
invokevirtual javax.net.ssl.SNIServerName.getType:()I
ifne 21
13: aload 4
iload 6
aload 2
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
14: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 19
ldc "ssl"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 19
15: new java.lang.StringBuilder
dup
ldc "the previous server name in SNI ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
16: ldc ") was replaced with ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
18: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
19: StackMap locals: javax.net.ssl.SNIServerName
StackMap stack:
iconst_1
istore 5
20: goto 23
end local 7 21: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
22: iload 6
iload 3
if_icmplt 11
end local 6 23: StackMap locals:
StackMap stack:
iload 5
ifne 25
24: aload 4
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
25: StackMap locals:
StackMap stack:
aload 4
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 serverNames Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
0 26 1 hostname Ljava/lang/String;
1 26 2 sniHostName Ljavax/net/ssl/SNIHostName;
4 26 3 size I
8 26 4 sniList Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
9 26 5 reset Z
10 23 6 i I
12 21 7 serverName Ljavax/net/ssl/SNIServerName;
Signature: (Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;Ljava/lang/String;)Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
MethodParameters:
Name Flags
serverNames
hostname
private static javax.net.ssl.SNIHostName rawToSNIHostName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/net/ssl/SNIHostName;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
ifnull 12
aload 0
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
ifle 12
2: aload 0
ldc "."
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 12
3: aload 0
invokestatic sun.net.util.IPAddressUtil.isIPv4LiteralAddress:(Ljava/lang/String;)Z
ifne 12
4: aload 0
invokestatic sun.net.util.IPAddressUtil.isIPv6LiteralAddress:(Ljava/lang/String;)Z
ifne 12
5: new javax.net.ssl.SNIHostName
dup
aload 0
invokespecial javax.net.ssl.SNIHostName.<init>:(Ljava/lang/String;)V
astore 1
6: goto 12
StackMap locals: java.lang.String javax.net.ssl.SNIHostName
StackMap stack: java.lang.IllegalArgumentException
7: pop
8: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 12
ldc "ssl"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 12
9: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\" "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc "is not a legal HostName for server name indication"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 hostname Ljava/lang/String;
1 13 1 sniHostName Ljavax/net/ssl/SNIHostName;
Exception table:
from to target type
5 6 7 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
hostname
static boolean getBooleanProperty(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iload 1
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "false"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 2
ldc "true"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Value of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc " must either be 'true' or 'false'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 propName Ljava/lang/String;
0 10 1 defaultValue Z
1 10 2 b Ljava/lang/String;
MethodParameters:
Name Flags
propName
defaultValue
static java.lang.String indent(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc " "
invokestatic sun.security.ssl.Utilities.indent:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 source Ljava/lang/String;
MethodParameters:
Name Flags
source
static java.lang.String indent(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=9, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 0
ifnonnull 4
2: aload 2
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "<blank message>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: goto 15
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
getstatic sun.security.ssl.Utilities.lineBreakPatern:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.split:(Ljava/lang/CharSequence;)[Ljava/lang/String;
astore 3
start local 3 5: iconst_1
istore 4
start local 4 6: aload 3
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 14
StackMap locals: java.lang.String java.lang.String java.lang.StringBuilder java.lang.String[] int top int int java.lang.String[]
StackMap stack:
7: aload 8
iload 6
aaload
astore 5
start local 5 8: iload 4
ifeq 11
9: iconst_0
istore 4
10: goto 12
11: StackMap locals: java.lang.String java.lang.String java.lang.StringBuilder java.lang.String[] int java.lang.String int int java.lang.String[]
StackMap stack:
aload 2
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 5 13: iinc 6 1
StackMap locals: java.lang.String java.lang.String java.lang.StringBuilder java.lang.String[] int top int int java.lang.String[]
StackMap stack:
14: iload 6
iload 7
if_icmplt 7
end local 4 end local 3 15: StackMap locals: java.lang.String java.lang.String java.lang.StringBuilder
StackMap stack:
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 source Ljava/lang/String;
0 16 1 prefix Ljava/lang/String;
1 16 2 builder Ljava/lang/StringBuilder;
5 15 3 lines [Ljava/lang/String;
6 15 4 isFirst Z
8 13 5 line Ljava/lang/String;
MethodParameters:
Name Flags
source
prefix
static java.lang.String byte16HexString(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic sun.security.ssl.Utilities.HEX_FORMATTER:Ljava/util/HexFormat;
iload 0
i2s
invokevirtual java.util.HexFormat.toHexDigits:(S)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 id I
MethodParameters:
Name Flags
id
static java.lang.String toHexString(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.Utilities.HEX_FORMATTER:Ljava/util/HexFormat;
aload 0
invokevirtual java.util.HexFormat.formatHex:([B)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bytes [B
MethodParameters:
Name Flags
bytes
static java.lang.String toHexString(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
sipush 128
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 1: iconst_1
istore 3
start local 3 2: StackMap locals: java.lang.StringBuilder int
StackMap stack:
iload 3
ifeq 5
3: iconst_0
istore 3
4: goto 6
5: StackMap locals:
StackMap stack:
aload 2
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.Utilities.HEX_FORMATTER:Ljava/util/HexFormat;
aload 2
lload 0
l2i
i2b
invokevirtual java.util.HexFormat.toHexDigits:(Ljava/lang/Appendable;B)Ljava/lang/Appendable;
pop
7: lload 0
bipush 8
lushr
lstore 0
8: lload 0
lconst_0
lcmp
ifne 2
9: aload 2
invokevirtual java.lang.StringBuilder.reverse:()Ljava/lang/StringBuilder;
pop
10: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 lv J
1 11 2 builder Ljava/lang/StringBuilder;
2 11 3 isFirst Z
MethodParameters:
Name Flags
lv
static byte[] toByteArray(java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;)[B
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.math.BigInteger.toByteArray:()[B
astore 1
start local 1 1: aload 1
arraylength
iconst_1
if_icmple 6
aload 1
iconst_0
baload
ifne 6
2: aload 1
arraylength
iconst_1
isub
istore 2
start local 2 3: iload 2
newarray 8
astore 3
start local 3 4: aload 1
iconst_1
aload 3
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 3
astore 1
end local 3 end local 2 6: StackMap locals: byte[]
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 bi Ljava/math/BigInteger;
1 7 1 b [B
3 6 2 n I
4 6 3 newarray [B
MethodParameters:
Name Flags
bi
static void reverseBytes(byte[]);
descriptor: ([B)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
arraylength
iconst_1
isub
istore 2
start local 2 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
iload 1
iload 2
invokestatic sun.security.ssl.Utilities.swap:([BII)V
4: iinc 1 1
5: iinc 2 -1
6: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmplt 3
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 arr [B
1 8 1 i I
2 8 2 j I
MethodParameters:
Name Flags
arr
private static void swap(byte[], int, int);
descriptor: ([BII)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
baload
istore 3
start local 3 1: aload 0
iload 1
aload 0
iload 2
baload
bastore
2: aload 0
iload 2
iload 3
bastore
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 arr [B
0 4 1 i I
0 4 2 j I
1 4 3 tmp B
MethodParameters:
Name Flags
arr
i
j
}
SourceFile: "Utilities.java"