public final class sun.security.util.SecurityProviderConstants
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.util.SecurityProviderConstants
super_class: java.lang.Object
{
private static final sun.security.util.Debug debug;
descriptor: Lsun/security/util/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final int DEF_DSA_KEY_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int DEF_RSA_KEY_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int DEF_RSASSA_PSS_KEY_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int DEF_DH_KEY_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int DEF_EC_KEY_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.String KEY_LENGTH_PROP;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jdk.security.defaultKeySize"
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=14, args_size=0
0: ldc "jca"
ldc "ProviderConfig"
invokestatic sun.security.util.Debug.getInstance:(Ljava/lang/String;Ljava/lang/String;)Lsun/security/util/Debug;
1: putstatic sun.security.util.SecurityProviderConstants.debug:Lsun/security/util/Debug;
2: ldc "jdk.security.defaultKeySize"
3: invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 4: sipush 2048
istore 1
start local 1 5: sipush 2048
istore 2
start local 2 6: iload 2
istore 3
start local 3 7: sipush 2048
istore 4
start local 4 8: sipush 256
istore 5
start local 5 9: aload 0
ifnull 63
10: aload 0
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 6
start local 6 11: aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 56
StackMap locals: java.lang.String int int int int int java.lang.String[] top int int java.lang.String[]
StackMap stack:
12: aload 10
iload 8
aaload
astore 7
start local 7 13: aload 7
ldc ":"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 11
start local 11 14: aload 11
arraylength
iconst_2
if_icmpeq 20
15: getstatic sun.security.util.SecurityProviderConstants.debug:Lsun/security/util/Debug;
ifnull 55
16: getstatic sun.security.util.SecurityProviderConstants.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "Ignoring invalid pair in jdk.security.defaultKeySize property: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
17: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
19: goto 55
20: StackMap locals: java.lang.String int int int int int java.lang.String[] java.lang.String int int java.lang.String[] java.lang.String[]
StackMap stack:
aload 11
iconst_0
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
astore 12
start local 12 21: iconst_m1
istore 13
start local 13 22: aload 11
iconst_1
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 13
23: goto 30
StackMap locals: java.lang.String int int int int int java.lang.String[] java.lang.String int int java.lang.String[] java.lang.String[] java.lang.String int
StackMap stack: java.lang.NumberFormatException
24: pop
25: getstatic sun.security.util.SecurityProviderConstants.debug:Lsun/security/util/Debug;
ifnull 55
26: getstatic sun.security.util.SecurityProviderConstants.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "Ignoring invalid value in jdk.security.defaultKeySize property: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
27: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
28: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
29: goto 55
30: StackMap locals:
StackMap stack:
aload 12
ldc "DSA"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 33
31: iload 13
istore 1
32: goto 50
StackMap locals:
StackMap stack:
33: aload 12
ldc "RSA"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 36
34: iload 13
istore 2
35: goto 50
StackMap locals:
StackMap stack:
36: aload 12
ldc "RSASSA-PSS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 39
37: iload 13
istore 3
38: goto 50
StackMap locals:
StackMap stack:
39: aload 12
ldc "DH"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 42
40: iload 13
istore 4
41: goto 50
StackMap locals:
StackMap stack:
42: aload 12
ldc "EC"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 45
43: iload 13
istore 5
44: goto 50
45: StackMap locals:
StackMap stack:
getstatic sun.security.util.SecurityProviderConstants.debug:Lsun/security/util/Debug;
ifnull 55
46: getstatic sun.security.util.SecurityProviderConstants.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "Ignoring unsupported algo in jdk.security.defaultKeySize property: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
47: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
48: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
49: goto 55
50: StackMap locals:
StackMap stack:
getstatic sun.security.util.SecurityProviderConstants.debug:Lsun/security/util/Debug;
ifnull 55
51: getstatic sun.security.util.SecurityProviderConstants.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "Overriding default "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
52: ldc " keysize with value from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
53: ldc "jdk.security.defaultKeySize"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " property: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 13
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
54: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
end local 13 end local 12 end local 11 end local 7 55: StackMap locals: java.lang.String int int int int int java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
56: iload 8
iload 9
if_icmplt 12
end local 6 57: goto 63
StackMap locals: java.lang.String int int int int int
StackMap stack: java.util.regex.PatternSyntaxException
58: astore 6
start local 6 59: getstatic sun.security.util.SecurityProviderConstants.debug:Lsun/security/util/Debug;
ifnull 63
60: getstatic sun.security.util.SecurityProviderConstants.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "Unexpected exception while parsing jdk.security.defaultKeySize property: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
61: aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
62: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
end local 6 63: StackMap locals:
StackMap stack:
iload 1
putstatic sun.security.util.SecurityProviderConstants.DEF_DSA_KEY_SIZE:I
64: iload 2
putstatic sun.security.util.SecurityProviderConstants.DEF_RSA_KEY_SIZE:I
65: iload 3
putstatic sun.security.util.SecurityProviderConstants.DEF_RSASSA_PSS_KEY_SIZE:I
66: iload 4
putstatic sun.security.util.SecurityProviderConstants.DEF_DH_KEY_SIZE:I
67: iload 5
putstatic sun.security.util.SecurityProviderConstants.DEF_EC_KEY_SIZE:I
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 68: return
LocalVariableTable:
Start End Slot Name Signature
4 68 0 keyLengthStr Ljava/lang/String;
5 68 1 dsaKeySize I
6 68 2 rsaKeySize I
7 68 3 rsaSsaPssKeySize I
8 68 4 dhKeySize I
9 68 5 ecKeySize I
11 57 6 pairs [Ljava/lang/String;
13 55 7 p Ljava/lang/String;
14 55 11 algoAndValue [Ljava/lang/String;
21 55 12 algoName Ljava/lang/String;
22 55 13 value I
59 63 6 pse Ljava/util/regex/PatternSyntaxException;
Exception table:
from to target type
22 23 24 Class java.lang.NumberFormatException
10 57 58 Class java.util.regex.PatternSyntaxException
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/util/SecurityProviderConstants;
public static final int getDefDSASubprimeSize(int);
descriptor: (I)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
sipush 1024
if_icmpgt 2
1: sipush 160
ireturn
2: StackMap locals:
StackMap stack:
iload 0
sipush 2048
if_icmpne 4
3: sipush 224
ireturn
4: StackMap locals:
StackMap stack:
iload 0
sipush 3072
if_icmpne 6
5: sipush 256
ireturn
6: StackMap locals:
StackMap stack:
new java.security.InvalidParameterException
dup
new java.lang.StringBuilder
dup
ldc "Invalid DSA Prime Size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 primeSize I
MethodParameters:
Name Flags
primeSize
}
SourceFile: "SecurityProviderConstants.java"