public class javax.smartcardio.CardPermission extends java.security.Permission
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.smartcardio.CardPermission
super_class: java.security.Permission
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7146787880530705613
private static final int A_CONNECT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int A_EXCLUSIVE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int A_GET_BASIC_CHANNEL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int A_OPEN_LOGICAL_CHANNEL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int A_RESET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private static final int A_TRANSMIT_CONTROL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 32
private static final int A_ALL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 63
private static final int[] ARRAY_MASKS;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String S_CONNECT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "connect"
private static final java.lang.String S_EXCLUSIVE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "exclusive"
private static final java.lang.String S_GET_BASIC_CHANNEL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "getBasicChannel"
private static final java.lang.String S_OPEN_LOGICAL_CHANNEL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "openLogicalChannel"
private static final java.lang.String S_RESET;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "reset"
private static final java.lang.String S_TRANSMIT_CONTROL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "transmitControl"
private static final java.lang.String S_ALL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "*"
private static final java.lang.String[] ARRAY_STRINGS;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private transient int mask;
descriptor: I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private final java.lang.String actions;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 7
newarray 10
dup
iconst_0
1: bipush 63
iastore
dup
iconst_1
2: iconst_1
iastore
dup
iconst_2
3: iconst_2
iastore
dup
iconst_3
4: iconst_4
iastore
dup
iconst_4
5: bipush 8
iastore
dup
iconst_5
6: bipush 16
iastore
dup
bipush 6
7: bipush 32
iastore
8: putstatic javax.smartcardio.CardPermission.ARRAY_MASKS:[I
9: bipush 7
anewarray java.lang.String
dup
iconst_0
10: ldc "*"
aastore
dup
iconst_1
11: ldc "connect"
aastore
dup
iconst_2
12: ldc "exclusive"
aastore
dup
iconst_3
13: ldc "getBasicChannel"
aastore
dup
iconst_4
14: ldc "openLogicalChannel"
aastore
dup
iconst_5
15: ldc "reset"
aastore
dup
bipush 6
16: ldc "transmitControl"
aastore
17: putstatic javax.smartcardio.CardPermission.ARRAY_STRINGS:[Ljava/lang/String;
18: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.security.Permission.<init>:(Ljava/lang/String;)V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
3: StackMap locals: javax.smartcardio.CardPermission java.lang.String java.lang.String
StackMap stack:
aload 0
aload 2
invokestatic javax.smartcardio.CardPermission.getMask:(Ljava/lang/String;)I
putfield javax.smartcardio.CardPermission.mask:I
4: aload 0
aload 0
getfield javax.smartcardio.CardPermission.mask:I
invokestatic javax.smartcardio.CardPermission.getActions:(I)Ljava/lang/String;
putfield javax.smartcardio.CardPermission.actions:Ljava/lang/String;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/smartcardio/CardPermission;
0 6 1 terminalName Ljava/lang/String;
0 6 2 actions Ljava/lang/String;
MethodParameters:
Name Flags
terminalName
actions
private static int getMask(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
ifne 4
3: new java.lang.IllegalArgumentException
dup
ldc "actions must not be empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 5: goto 9
6: StackMap locals: int
StackMap stack:
aload 0
getstatic javax.smartcardio.CardPermission.ARRAY_STRINGS:[Ljava/lang/String;
iload 1
aaload
if_acmpne 8
7: getstatic javax.smartcardio.CardPermission.ARRAY_MASKS:[I
iload 1
iaload
ireturn
8: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
9: iload 1
getstatic javax.smartcardio.CardPermission.ARRAY_STRINGS:[Ljava/lang/String;
arraylength
if_icmplt 6
end local 1 10: aload 0
ldc ","
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 12
11: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid actions: '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 13: aload 0
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 14: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 25
StackMap locals: java.lang.String int java.lang.String[] top int int java.lang.String[]
StackMap stack:
15: aload 6
iload 4
aaload
astore 3
start local 3 16: iconst_0
istore 7
start local 7 17: goto 22
18: StackMap locals: java.lang.String int java.lang.String[] java.lang.String int int java.lang.String[] int
StackMap stack:
getstatic javax.smartcardio.CardPermission.ARRAY_STRINGS:[Ljava/lang/String;
iload 7
aaload
aload 3
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 21
19: iload 1
getstatic javax.smartcardio.CardPermission.ARRAY_MASKS:[I
iload 7
iaload
ior
istore 1
20: goto 24
21: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
22: iload 7
getstatic javax.smartcardio.CardPermission.ARRAY_STRINGS:[Ljava/lang/String;
arraylength
if_icmplt 18
end local 7 23: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid action: '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 24: StackMap locals: java.lang.String int java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
25: iload 4
iload 5
if_icmplt 15
26: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 actions Ljava/lang/String;
5 10 1 i I
13 27 1 mask I
14 27 2 split [Ljava/lang/String;
16 24 3 s Ljava/lang/String;
17 23 7 i I
MethodParameters:
Name Flags
actions
private static java.lang.String getActions(int);
descriptor: (I)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: iload 0
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
iload 0
bipush 63
if_icmpne 4
3: ldc "*"
areturn
4: StackMap locals:
StackMap stack:
new java.util.StringJoiner
dup
ldc ","
invokespecial java.util.StringJoiner.<init>:(Ljava/lang/CharSequence;)V
astore 1
start local 1 5: iconst_0
istore 2
start local 2 6: goto 11
7: StackMap locals: java.util.StringJoiner int
StackMap stack:
getstatic javax.smartcardio.CardPermission.ARRAY_MASKS:[I
iload 2
iaload
istore 3
start local 3 8: iload 0
iload 3
iand
iload 3
if_icmpne 10
9: aload 1
getstatic javax.smartcardio.CardPermission.ARRAY_STRINGS:[Ljava/lang/String;
iload 2
aaload
invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
pop
end local 3 10: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
getstatic javax.smartcardio.CardPermission.ARRAY_MASKS:[I
arraylength
if_icmplt 7
end local 2 12: aload 1
invokevirtual java.util.StringJoiner.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 mask I
5 13 1 sj Ljava/util/StringJoiner;
6 12 2 i I
8 10 3 action I
MethodParameters:
Name Flags
mask
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 javax.smartcardio.CardPermission.actions:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/smartcardio/CardPermission;
public boolean implies(java.security.Permission);
descriptor: (Ljava/security/Permission;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.smartcardio.CardPermission
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.smartcardio.CardPermission
astore 2
start local 2 3: aload 0
getfield javax.smartcardio.CardPermission.mask:I
aload 2
getfield javax.smartcardio.CardPermission.mask:I
iand
aload 2
getfield javax.smartcardio.CardPermission.mask:I
if_icmpeq 5
4: iconst_0
ireturn
5: StackMap locals: javax.smartcardio.CardPermission
StackMap stack:
aload 0
invokevirtual javax.smartcardio.CardPermission.getName:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
8: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 2
invokevirtual javax.smartcardio.CardPermission.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/smartcardio/CardPermission;
0 11 1 permission Ljava/security/Permission;
3 11 2 other Ljavax/smartcardio/CardPermission;
6 11 3 thisName Ljava/lang/String;
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 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof javax.smartcardio.CardPermission
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.smartcardio.CardPermission
astore 2
start local 2 5: aload 0
invokevirtual javax.smartcardio.CardPermission.getName:()Ljava/lang/String;
aload 2
invokevirtual javax.smartcardio.CardPermission.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
aload 0
getfield javax.smartcardio.CardPermission.mask:I
aload 2
getfield javax.smartcardio.CardPermission.mask:I
if_icmpne 6
iconst_1
ireturn
StackMap locals: javax.smartcardio.CardPermission
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 Ljavax/smartcardio/CardPermission;
0 7 1 obj Ljava/lang/Object;
5 7 2 other Ljavax/smartcardio/CardPermission;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.smartcardio.CardPermission.getName:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
bipush 31
aload 0
getfield javax.smartcardio.CardPermission.mask:I
imul
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/smartcardio/CardPermission;
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/smartcardio/CardPermission;
0 2 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
aload 0
getfield javax.smartcardio.CardPermission.actions:Ljava/lang/String;
invokestatic javax.smartcardio.CardPermission.getMask:(Ljava/lang/String;)I
putfield javax.smartcardio.CardPermission.mask:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/smartcardio/CardPermission;
0 3 1 s Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
}
SourceFile: "CardPermission.java"