public final class sun.security.ssl.ProtocolVersion implements java.lang.Comparable<sun.security.ssl.ProtocolVersion>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.ProtocolVersion
super_class: java.lang.Object
{
static final int LIMIT_MAX_VALUE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 65535
static final int LIMIT_MIN_VALUE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final sun.security.ssl.ProtocolVersion NONE;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.ProtocolVersion SSL20Hello;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.ProtocolVersion SSL30;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.ProtocolVersion TLS10;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.ProtocolVersion TLS11;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.ProtocolVersion TLS12;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.ProtocolVersion DTLS10;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.ProtocolVersion DTLS12;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final boolean FIPS;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final sun.security.ssl.ProtocolVersion MIN;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.ProtocolVersion MAX;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.ProtocolVersion DEFAULT_TLS;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.ProtocolVersion DEFAULT_DTLS;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.ProtocolVersion DEFAULT_HELLO;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.util.Set<sun.security.ssl.ProtocolVersion> availableProtocols;
descriptor: Ljava/util/Set;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Lsun/security/ssl/ProtocolVersion;>;
public final int v;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final byte major;
descriptor: B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final byte minor;
descriptor: B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=7, args_size=0
0: new sun.security.ssl.ProtocolVersion
dup
iconst_m1
ldc "NONE"
invokespecial sun.security.ssl.ProtocolVersion.<init>:(ILjava/lang/String;)V
putstatic sun.security.ssl.ProtocolVersion.NONE:Lsun/security/ssl/ProtocolVersion;
1: new sun.security.ssl.ProtocolVersion
dup
iconst_2
ldc "SSLv2Hello"
invokespecial sun.security.ssl.ProtocolVersion.<init>:(ILjava/lang/String;)V
2: putstatic sun.security.ssl.ProtocolVersion.SSL20Hello:Lsun/security/ssl/ProtocolVersion;
3: new sun.security.ssl.ProtocolVersion
dup
sipush 768
ldc "SSLv3"
invokespecial sun.security.ssl.ProtocolVersion.<init>:(ILjava/lang/String;)V
putstatic sun.security.ssl.ProtocolVersion.SSL30:Lsun/security/ssl/ProtocolVersion;
4: new sun.security.ssl.ProtocolVersion
dup
sipush 769
ldc "TLSv1"
invokespecial sun.security.ssl.ProtocolVersion.<init>:(ILjava/lang/String;)V
putstatic sun.security.ssl.ProtocolVersion.TLS10:Lsun/security/ssl/ProtocolVersion;
5: new sun.security.ssl.ProtocolVersion
dup
sipush 770
ldc "TLSv1.1"
invokespecial sun.security.ssl.ProtocolVersion.<init>:(ILjava/lang/String;)V
putstatic sun.security.ssl.ProtocolVersion.TLS11:Lsun/security/ssl/ProtocolVersion;
6: new sun.security.ssl.ProtocolVersion
dup
sipush 771
ldc "TLSv1.2"
invokespecial sun.security.ssl.ProtocolVersion.<init>:(ILjava/lang/String;)V
putstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
7: new sun.security.ssl.ProtocolVersion
dup
ldc 65279
ldc "DTLSv1.0"
invokespecial sun.security.ssl.ProtocolVersion.<init>:(ILjava/lang/String;)V
8: putstatic sun.security.ssl.ProtocolVersion.DTLS10:Lsun/security/ssl/ProtocolVersion;
9: new sun.security.ssl.ProtocolVersion
dup
ldc 65277
ldc "DTLSv1.2"
invokespecial sun.security.ssl.ProtocolVersion.<init>:(ILjava/lang/String;)V
10: putstatic sun.security.ssl.ProtocolVersion.DTLS12:Lsun/security/ssl/ProtocolVersion;
11: invokestatic sun.security.ssl.SunJSSE.isFIPS:()Z
putstatic sun.security.ssl.ProtocolVersion.FIPS:Z
12: getstatic sun.security.ssl.ProtocolVersion.FIPS:Z
ifeq 13
getstatic sun.security.ssl.ProtocolVersion.TLS10:Lsun/security/ssl/ProtocolVersion;
goto 14
StackMap locals:
StackMap stack:
13: getstatic sun.security.ssl.ProtocolVersion.SSL30:Lsun/security/ssl/ProtocolVersion;
StackMap locals:
StackMap stack: sun.security.ssl.ProtocolVersion
14: putstatic sun.security.ssl.ProtocolVersion.MIN:Lsun/security/ssl/ProtocolVersion;
15: getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
putstatic sun.security.ssl.ProtocolVersion.MAX:Lsun/security/ssl/ProtocolVersion;
16: getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
putstatic sun.security.ssl.ProtocolVersion.DEFAULT_TLS:Lsun/security/ssl/ProtocolVersion;
17: getstatic sun.security.ssl.ProtocolVersion.DTLS12:Lsun/security/ssl/ProtocolVersion;
putstatic sun.security.ssl.ProtocolVersion.DEFAULT_DTLS:Lsun/security/ssl/ProtocolVersion;
18: getstatic sun.security.ssl.ProtocolVersion.FIPS:Z
ifeq 19
getstatic sun.security.ssl.ProtocolVersion.TLS10:Lsun/security/ssl/ProtocolVersion;
goto 20
StackMap locals:
StackMap stack:
19: getstatic sun.security.ssl.ProtocolVersion.SSL30:Lsun/security/ssl/ProtocolVersion;
StackMap locals:
StackMap stack: sun.security.ssl.ProtocolVersion
20: putstatic sun.security.ssl.ProtocolVersion.DEFAULT_HELLO:Lsun/security/ssl/ProtocolVersion;
21: new java.util.HashSet
dup
bipush 7
invokespecial java.util.HashSet.<init>:(I)V
astore 0
start local 0 22: bipush 7
anewarray sun.security.ssl.ProtocolVersion
dup
iconst_0
23: getstatic sun.security.ssl.ProtocolVersion.SSL20Hello:Lsun/security/ssl/ProtocolVersion;
aastore
dup
iconst_1
getstatic sun.security.ssl.ProtocolVersion.SSL30:Lsun/security/ssl/ProtocolVersion;
aastore
dup
iconst_2
getstatic sun.security.ssl.ProtocolVersion.TLS10:Lsun/security/ssl/ProtocolVersion;
aastore
dup
iconst_3
getstatic sun.security.ssl.ProtocolVersion.TLS11:Lsun/security/ssl/ProtocolVersion;
aastore
dup
iconst_4
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
aastore
dup
iconst_5
getstatic sun.security.ssl.ProtocolVersion.DTLS10:Lsun/security/ssl/ProtocolVersion;
aastore
dup
bipush 6
getstatic sun.security.ssl.ProtocolVersion.DTLS12:Lsun/security/ssl/ProtocolVersion;
aastore
24: astore 1
start local 1 25: getstatic java.security.CryptoPrimitive.KEY_AGREEMENT:Ljava/security/CryptoPrimitive;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
26: astore 2
start local 2 27: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 35
StackMap locals: java.util.Set sun.security.ssl.ProtocolVersion[] java.util.EnumSet top int int sun.security.ssl.ProtocolVersion[]
StackMap stack:
28: aload 6
iload 4
aaload
astore 3
start local 3 29: getstatic sun.security.ssl.SSLAlgorithmConstraints.DEFAULT_SSL_ONLY:Ljava/security/AlgorithmConstraints;
30: aload 2
aload 3
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
aconst_null
31: invokeinterface java.security.AlgorithmConstraints.permits:(Ljava/util/Set;Ljava/lang/String;Ljava/security/AlgorithmParameters;)Z
32: ifeq 34
33: aload 0
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 3 34: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
35: iload 4
iload 5
if_icmplt 28
36: aload 0
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
37: putstatic sun.security.ssl.ProtocolVersion.availableProtocols:Ljava/util/Set;
end local 2 end local 1 end local 0 38: return
LocalVariableTable:
Start End Slot Name Signature
22 38 0 protocols Ljava/util/Set<Lsun/security/ssl/ProtocolVersion;>;
25 38 1 pvs [Lsun/security/ssl/ProtocolVersion;
27 38 2 cryptoPrimitives Ljava/util/EnumSet<Ljava/security/CryptoPrimitive;>;
29 34 3 p Lsun/security/ssl/ProtocolVersion;
private void <init>(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield sun.security.ssl.ProtocolVersion.v:I
2: aload 0
aload 2
putfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
3: aload 0
iload 1
bipush 8
iushr
i2b
putfield sun.security.ssl.ProtocolVersion.major:B
4: aload 0
iload 1
sipush 255
iand
i2b
putfield sun.security.ssl.ProtocolVersion.minor:B
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/ProtocolVersion;
0 6 1 v I
0 6 2 name Ljava/lang/String;
MethodParameters:
Name Flags
v
name
private static sun.security.ssl.ProtocolVersion valueOf(int);
descriptor: (I)Lsun/security/ssl/ProtocolVersion;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: iload 0
getstatic sun.security.ssl.ProtocolVersion.SSL30:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpne 2
1: getstatic sun.security.ssl.ProtocolVersion.SSL30:Lsun/security/ssl/ProtocolVersion;
areturn
2: StackMap locals:
StackMap stack:
iload 0
getstatic sun.security.ssl.ProtocolVersion.TLS10:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpne 4
3: getstatic sun.security.ssl.ProtocolVersion.TLS10:Lsun/security/ssl/ProtocolVersion;
areturn
4: StackMap locals:
StackMap stack:
iload 0
getstatic sun.security.ssl.ProtocolVersion.TLS11:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpne 6
5: getstatic sun.security.ssl.ProtocolVersion.TLS11:Lsun/security/ssl/ProtocolVersion;
areturn
6: StackMap locals:
StackMap stack:
iload 0
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpne 8
7: getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
areturn
8: StackMap locals:
StackMap stack:
iload 0
getstatic sun.security.ssl.ProtocolVersion.SSL20Hello:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpne 10
9: getstatic sun.security.ssl.ProtocolVersion.SSL20Hello:Lsun/security/ssl/ProtocolVersion;
areturn
10: StackMap locals:
StackMap stack:
iload 0
getstatic sun.security.ssl.ProtocolVersion.DTLS10:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpne 12
11: getstatic sun.security.ssl.ProtocolVersion.DTLS10:Lsun/security/ssl/ProtocolVersion;
areturn
12: StackMap locals:
StackMap stack:
iload 0
getstatic sun.security.ssl.ProtocolVersion.DTLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpne 14
13: getstatic sun.security.ssl.ProtocolVersion.DTLS12:Lsun/security/ssl/ProtocolVersion;
areturn
14: StackMap locals:
StackMap stack:
iload 0
bipush 8
iushr
sipush 255
iand
istore 1
start local 1 15: iload 0
sipush 255
iand
istore 2
start local 2 16: new sun.security.ssl.ProtocolVersion
dup
iload 0
new java.lang.StringBuilder
dup
ldc "Unknown-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.security.ssl.ProtocolVersion.<init>:(ILjava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 v I
15 17 1 major I
16 17 2 minor I
MethodParameters:
Name Flags
v
public static sun.security.ssl.ProtocolVersion valueOf(int, int);
descriptor: (II)Lsun/security/ssl/ProtocolVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
sipush 255
iand
bipush 8
ishl
iload 1
sipush 255
iand
ior
invokestatic sun.security.ssl.ProtocolVersion.valueOf:(I)Lsun/security/ssl/ProtocolVersion;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 major I
0 1 1 minor I
MethodParameters:
Name Flags
major
minor
static sun.security.ssl.ProtocolVersion valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/security/ssl/ProtocolVersion;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Protocol cannot be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.ProtocolVersion.FIPS:Z
ifeq 6
aload 0
getstatic sun.security.ssl.ProtocolVersion.SSL30:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
aload 0
getstatic sun.security.ssl.ProtocolVersion.SSL20Hello:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
4: ldc "Only TLS 1.0 or later allowed in FIPS mode"
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getstatic sun.security.ssl.ProtocolVersion.SSL30:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: getstatic sun.security.ssl.ProtocolVersion.SSL30:Lsun/security/ssl/ProtocolVersion;
areturn
8: StackMap locals:
StackMap stack:
aload 0
getstatic sun.security.ssl.ProtocolVersion.TLS10:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: getstatic sun.security.ssl.ProtocolVersion.TLS10:Lsun/security/ssl/ProtocolVersion;
areturn
10: StackMap locals:
StackMap stack:
aload 0
getstatic sun.security.ssl.ProtocolVersion.TLS11:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: getstatic sun.security.ssl.ProtocolVersion.TLS11:Lsun/security/ssl/ProtocolVersion;
areturn
12: StackMap locals:
StackMap stack:
aload 0
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
13: getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
areturn
14: StackMap locals:
StackMap stack:
aload 0
getstatic sun.security.ssl.ProtocolVersion.SSL20Hello:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
15: getstatic sun.security.ssl.ProtocolVersion.SSL20Hello:Lsun/security/ssl/ProtocolVersion;
areturn
16: StackMap locals:
StackMap stack:
aload 0
getstatic sun.security.ssl.ProtocolVersion.DTLS10:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
17: getstatic sun.security.ssl.ProtocolVersion.DTLS10:Lsun/security/ssl/ProtocolVersion;
areturn
18: StackMap locals:
StackMap stack:
aload 0
getstatic sun.security.ssl.ProtocolVersion.DTLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
19: getstatic sun.security.ssl.ProtocolVersion.DTLS12:Lsun/security/ssl/ProtocolVersion;
areturn
20: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
aload 0
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/ProtocolVersion;
public int compareTo(sun.security.ssl.ProtocolVersion);
descriptor: (Lsun/security/ssl/ProtocolVersion;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.ssl.ProtocolVersion.maybeDTLSProtocol:()Z
ifeq 4
1: aload 1
invokevirtual sun.security.ssl.ProtocolVersion.maybeDTLSProtocol:()Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc "Not DTLS protocol"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.ssl.ProtocolVersion.v:I
aload 0
getfield sun.security.ssl.ProtocolVersion.v:I
isub
ireturn
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.ssl.ProtocolVersion.maybeDTLSProtocol:()Z
ifeq 6
5: new java.lang.IllegalArgumentException
dup
ldc "Not TLS protocol"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.ProtocolVersion.v:I
aload 1
getfield sun.security.ssl.ProtocolVersion.v:I
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/ProtocolVersion;
0 7 1 protocolVersion Lsun/security/ssl/ProtocolVersion;
MethodParameters:
Name Flags
protocolVersion
boolean isDTLSProtocol();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.DTLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpeq 1
aload 0
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.DTLS10:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/ProtocolVersion;
boolean maybeDTLSProtocol();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.ProtocolVersion.major:B
sipush 128
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/ProtocolVersion;
boolean useTLS12PlusSpec();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.ssl.ProtocolVersion.maybeDTLSProtocol:()Z
ifeq 2
aload 0
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.DTLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpgt 1
iconst_1
goto 4
StackMap locals:
StackMap stack:
1: iconst_0
goto 4
StackMap locals:
StackMap stack:
2: aload 0
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmplt 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/ProtocolVersion;
boolean useTLS11PlusSpec();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.ssl.ProtocolVersion.maybeDTLSProtocol:()Z
ifeq 1
iconst_1
goto 3
StackMap locals:
StackMap stack:
1: aload 0
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.TLS11:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmplt 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/ProtocolVersion;
boolean useTLS10PlusSpec();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.ssl.ProtocolVersion.maybeDTLSProtocol:()Z
ifeq 1
iconst_1
goto 3
StackMap locals:
StackMap stack:
1: aload 0
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.TLS10:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmplt 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/ProtocolVersion;
boolean obsoletes(sun.security.ssl.CipherSuite);
descriptor: (Lsun/security/ssl/CipherSuite;)Z
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: aload 2
invokevirtual sun.security.ssl.ProtocolVersion.isDTLSProtocol:()Z
ifeq 5
2: aload 1
getfield sun.security.ssl.CipherSuite.cipher:Lsun/security/ssl/CipherSuite$BulkCipher;
getfield sun.security.ssl.CipherSuite$BulkCipher.cipherType:Lsun/security/ssl/CipherSuite$CipherType;
getstatic sun.security.ssl.CipherSuite$CipherType.STREAM_CIPHER:Lsun/security/ssl/CipherSuite$CipherType;
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals: sun.security.ssl.ProtocolVersion
StackMap stack:
aload 0
invokestatic sun.security.ssl.ProtocolVersion.mapToTLSProtocol:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/ProtocolVersion;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
getfield sun.security.ssl.ProtocolVersion.v:I
aload 1
getfield sun.security.ssl.CipherSuite.obsoleted:I
if_icmplt 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/ProtocolVersion;
0 7 1 suite Lsun/security/ssl/CipherSuite;
1 7 2 proto Lsun/security/ssl/ProtocolVersion;
MethodParameters:
Name Flags
suite
boolean supports(sun.security.ssl.CipherSuite);
descriptor: (Lsun/security/ssl/CipherSuite;)Z
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: aload 2
invokevirtual sun.security.ssl.ProtocolVersion.isDTLSProtocol:()Z
ifeq 5
2: aload 1
getfield sun.security.ssl.CipherSuite.cipher:Lsun/security/ssl/CipherSuite$BulkCipher;
getfield sun.security.ssl.CipherSuite$BulkCipher.cipherType:Lsun/security/ssl/CipherSuite$CipherType;
getstatic sun.security.ssl.CipherSuite$CipherType.STREAM_CIPHER:Lsun/security/ssl/CipherSuite$CipherType;
if_acmpne 4
3: iconst_0
ireturn
4: StackMap locals: sun.security.ssl.ProtocolVersion
StackMap stack:
aload 0
invokestatic sun.security.ssl.ProtocolVersion.mapToTLSProtocol:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/ProtocolVersion;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
getfield sun.security.ssl.ProtocolVersion.v:I
aload 1
getfield sun.security.ssl.CipherSuite.supported:I
if_icmplt 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/ProtocolVersion;
0 7 1 suite Lsun/security/ssl/CipherSuite;
1 7 2 proto Lsun/security/ssl/ProtocolVersion;
MethodParameters:
Name Flags
suite
private static sun.security.ssl.ProtocolVersion mapToTLSProtocol(sun.security.ssl.ProtocolVersion);
descriptor: (Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/ProtocolVersion;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.ssl.ProtocolVersion.isDTLSProtocol:()Z
ifeq 5
1: aload 0
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.DTLS10:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpne 4
2: getstatic sun.security.ssl.ProtocolVersion.TLS11:Lsun/security/ssl/ProtocolVersion;
astore 0
3: goto 5
4: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
astore 0
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 protocolVersion Lsun/security/ssl/ProtocolVersion;
MethodParameters:
Name Flags
protocolVersion
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast sun.security.ssl.ProtocolVersion
invokevirtual sun.security.ssl.ProtocolVersion.compareTo:(Lsun/security/ssl/ProtocolVersion;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lsun/security/ssl/ProtocolVersion;>;
SourceFile: "ProtocolVersion.java"
InnerClasses:
final BulkCipher = sun.security.ssl.CipherSuite$BulkCipher of sun.security.ssl.CipherSuite
final CipherType = sun.security.ssl.CipherSuite$CipherType of sun.security.ssl.CipherSuite