final class sun.security.ssl.SignatureAndHashAlgorithm
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.SignatureAndHashAlgorithm
super_class: java.lang.Object
{
static final int SUPPORTED_ALG_PRIORITY_MAX_NUM;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 240
private static final java.util.Set<java.security.CryptoPrimitive> SIGNATURE_PRIMITIVE_SET;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/security/CryptoPrimitive;>;
private static final java.util.Map<java.lang.Integer, sun.security.ssl.SignatureAndHashAlgorithm> supportedMap;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Lsun/security/ssl/SignatureAndHashAlgorithm;>;
private static final java.util.Map<java.lang.Integer, sun.security.ssl.SignatureAndHashAlgorithm> priorityMap;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Lsun/security/ssl/SignatureAndHashAlgorithm;>;
private sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm hash;
descriptor: Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
flags: (0x0002) ACC_PRIVATE
private int id;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String algorithm;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int priority;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: getstatic java.security.CryptoPrimitive.SIGNATURE:Ljava/security/CryptoPrimitive;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
1: putstatic sun.security.ssl.SignatureAndHashAlgorithm.SIGNATURE_PRIMITIVE_SET:Ljava/util/Set;
2: new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
3: invokestatic java.util.Collections.synchronizedSortedMap:(Ljava/util/SortedMap;)Ljava/util/SortedMap;
putstatic sun.security.ssl.SignatureAndHashAlgorithm.supportedMap:Ljava/util/Map;
4: new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
5: invokestatic java.util.Collections.synchronizedSortedMap:(Ljava/util/SortedMap;)Ljava/util/SortedMap;
putstatic sun.security.ssl.SignatureAndHashAlgorithm.priorityMap:Ljava/util/Map;
6: getstatic sun.security.ssl.SignatureAndHashAlgorithm.supportedMap:Ljava/util/Map;
dup
astore 0
monitorenter
7: sipush 240
istore 1
start local 1 8: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.MD5:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.RSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
9: ldc "MD5withRSA"
iinc 1 -1
iload 1
10: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
11: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA1:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.DSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
12: ldc "SHA1withDSA"
iinc 1 -1
iload 1
13: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
14: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA1:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.RSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
15: ldc "SHA1withRSA"
iinc 1 -1
iload 1
16: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
17: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA1:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.ECDSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
18: ldc "SHA1withECDSA"
iinc 1 -1
iload 1
19: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
20: ldc "SunMSCAPI"
invokestatic java.security.Security.getProvider:(Ljava/lang/String;)Ljava/security/Provider;
ifnonnull 30
21: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA224:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.DSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
22: ldc "SHA224withDSA"
iinc 1 -1
iload 1
23: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
24: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA224:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.RSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
25: ldc "SHA224withRSA"
iinc 1 -1
iload 1
26: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
27: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA224:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.ECDSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
28: ldc "SHA224withECDSA"
iinc 1 -1
iload 1
29: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
30: StackMap locals: java.util.Map int
StackMap stack:
getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA256:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.DSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
31: ldc "SHA256withDSA"
iinc 1 -1
iload 1
32: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
33: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA256:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.RSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
34: ldc "SHA256withRSA"
iinc 1 -1
iload 1
35: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
36: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA256:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.ECDSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
37: ldc "SHA256withECDSA"
iinc 1 -1
iload 1
38: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
39: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA384:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.RSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
40: ldc "SHA384withRSA"
iinc 1 -1
iload 1
41: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
42: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA384:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.ECDSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
43: ldc "SHA384withECDSA"
iinc 1 -1
iload 1
44: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
45: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA512:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.RSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
46: ldc "SHA512withRSA"
iinc 1 -1
iload 1
47: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
48: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA512:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.ECDSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
49: ldc "SHA512withECDSA"
iinc 1 -1
iload 1
50: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.supports:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
end local 1 51: aload 0
monitorexit
52: goto 55
StackMap locals: java.util.Map
StackMap stack: java.lang.Throwable
53: aload 0
monitorexit
54: athrow
55: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
8 51 1 p I
Exception table:
from to target type
7 52 53 any
53 54 53 any
private void <init>(sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm, sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm, java.lang.String, int);
descriptor: (Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.security.ssl.SignatureAndHashAlgorithm.hash:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
2: aload 0
aload 3
putfield sun.security.ssl.SignatureAndHashAlgorithm.algorithm:Ljava/lang/String;
3: aload 0
aload 1
getfield sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.value:I
sipush 255
iand
bipush 8
ishl
aload 2
getfield sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.value:I
sipush 255
iand
ior
putfield sun.security.ssl.SignatureAndHashAlgorithm.id:I
4: aload 0
iload 4
putfield sun.security.ssl.SignatureAndHashAlgorithm.priority:I
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/SignatureAndHashAlgorithm;
0 6 1 hash Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
0 6 2 signature Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
0 6 3 algorithm Ljava/lang/String;
0 6 4 priority I
MethodParameters:
Name Flags
hash
signature
algorithm
priority
private void <init>(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 2
bipush 8
ishr
sipush 255
iand
invokestatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.valueOf:(I)Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
putfield sun.security.ssl.SignatureAndHashAlgorithm.hash:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
2: aload 0
aload 1
putfield sun.security.ssl.SignatureAndHashAlgorithm.algorithm:Ljava/lang/String;
3: aload 0
iload 2
putfield sun.security.ssl.SignatureAndHashAlgorithm.id:I
4: aload 0
sipush 240
iload 3
iadd
iconst_1
iadd
putfield sun.security.ssl.SignatureAndHashAlgorithm.priority:I
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/SignatureAndHashAlgorithm;
0 6 1 algorithm Ljava/lang/String;
0 6 2 id I
0 6 3 sequence I
MethodParameters:
Name Flags
algorithm
id
sequence
static sun.security.ssl.SignatureAndHashAlgorithm valueOf(int, int, int);
descriptor: (III)Lsun/security/ssl/SignatureAndHashAlgorithm;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 0
sipush 255
iand
istore 0
1: iload 1
sipush 255
iand
istore 1
2: iload 0
bipush 8
ishl
iload 1
ior
istore 3
start local 3 3: getstatic sun.security.ssl.SignatureAndHashAlgorithm.supportedMap:Ljava/util/Map;
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.ssl.SignatureAndHashAlgorithm
astore 4
start local 4 4: aload 4
ifnonnull 11
5: new sun.security.ssl.SignatureAndHashAlgorithm
dup
6: new java.lang.StringBuilder
dup
ldc "Unknown (hash:0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
bipush 16
invokestatic java.lang.Integer.toString:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc ", signature:0x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
bipush 16
invokestatic java.lang.Integer.toString:(II)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;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: iload 3
iload 2
10: invokespecial sun.security.ssl.SignatureAndHashAlgorithm.<init>:(Ljava/lang/String;II)V
astore 4
11: StackMap locals: int sun.security.ssl.SignatureAndHashAlgorithm
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 hash I
0 12 1 signature I
0 12 2 sequence I
3 12 3 id I
4 12 4 signAlg Lsun/security/ssl/SignatureAndHashAlgorithm;
MethodParameters:
Name Flags
hash
signature
sequence
int getHashValue();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SignatureAndHashAlgorithm.id:I
bipush 8
ishr
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SignatureAndHashAlgorithm;
int getSignatureValue();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SignatureAndHashAlgorithm.id:I
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SignatureAndHashAlgorithm;
java.lang.String getAlgorithmName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SignatureAndHashAlgorithm.algorithm:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SignatureAndHashAlgorithm;
static int sizeInRecord();
descriptor: ()I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_2
ireturn
LocalVariableTable:
Start End Slot Name Signature
static java.util.Collection<sun.security.ssl.SignatureAndHashAlgorithm> getSupportedAlgorithms(java.security.AlgorithmConstraints);
descriptor: (Ljava/security/AlgorithmConstraints;)Ljava/util/Collection;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: getstatic sun.security.ssl.SignatureAndHashAlgorithm.priorityMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: java.security.AlgorithmConstraints java.util.Collection top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.SignatureAndHashAlgorithm
astore 2
start local 2 3: aload 2
getfield sun.security.ssl.SignatureAndHashAlgorithm.priority:I
sipush 240
if_icmpgt 9
4: aload 0
getstatic sun.security.ssl.SignatureAndHashAlgorithm.SIGNATURE_PRIMITIVE_SET:Ljava/util/Set;
5: aload 2
getfield sun.security.ssl.SignatureAndHashAlgorithm.algorithm:Ljava/lang/String;
aconst_null
6: invokeinterface java.security.AlgorithmConstraints.permits:(Ljava/util/Set;Ljava/lang/String;Ljava/security/AlgorithmParameters;)Z
7: ifeq 9
8: aload 1
aload 2
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 2 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
10: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 constraints Ljava/security/AlgorithmConstraints;
1 11 1 supported Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
3 9 2 sigAlg Lsun/security/ssl/SignatureAndHashAlgorithm;
Signature: (Ljava/security/AlgorithmConstraints;)Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
MethodParameters:
Name Flags
constraints
static java.util.Collection<sun.security.ssl.SignatureAndHashAlgorithm> getSupportedAlgorithms(java.security.AlgorithmConstraints, java.util.Collection<sun.security.ssl.SignatureAndHashAlgorithm>);
descriptor: (Ljava/security/AlgorithmConstraints;Ljava/util/Collection;)Ljava/util/Collection;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: java.security.AlgorithmConstraints java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.SignatureAndHashAlgorithm
astore 3
start local 3 3: aload 3
getfield sun.security.ssl.SignatureAndHashAlgorithm.priority:I
sipush 240
if_icmpgt 9
4: aload 0
getstatic sun.security.ssl.SignatureAndHashAlgorithm.SIGNATURE_PRIMITIVE_SET:Ljava/util/Set;
5: aload 3
getfield sun.security.ssl.SignatureAndHashAlgorithm.algorithm:Ljava/lang/String;
aconst_null
6: invokeinterface java.security.AlgorithmConstraints.permits:(Ljava/util/Set;Ljava/lang/String;Ljava/security/AlgorithmParameters;)Z
7: ifeq 9
8: aload 2
aload 3
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 3 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
10: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 constraints Ljava/security/AlgorithmConstraints;
0 11 1 algorithms Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
1 11 2 supported Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
3 9 3 sigAlg Lsun/security/ssl/SignatureAndHashAlgorithm;
Signature: (Ljava/security/AlgorithmConstraints;Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;)Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
MethodParameters:
Name Flags
constraints
algorithms
static java.lang.String[] getAlgorithmNames(java.util.Collection<sun.security.ssl.SignatureAndHashAlgorithm>);
descriptor: (Ljava/util/Collection;)[Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
ifnull 6
2: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: java.util.Collection java.util.ArrayList top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.SignatureAndHashAlgorithm
astore 2
start local 2 4: aload 1
aload 2
getfield sun.security.ssl.SignatureAndHashAlgorithm.algorithm:Ljava/lang/String;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: StackMap locals: java.util.Collection java.util.ArrayList
StackMap stack:
aload 1
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
astore 2
start local 2 7: aload 1
aload 2
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 algorithms Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
1 8 1 algorithmNames Ljava/util/ArrayList<Ljava/lang/String;>;
4 5 2 sigAlg Lsun/security/ssl/SignatureAndHashAlgorithm;
7 8 2 array [Ljava/lang/String;
Signature: (Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;)[Ljava/lang/String;
MethodParameters:
Name Flags
algorithms
static java.util.Set<java.lang.String> getHashAlgorithmNames(java.util.Collection<sun.security.ssl.SignatureAndHashAlgorithm>);
descriptor: (Ljava/util/Collection;)Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
ifnull 7
2: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: java.util.Collection java.util.Set top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.SignatureAndHashAlgorithm
astore 2
start local 2 4: aload 2
getfield sun.security.ssl.SignatureAndHashAlgorithm.hash:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getfield sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.value:I
ifle 6
5: aload 1
aload 2
getfield sun.security.ssl.SignatureAndHashAlgorithm.hash:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getfield sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.standardName:Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: StackMap locals: java.util.Collection java.util.Set
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 algorithms Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
1 8 1 algorithmNames Ljava/util/Set<Ljava/lang/String;>;
4 6 2 sigAlg Lsun/security/ssl/SignatureAndHashAlgorithm;
Signature: (Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
algorithms
static java.lang.String getHashAlgorithmName(sun.security.ssl.SignatureAndHashAlgorithm);
descriptor: (Lsun/security/ssl/SignatureAndHashAlgorithm;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SignatureAndHashAlgorithm.hash:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getfield sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.standardName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 algorithm Lsun/security/ssl/SignatureAndHashAlgorithm;
MethodParameters:
Name Flags
algorithm
private static void supports(sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm, sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm, java.lang.String, int);
descriptor: (Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new sun.security.ssl.SignatureAndHashAlgorithm
dup
aload 0
aload 1
aload 2
iload 3
invokespecial sun.security.ssl.SignatureAndHashAlgorithm.<init>:(Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;Ljava/lang/String;I)V
1: astore 4
start local 4 2: getstatic sun.security.ssl.SignatureAndHashAlgorithm.supportedMap:Ljava/util/Map;
aload 4
getfield sun.security.ssl.SignatureAndHashAlgorithm.id:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnull 8
3: new java.lang.RuntimeException
dup
4: new java.lang.StringBuilder
dup
ldc "Duplicate SignatureAndHashAlgorithm definition, id: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 4
getfield sun.security.ssl.SignatureAndHashAlgorithm.id:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: sun.security.ssl.SignatureAndHashAlgorithm
StackMap stack:
getstatic sun.security.ssl.SignatureAndHashAlgorithm.priorityMap:Ljava/util/Map;
aload 4
getfield sun.security.ssl.SignatureAndHashAlgorithm.priority:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnull 14
9: new java.lang.RuntimeException
dup
10: new java.lang.StringBuilder
dup
ldc "Duplicate SignatureAndHashAlgorithm definition, priority: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 4
getfield sun.security.ssl.SignatureAndHashAlgorithm.priority:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 hash Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
0 15 1 signature Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
0 15 2 algorithm Ljava/lang/String;
0 15 3 priority I
2 15 4 pair Lsun/security/ssl/SignatureAndHashAlgorithm;
MethodParameters:
Name Flags
hash
signature
algorithm
priority
static sun.security.ssl.SignatureAndHashAlgorithm getPreferableAlgorithm(java.util.Collection<sun.security.ssl.SignatureAndHashAlgorithm>, java.lang.String);
descriptor: (Ljava/util/Collection;Ljava/lang/String;)Lsun/security/ssl/SignatureAndHashAlgorithm;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
1: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.getPreferableAlgorithm:(Ljava/util/Collection;Ljava/lang/String;Ljava/security/PrivateKey;)Lsun/security/ssl/SignatureAndHashAlgorithm;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 algorithms Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
0 2 1 expected Ljava/lang/String;
Signature: (Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;Ljava/lang/String;)Lsun/security/ssl/SignatureAndHashAlgorithm;
MethodParameters:
Name Flags
algorithms
expected
static sun.security.ssl.SignatureAndHashAlgorithm getPreferableAlgorithm(java.util.Collection<sun.security.ssl.SignatureAndHashAlgorithm>, java.lang.String, java.security.PrivateKey);
descriptor: (Ljava/util/Collection;Ljava/lang/String;Ljava/security/PrivateKey;)Lsun/security/ssl/SignatureAndHashAlgorithm;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic sun.security.ssl.SignatureAndHashAlgorithm.getMaxDigestLength:(Ljava/security/PrivateKey;)I
istore 3
start local 3 1: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 16
StackMap locals: java.util.Collection java.lang.String java.security.PrivateKey int top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.SignatureAndHashAlgorithm
astore 4
start local 4 3: aload 4
getfield sun.security.ssl.SignatureAndHashAlgorithm.id:I
sipush 255
iand
istore 6
start local 6 4: aload 1
ifnull 13
5: aload 1
ldc "rsa"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 7
6: iload 6
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.RSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
getfield sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.value:I
if_icmpeq 13
7: StackMap locals: java.util.Collection java.lang.String java.security.PrivateKey int sun.security.ssl.SignatureAndHashAlgorithm java.util.Iterator int
StackMap stack:
aload 1
ldc "dsa"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
8: iload 6
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.DSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
getfield sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.value:I
if_icmpeq 13
9: StackMap locals:
StackMap stack:
aload 1
ldc "ecdsa"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 11
10: iload 6
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.ECDSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
getfield sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.value:I
if_icmpeq 13
11: StackMap locals:
StackMap stack:
aload 1
ldc "ec"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 16
12: iload 6
getstatic sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.ECDSA:Lsun/security/ssl/SignatureAndHashAlgorithm$SignatureAlgorithm;
getfield sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm.value:I
if_icmpne 16
13: StackMap locals:
StackMap stack:
aload 4
getfield sun.security.ssl.SignatureAndHashAlgorithm.priority:I
sipush 240
if_icmpgt 16
14: aload 4
getfield sun.security.ssl.SignatureAndHashAlgorithm.hash:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getfield sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.length:I
iload 3
if_icmpgt 16
15: aload 4
areturn
end local 6 end local 4 16: StackMap locals: java.util.Collection java.lang.String java.security.PrivateKey int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
17: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 algorithms Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
0 18 1 expected Ljava/lang/String;
0 18 2 signingKey Ljava/security/PrivateKey;
1 18 3 maxDigestLength I
3 16 4 algorithm Lsun/security/ssl/SignatureAndHashAlgorithm;
4 16 6 signValue I
Signature: (Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;Ljava/lang/String;Ljava/security/PrivateKey;)Lsun/security/ssl/SignatureAndHashAlgorithm;
MethodParameters:
Name Flags
algorithms
expected
signingKey
private static int getMaxDigestLength(java.security.PrivateKey);
descriptor: (Ljava/security/PrivateKey;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: ldc 2147483647
istore 1
start local 1 1: aload 0
ifnull 12
2: ldc "rsa"
aload 0
invokeinterface java.security.PrivateKey.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
3: aload 0
invokestatic sun.security.util.KeyUtil.getKeySize:(Ljava/security/Key;)I
istore 2
start local 2 4: iload 2
sipush 768
if_icmplt 7
5: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA512:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getfield sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.length:I
istore 1
6: goto 12
StackMap locals: int int
StackMap stack:
7: iload 2
sipush 512
if_icmplt 10
iload 2
sipush 768
if_icmpge 10
8: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA256:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getfield sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.length:I
istore 1
9: goto 12
StackMap locals:
StackMap stack:
10: iload 2
ifle 12
iload 2
sipush 512
if_icmpge 12
11: getstatic sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.SHA1:Lsun/security/ssl/SignatureAndHashAlgorithm$HashAlgorithm;
getfield sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm.length:I
istore 1
end local 2 12: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 signingKey Ljava/security/PrivateKey;
1 13 1 maxDigestLength I
4 12 2 keySize I
MethodParameters:
Name Flags
signingKey
}
SourceFile: "SignatureAndHashAlgorithm.java"
NestMembers:
sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm
InnerClasses:
final HashAlgorithm = sun.security.ssl.SignatureAndHashAlgorithm$HashAlgorithm of sun.security.ssl.SignatureAndHashAlgorithm
final SignatureAlgorithm = sun.security.ssl.SignatureAndHashAlgorithm$SignatureAlgorithm of sun.security.ssl.SignatureAndHashAlgorithm