public class sun.security.rsa.RSAUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.rsa.RSAUtil
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/rsa/RSAUtil;
private static void requireNonNull(java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 1
new java.security.ProviderException
dup
aload 1
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 obj Ljava/lang/Object;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
obj
msg
public static java.security.spec.AlgorithmParameterSpec checkParamsAgainstType(sun.security.rsa.RSAUtil$KeyType, java.security.spec.AlgorithmParameterSpec);
descriptor: (Lsun/security/rsa/RSAUtil$KeyType;Ljava/security/spec/AlgorithmParameterSpec;)Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.rsa.RSAUtil$KeyType.paramSpecCls:Ljava/lang/Class;
astore 2
start local 2 2: aload 2
ifnonnull 6
3: new java.security.ProviderException
dup
new java.lang.StringBuilder
dup
ldc "null params expected for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
getfield sun.security.rsa.RSAUtil$KeyType.keyAlgo:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.lang.Class
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 10
7: new java.security.ProviderException
dup
8: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " expected for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.rsa.RSAUtil$KeyType.keyAlgo:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 type Lsun/security/rsa/RSAUtil$KeyType;
0 11 1 paramSpec Ljava/security/spec/AlgorithmParameterSpec;
2 11 2 expCls Ljava/lang/Class<+Ljava/security/spec/AlgorithmParameterSpec;>;
Exceptions:
throws java.security.ProviderException
MethodParameters:
Name Flags
type
paramSpec
public static java.security.AlgorithmParameters getParams(sun.security.rsa.RSAUtil$KeyType, java.security.spec.AlgorithmParameterSpec);
descriptor: (Lsun/security/rsa/RSAUtil$KeyType;Ljava/security/spec/AlgorithmParameterSpec;)Ljava/security/AlgorithmParameters;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.rsa.RSAUtil$KeyType.keyAlgo:Ljava/lang/String;
invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;)Ljava/security/AlgorithmParameters;
2: astore 2
start local 2 3: aload 2
aload 1
invokevirtual java.security.AlgorithmParameters.init:(Ljava/security/spec/AlgorithmParameterSpec;)V
4: aload 2
5: areturn
end local 2 6: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
astore 2
start local 2 7: 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 8 0 type Lsun/security/rsa/RSAUtil$KeyType;
0 8 1 spec Ljava/security/spec/AlgorithmParameterSpec;
3 6 2 params Ljava/security/AlgorithmParameters;
7 8 2 ex Ljava/security/GeneralSecurityException;
Exception table:
from to target type
1 5 6 Class java.security.NoSuchAlgorithmException
1 5 6 Class java.security.spec.InvalidParameterSpecException
Exceptions:
throws java.security.ProviderException
MethodParameters:
Name Flags
type
spec
public static sun.security.x509.AlgorithmId createAlgorithmId(sun.security.rsa.RSAUtil$KeyType, java.security.spec.AlgorithmParameterSpec);
descriptor: (Lsun/security/rsa/RSAUtil$KeyType;Ljava/security/spec/AlgorithmParameterSpec;)Lsun/security/x509/AlgorithmId;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic sun.security.rsa.RSAUtil.checkParamsAgainstType:(Lsun/security/rsa/RSAUtil$KeyType;Ljava/security/spec/AlgorithmParameterSpec;)Ljava/security/spec/AlgorithmParameterSpec;
pop
1: aload 0
getfield sun.security.rsa.RSAUtil$KeyType.oid:Lsun/security/util/ObjectIdentifier;
astore 2
start local 2 2: aload 0
aload 1
invokestatic sun.security.rsa.RSAUtil.getParams:(Lsun/security/rsa/RSAUtil$KeyType;Ljava/security/spec/AlgorithmParameterSpec;)Ljava/security/AlgorithmParameters;
astore 3
start local 3 3: new sun.security.x509.AlgorithmId
dup
aload 2
aload 3
invokespecial sun.security.x509.AlgorithmId.<init>:(Lsun/security/util/ObjectIdentifier;Ljava/security/AlgorithmParameters;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 type Lsun/security/rsa/RSAUtil$KeyType;
0 4 1 paramSpec Ljava/security/spec/AlgorithmParameterSpec;
2 4 2 oid Lsun/security/util/ObjectIdentifier;
3 4 3 params Ljava/security/AlgorithmParameters;
Exceptions:
throws java.security.ProviderException
MethodParameters:
Name Flags
type
paramSpec
public static java.security.spec.AlgorithmParameterSpec getParamSpec(java.security.AlgorithmParameters);
descriptor: (Ljava/security/AlgorithmParameters;)Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.security.AlgorithmParameters.getAlgorithm:()Ljava/lang/String;
astore 1
start local 1 2: aload 1
invokestatic sun.security.rsa.RSAUtil$KeyType.lookup:(Ljava/lang/String;)Lsun/security/rsa/RSAUtil$KeyType;
astore 2
start local 2 3: aload 2
getfield sun.security.rsa.RSAUtil$KeyType.paramSpecCls:Ljava/lang/Class;
astore 3
start local 3 4: aload 3
ifnonnull 8
5: new java.security.ProviderException
dup
new java.lang.StringBuilder
dup
ldc "No params accepted for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 2
getfield sun.security.rsa.RSAUtil$KeyType.keyAlgo:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: java.lang.String sun.security.rsa.RSAUtil$KeyType java.lang.Class
StackMap stack:
aload 0
aload 3
invokevirtual java.security.AlgorithmParameters.getParameterSpec:(Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;
9: areturn
10: StackMap locals:
StackMap stack: java.security.spec.InvalidParameterSpecException
astore 4
start local 4 11: new java.security.ProviderException
dup
aload 4
invokespecial java.security.ProviderException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 params Ljava/security/AlgorithmParameters;
2 12 1 algName Ljava/lang/String;
3 12 2 type Lsun/security/rsa/RSAUtil$KeyType;
4 12 3 specCls Ljava/lang/Class<+Ljava/security/spec/AlgorithmParameterSpec;>;
11 12 4 ex Ljava/security/spec/InvalidParameterSpecException;
Exception table:
from to target type
8 9 10 Class java.security.spec.InvalidParameterSpecException
Exceptions:
throws java.security.ProviderException
MethodParameters:
Name Flags
params
public static java.lang.Object[] getTypeAndParamSpec(sun.security.x509.AlgorithmId);
descriptor: (Lsun/security/x509/AlgorithmId;)[Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
ldc "AlgorithmId should not be null"
invokestatic sun.security.rsa.RSAUtil.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: iconst_2
anewarray java.lang.Object
astore 1
start local 1 2: aload 0
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
astore 2
start local 2 3: aload 1
iconst_0
aload 2
invokestatic sun.security.rsa.RSAUtil$KeyType.lookup:(Ljava/lang/String;)Lsun/security/rsa/RSAUtil$KeyType;
aastore
4: goto 10
StackMap locals: sun.security.x509.AlgorithmId java.lang.Object[] java.lang.String
StackMap stack: java.security.ProviderException
5: astore 3
start local 3 6: aload 2
ldc "RSA"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 9
7: aload 1
iconst_0
getstatic sun.security.rsa.RSAUtil$KeyType.RSA:Lsun/security/rsa/RSAUtil$KeyType;
aastore
8: goto 10
9: StackMap locals: java.security.ProviderException
StackMap stack:
aload 3
athrow
end local 3 10: StackMap locals:
StackMap stack:
aload 1
iconst_1
aload 0
invokevirtual sun.security.x509.AlgorithmId.getParameters:()Ljava/security/AlgorithmParameters;
invokestatic sun.security.rsa.RSAUtil.getParamSpec:(Ljava/security/AlgorithmParameters;)Ljava/security/spec/AlgorithmParameterSpec;
aastore
11: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 algid Lsun/security/x509/AlgorithmId;
2 12 1 result [Ljava/lang/Object;
3 12 2 algName Ljava/lang/String;
6 10 3 pe Ljava/security/ProviderException;
Exception table:
from to target type
3 4 5 Class java.security.ProviderException
Exceptions:
throws java.security.ProviderException
MethodParameters:
Name Flags
algid
}
SourceFile: "RSAUtil.java"
NestMembers:
sun.security.rsa.RSAUtil$KeyType
InnerClasses:
public final KeyType = sun.security.rsa.RSAUtil$KeyType of sun.security.rsa.RSAUtil