public class sun.security.util.SignatureUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.util.SignatureUtil
super_class: java.lang.Object
{
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/SignatureUtil;
private static java.security.AlgorithmParameters createAlgorithmParameters(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)Ljava/security/AlgorithmParameters;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;)Ljava/security/AlgorithmParameters;
1: astore 2
start local 2 2: aload 2
aload 1
invokevirtual java.security.AlgorithmParameters.init:([B)V
3: aload 2
4: areturn
end local 2 5: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 6: new java.security.ProviderException
dup
aload 2
invokespecial java.security.ProviderException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 algName Ljava/lang/String;
0 7 1 paramBytes [B
2 5 2 result Ljava/security/AlgorithmParameters;
6 7 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 4 5 Class java.security.NoSuchAlgorithmException
0 4 5 Class java.io.IOException
Exceptions:
throws java.security.ProviderException
MethodParameters:
Name Flags
algName
paramBytes
private static java.security.spec.AlgorithmParameterSpec getParamSpec(java.lang.String, java.security.AlgorithmParameters);
descriptor: (Ljava/lang/String;Ljava/security/AlgorithmParameters;)Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
ldc "RSA"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpne 7
2: new java.security.ProviderException
dup
3: new java.lang.StringBuilder
dup
ldc "Unrecognized algorithm for signature parameters "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.security.AlgorithmParameters.getAlgorithm:()Ljava/lang/String;
astore 2
start local 2 8: aload 2
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
aload 2
ldc "."
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 15
9: StackMap locals: java.lang.String
StackMap stack:
aload 0
10: aload 1
invokevirtual java.security.AlgorithmParameters.getEncoded:()[B
11: invokestatic sun.security.util.SignatureUtil.createAlgorithmParameters:(Ljava/lang/String;[B)Ljava/security/AlgorithmParameters;
astore 1
12: goto 15
StackMap locals:
StackMap stack: java.io.IOException
13: astore 3
start local 3 14: new java.security.ProviderException
dup
aload 3
invokespecial java.security.ProviderException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 15: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.security.rsa.RSAUtil.getParamSpec:(Ljava/security/AlgorithmParameters;)Ljava/security/spec/AlgorithmParameterSpec;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 sigName Ljava/lang/String;
0 16 1 params Ljava/security/AlgorithmParameters;
8 16 2 alg Ljava/lang/String;
14 15 3 e Ljava/io/IOException;
Exception table:
from to target type
9 12 13 Class java.io.IOException
Exceptions:
throws java.security.InvalidAlgorithmParameterException, java.security.ProviderException
MethodParameters:
Name Flags
sigName
params
public static void specialSetParameter(java.security.Signature, byte[]);
descriptor: (Ljava/security/Signature;[B)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 5
1: aload 0
invokevirtual java.security.Signature.getAlgorithm:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
aload 1
invokestatic sun.security.util.SignatureUtil.createAlgorithmParameters:(Ljava/lang/String;[B)Ljava/security/AlgorithmParameters;
3: astore 3
start local 3 4: aload 0
aload 3
invokestatic sun.security.util.SignatureUtil.specialSetParameter:(Ljava/security/Signature;Ljava/security/AlgorithmParameters;)V
end local 3 end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 sig Ljava/security/Signature;
0 6 1 paramBytes [B
2 5 2 sigName Ljava/lang/String;
4 5 3 params Ljava/security/AlgorithmParameters;
Exceptions:
throws java.security.InvalidAlgorithmParameterException, java.security.ProviderException
MethodParameters:
Name Flags
sig
paramBytes
public static void specialSetParameter(java.security.Signature, java.security.AlgorithmParameters);
descriptor: (Ljava/security/Signature;Ljava/security/AlgorithmParameters;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 3
1: aload 0
invokevirtual java.security.Signature.getAlgorithm:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
aload 2
aload 1
invokestatic sun.security.util.SignatureUtil.getParamSpec:(Ljava/lang/String;Ljava/security/AlgorithmParameters;)Ljava/security/spec/AlgorithmParameterSpec;
invokevirtual java.security.Signature.setParameter:(Ljava/security/spec/AlgorithmParameterSpec;)V
end local 2 3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 sig Ljava/security/Signature;
0 4 1 params Ljava/security/AlgorithmParameters;
2 3 2 sigName Ljava/lang/String;
Exceptions:
throws java.security.InvalidAlgorithmParameterException, java.security.ProviderException
MethodParameters:
Name Flags
sig
params
}
SourceFile: "SignatureUtil.java"