public class org.bouncycastle.util.Properties
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.util.Properties
super_class: java.lang.Object
{
private static final java.lang.ThreadLocal threadProperties;
descriptor: Ljava/lang/ThreadLocal;
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: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic org.bouncycastle.util.Properties.threadProperties:Ljava/lang/ThreadLocal;
return
LocalVariableTable:
Start End Slot Name Signature
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 Lorg/bouncycastle/util/Properties;
public static boolean isOverrideSet(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.bouncycastle.util.Properties.fetchProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 4
2: ldc "true"
aload 1
invokestatic org.bouncycastle.util.Strings.toLowerCase:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
3: ireturn
4: StackMap locals: java.lang.String
StackMap stack:
iconst_0
ireturn
end local 1 5: StackMap locals: java.lang.String
StackMap stack: java.security.AccessControlException
pop
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 propertyName Ljava/lang/String;
1 5 1 p Ljava/lang/String;
Exception table:
from to target type
0 3 5 Class java.security.AccessControlException
MethodParameters:
Name Flags
propertyName
public static boolean setThreadOverride(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.bouncycastle.util.Properties.isOverrideSet:(Ljava/lang/String;)Z
istore 2
start local 2 1: getstatic org.bouncycastle.util.Properties.threadProperties:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Map
astore 3
start local 3 2: aload 3
ifnonnull 4
3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
4: StackMap locals: int java.util.Map
StackMap stack:
aload 3
aload 0
iload 1
ifeq 5
ldc "true"
goto 6
StackMap locals: java.lang.String int int java.util.Map
StackMap stack: java.util.Map java.lang.String
5: ldc "false"
StackMap locals: java.lang.String int int java.util.Map
StackMap stack: java.util.Map java.lang.String java.lang.String
6: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: getstatic org.bouncycastle.util.Properties.threadProperties:Ljava/lang/ThreadLocal;
aload 3
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
8: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 propertyName Ljava/lang/String;
0 9 1 enable Z
1 9 2 isSet Z
2 9 3 localProps Ljava/util/Map;
MethodParameters:
Name Flags
propertyName
enable
public static boolean removeThreadOverride(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokestatic org.bouncycastle.util.Properties.isOverrideSet:(Ljava/lang/String;)Z
istore 1
start local 1 1: getstatic org.bouncycastle.util.Properties.threadProperties:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Map
astore 2
start local 2 2: aload 2
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals: int java.util.Map
StackMap stack:
aload 2
aload 0
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 2
invokeinterface java.util.Map.isEmpty:()Z
ifeq 8
6: getstatic org.bouncycastle.util.Properties.threadProperties:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.remove:()V
7: goto 9
8: StackMap locals:
StackMap stack:
getstatic org.bouncycastle.util.Properties.threadProperties:Ljava/lang/ThreadLocal;
aload 2
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 propertyName Ljava/lang/String;
1 10 1 isSet Z
2 10 2 localProps Ljava/util/Map;
MethodParameters:
Name Flags
propertyName
public static java.math.BigInteger asBigInteger(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/math/BigInteger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.bouncycastle.util.Properties.fetchProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 3
2: new java.math.BigInteger
dup
aload 1
invokespecial java.math.BigInteger.<init>:(Ljava/lang/String;)V
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 propertyName Ljava/lang/String;
1 4 1 p Ljava/lang/String;
MethodParameters:
Name Flags
propertyName
public static java.util.Set<java.lang.String> asKeySet(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, 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
invokestatic org.bouncycastle.util.Properties.fetchProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 7
3: new java.util.StringTokenizer
dup
aload 2
ldc ","
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 4: goto 6
5: StackMap locals: java.util.Set java.lang.String java.util.StringTokenizer
StackMap stack:
aload 1
aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokestatic org.bouncycastle.util.Strings.toLowerCase:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.StringTokenizer.hasMoreElements:()Z
ifne 5
end local 3 7: StackMap locals:
StackMap stack:
aload 1
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 propertyName Ljava/lang/String;
1 8 1 set Ljava/util/Set<Ljava/lang/String;>;
2 8 2 p Ljava/lang/String;
4 7 3 sTok Ljava/util/StringTokenizer;
Signature: (Ljava/lang/String;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
propertyName
private static java.lang.String fetchProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bouncycastle.util.Properties$1
dup
aload 0
invokespecial org.bouncycastle.util.Properties$1.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
propertyName final
}
SourceFile: "Properties.java"
NestMembers:
org.bouncycastle.util.Properties$1
InnerClasses:
org.bouncycastle.util.Properties$1