public class sun.security.util.AlgorithmDecomposer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.util.AlgorithmDecomposer
super_class: java.lang.Object
{
private static final java.util.regex.Pattern PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "with|and|(?<!padd)in"
iconst_2
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;I)Ljava/util/regex/Pattern;
1: putstatic sun.security.util.AlgorithmDecomposer.PATTERN:Ljava/util/regex/Pattern;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/util/AlgorithmDecomposer;
private static java.util.Set<java.lang.String> decomposeImpl(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=12, 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
ldc "/"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 2: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 15
StackMap locals: java.lang.String java.util.Set java.lang.String[] top int int java.lang.String[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
ifnull 14
aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifeq 6
5: goto 14
6: StackMap locals: java.lang.String java.util.Set java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
getstatic sun.security.util.AlgorithmDecomposer.PATTERN:Ljava/util/regex/Pattern;
aload 3
invokevirtual java.util.regex.Pattern.split:(Ljava/lang/CharSequence;)[Ljava/lang/String;
astore 7
start local 7 7: aload 7
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 13
StackMap locals: java.lang.String java.util.Set java.lang.String[] java.lang.String int int java.lang.String[] java.lang.String[] top int int java.lang.String[]
StackMap stack:
8: aload 11
iload 9
aaload
astore 8
start local 8 9: aload 8
ifnull 12
aload 8
invokevirtual java.lang.String.isEmpty:()Z
ifeq 11
10: goto 12
11: StackMap locals: java.lang.String java.util.Set java.lang.String[] java.lang.String int int java.lang.String[] java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
aload 1
aload 8
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 8 12: StackMap locals: java.lang.String java.util.Set java.lang.String[] java.lang.String int int java.lang.String[] java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
13: iload 9
iload 10
if_icmplt 8
end local 7 end local 3 14: StackMap locals: java.lang.String java.util.Set java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 5
if_icmplt 3
16: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 algorithm Ljava/lang/String;
1 17 1 elements Ljava/util/Set<Ljava/lang/String;>;
2 17 2 transTokens [Ljava/lang/String;
4 14 3 transToken Ljava/lang/String;
7 14 7 tokens [Ljava/lang/String;
9 12 8 token Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
algorithm
public java.util.Set<java.lang.String> decompose(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.security.util.AlgorithmDecomposer.decomposeImpl:(Ljava/lang/String;)Ljava/util/Set;
astore 2
start local 2 3: aload 2
ldc "SHA1"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 5
aload 2
ldc "SHA-1"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 5
4: aload 2
ldc "SHA-1"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals: java.util.Set
StackMap stack:
aload 2
ldc "SHA-1"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 7
aload 2
ldc "SHA1"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 7
6: aload 2
ldc "SHA1"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals:
StackMap stack:
aload 2
ldc "SHA224"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 9
aload 2
ldc "SHA-224"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 9
8: aload 2
ldc "SHA-224"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals:
StackMap stack:
aload 2
ldc "SHA-224"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 11
aload 2
ldc "SHA224"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 11
10: aload 2
ldc "SHA224"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: StackMap locals:
StackMap stack:
aload 2
ldc "SHA256"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 13
aload 2
ldc "SHA-256"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 13
12: aload 2
ldc "SHA-256"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
13: StackMap locals:
StackMap stack:
aload 2
ldc "SHA-256"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 15
aload 2
ldc "SHA256"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 15
14: aload 2
ldc "SHA256"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
15: StackMap locals:
StackMap stack:
aload 2
ldc "SHA384"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 17
aload 2
ldc "SHA-384"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 17
16: aload 2
ldc "SHA-384"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
17: StackMap locals:
StackMap stack:
aload 2
ldc "SHA-384"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 19
aload 2
ldc "SHA384"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 19
18: aload 2
ldc "SHA384"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
19: StackMap locals:
StackMap stack:
aload 2
ldc "SHA512"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 21
aload 2
ldc "SHA-512"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 21
20: aload 2
ldc "SHA-512"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
21: StackMap locals:
StackMap stack:
aload 2
ldc "SHA-512"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 23
aload 2
ldc "SHA512"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 23
22: aload 2
ldc "SHA512"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
23: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/security/util/AlgorithmDecomposer;
0 24 1 algorithm Ljava/lang/String;
3 24 2 elements Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/lang/String;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
algorithm
public static java.util.Collection<java.lang.String> getAliases(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Collection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ldc "DH"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 2
1: aload 0
ldc "DiffieHellman"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
2: StackMap locals:
StackMap stack:
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "DH"
aastore
dup
iconst_1
ldc "DiffieHellman"
aastore
astore 1
start local 1 3: goto 5
end local 1 4: StackMap locals:
StackMap stack:
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
astore 1
start local 1 5: StackMap locals: java.lang.String[]
StackMap stack:
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 algorithm Ljava/lang/String;
3 4 1 aliases [Ljava/lang/String;
5 6 1 aliases [Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Collection<Ljava/lang/String;>;
MethodParameters:
Name Flags
algorithm
private static void hasLoop(java.util.Set<java.lang.String>, java.lang.String, java.lang.String);
descriptor: (Ljava/util/Set;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 4
1: aload 0
aload 2
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 3
2: aload 0
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 elements Ljava/util/Set<Ljava/lang/String;>;
0 5 1 find Ljava/lang/String;
0 5 2 replace Ljava/lang/String;
Signature: (Ljava/util/Set<Ljava/lang/String;>;Ljava/lang/String;Ljava/lang/String;)V
MethodParameters:
Name Flags
elements
find
replace
public static java.util.Set<java.lang.String> decomposeOneHash(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.security.util.AlgorithmDecomposer.decomposeImpl:(Ljava/lang/String;)Ljava/util/Set;
astore 1
start local 1 3: aload 1
ldc "SHA-1"
ldc "SHA1"
invokestatic sun.security.util.AlgorithmDecomposer.hasLoop:(Ljava/util/Set;Ljava/lang/String;Ljava/lang/String;)V
4: aload 1
ldc "SHA-224"
ldc "SHA224"
invokestatic sun.security.util.AlgorithmDecomposer.hasLoop:(Ljava/util/Set;Ljava/lang/String;Ljava/lang/String;)V
5: aload 1
ldc "SHA-256"
ldc "SHA256"
invokestatic sun.security.util.AlgorithmDecomposer.hasLoop:(Ljava/util/Set;Ljava/lang/String;Ljava/lang/String;)V
6: aload 1
ldc "SHA-384"
ldc "SHA384"
invokestatic sun.security.util.AlgorithmDecomposer.hasLoop:(Ljava/util/Set;Ljava/lang/String;Ljava/lang/String;)V
7: aload 1
ldc "SHA-512"
ldc "SHA512"
invokestatic sun.security.util.AlgorithmDecomposer.hasLoop:(Ljava/util/Set;Ljava/lang/String;Ljava/lang/String;)V
8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 algorithm Ljava/lang/String;
3 9 1 elements Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/lang/String;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
algorithm
public static java.lang.String hashName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "-"
ldc ""
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 algorithm Ljava/lang/String;
MethodParameters:
Name Flags
algorithm
}
SourceFile: "AlgorithmDecomposer.java"