public class org.bouncycastle.jce.ProviderConfigurationPermission extends java.security.BasicPermission
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.ProviderConfigurationPermission
super_class: java.security.BasicPermission
{
private static final int THREAD_LOCAL_EC_IMPLICITLY_CA;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int EC_IMPLICITLY_CA;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int ALL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final java.lang.String THREAD_LOCAL_EC_IMPLICITLY_CA_STR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "threadlocalecimplicitlyca"
private static final java.lang.String EC_IMPLICITLY_CA_STR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "ecimplicitlyca"
private static final java.lang.String ALL_STR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "all"
private final java.lang.String actions;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int permissionMask;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.security.BasicPermission.<init>:(Ljava/lang/String;)V
1: aload 0
ldc "all"
putfield org.bouncycastle.jce.ProviderConfigurationPermission.actions:Ljava/lang/String;
2: aload 0
iconst_3
putfield org.bouncycastle.jce.ProviderConfigurationPermission.permissionMask:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/jce/ProviderConfigurationPermission;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial java.security.BasicPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 2
putfield org.bouncycastle.jce.ProviderConfigurationPermission.actions:Ljava/lang/String;
2: aload 0
aload 0
aload 2
invokevirtual org.bouncycastle.jce.ProviderConfigurationPermission.calculateMask:(Ljava/lang/String;)I
putfield org.bouncycastle.jce.ProviderConfigurationPermission.permissionMask:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/jce/ProviderConfigurationPermission;
0 4 1 name Ljava/lang/String;
0 4 2 actions Ljava/lang/String;
MethodParameters:
Name Flags
name
actions
private int calculateMask(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.util.StringTokenizer
dup
aload 1
invokestatic org.bouncycastle.util.Strings.toLowerCase:(Ljava/lang/String;)Ljava/lang/String;
ldc " ,"
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 12
3: StackMap locals: java.util.StringTokenizer int
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 4
start local 4 4: aload 4
ldc "threadlocalecimplicitlyca"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: iload 3
iconst_1
ior
istore 3
6: goto 12
7: StackMap locals: java.lang.String
StackMap stack:
aload 4
ldc "ecimplicitlyca"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: iload 3
iconst_2
ior
istore 3
9: goto 12
10: StackMap locals:
StackMap stack:
aload 4
ldc "all"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: iload 3
iconst_3
ior
istore 3
end local 4 12: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
13: iload 3
ifne 15
14: new java.lang.IllegalArgumentException
dup
ldc "unknown permissions passed to mask"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/bouncycastle/jce/ProviderConfigurationPermission;
0 16 1 actions Ljava/lang/String;
1 16 2 tok Ljava/util/StringTokenizer;
2 16 3 mask I
4 12 4 s Ljava/lang/String;
MethodParameters:
Name Flags
actions
public java.lang.String getActions();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.ProviderConfigurationPermission.actions:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/ProviderConfigurationPermission;
public boolean implies(java.security.Permission);
descriptor: (Ljava/security/Permission;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.jce.ProviderConfigurationPermission
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.jce.ProviderConfigurationPermission.getName:()Ljava/lang/String;
aload 1
invokevirtual java.security.Permission.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.jce.ProviderConfigurationPermission
astore 2
start local 2 5: aload 0
getfield org.bouncycastle.jce.ProviderConfigurationPermission.permissionMask:I
aload 2
getfield org.bouncycastle.jce.ProviderConfigurationPermission.permissionMask:I
iand
aload 2
getfield org.bouncycastle.jce.ProviderConfigurationPermission.permissionMask:I
if_icmpne 6
iconst_1
ireturn
StackMap locals: org.bouncycastle.jce.ProviderConfigurationPermission
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/jce/ProviderConfigurationPermission;
0 7 1 permission Ljava/security/Permission;
5 7 2 other Lorg/bouncycastle/jce/ProviderConfigurationPermission;
MethodParameters:
Name Flags
permission
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.jce.ProviderConfigurationPermission
ifeq 6
3: aload 1
checkcast org.bouncycastle.jce.ProviderConfigurationPermission
astore 2
start local 2 4: aload 0
getfield org.bouncycastle.jce.ProviderConfigurationPermission.permissionMask:I
aload 2
getfield org.bouncycastle.jce.ProviderConfigurationPermission.permissionMask:I
if_icmpne 5
aload 0
invokevirtual org.bouncycastle.jce.ProviderConfigurationPermission.getName:()Ljava/lang/String;
aload 2
invokevirtual org.bouncycastle.jce.ProviderConfigurationPermission.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
iconst_1
ireturn
StackMap locals: org.bouncycastle.jce.ProviderConfigurationPermission
StackMap stack:
5: iconst_0
ireturn
end local 2 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/jce/ProviderConfigurationPermission;
0 7 1 obj Ljava/lang/Object;
4 6 2 other Lorg/bouncycastle/jce/ProviderConfigurationPermission;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.jce.ProviderConfigurationPermission.getName:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
aload 0
getfield org.bouncycastle.jce.ProviderConfigurationPermission.permissionMask:I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/ProviderConfigurationPermission;
}
SourceFile: "ProviderConfigurationPermission.java"