final class javax.crypto.CryptoPermissions extends java.security.PermissionCollection implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: javax.crypto.CryptoPermissions
super_class: java.security.PermissionCollection
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4946547168093391015
private static final java.io.ObjectStreamField[] serialPersistentFields;
descriptor: [Ljava/io/ObjectStreamField;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private transient java.util.concurrent.ConcurrentHashMap<java.lang.String, java.security.PermissionCollection> perms;
descriptor: Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/String;Ljava/security/PermissionCollection;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: iconst_1
anewarray java.io.ObjectStreamField
dup
iconst_0
1: new java.io.ObjectStreamField
dup
ldc "perms"
ldc Ljava/util/Hashtable;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
2: putstatic javax.crypto.CryptoPermissions.serialPersistentFields:[Ljava/io/ObjectStreamField;
3: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.security.PermissionCollection.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
bipush 7
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
putfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/crypto/CryptoPermissions;
void load(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0000)
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: new javax.crypto.CryptoPolicyParser
dup
invokespecial javax.crypto.CryptoPolicyParser.<init>:()V
astore 2
start local 2 1: aload 2
new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 1
ldc "UTF-8"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
invokevirtual javax.crypto.CryptoPolicyParser.read:(Ljava/io/Reader;)V
2: aload 2
invokevirtual javax.crypto.CryptoPolicyParser.getPermissions:()[Ljavax/crypto/CryptoPermission;
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 7
5: StackMap locals: javax.crypto.CryptoPolicyParser javax.crypto.CryptoPermission[] int
StackMap stack:
aload 0
aload 3
iload 4
aaload
invokevirtual javax.crypto.CryptoPermissions.add:(Ljava/security/Permission;)V
6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
aload 3
arraylength
if_icmplt 5
end local 4 8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/crypto/CryptoPermissions;
0 9 1 in Ljava/io/InputStream;
1 9 2 parser Ljavax/crypto/CryptoPolicyParser;
3 9 3 parsingResult [Ljavax/crypto/CryptoPermission;
4 8 4 i I
Exceptions:
throws java.io.IOException, javax.crypto.CryptoPolicyParser$ParsingException
MethodParameters:
Name Flags
in
boolean isEmpty();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CryptoPermissions;
public void add(java.security.Permission);
descriptor: (Ljava/security/Permission;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.crypto.CryptoPermissions.isReadOnly:()Z
ifeq 2
1: new java.lang.SecurityException
dup
ldc "Attempt to add a Permission to a readonly CryptoPermissions object"
invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
instanceof javax.crypto.CryptoPermission
ifne 4
3: return
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.crypto.CryptoPermission
astore 2
start local 2 5: aload 0
aload 2
invokevirtual javax.crypto.CryptoPermissions.getPermissionCollection:(Ljavax/crypto/CryptoPermission;)Ljava/security/PermissionCollection;
6: astore 3
start local 3 7: aload 3
aload 2
invokevirtual java.security.PermissionCollection.add:(Ljava/security/Permission;)V
8: aload 2
invokevirtual javax.crypto.CryptoPermission.getAlgorithm:()Ljava/lang/String;
astore 4
start local 4 9: aload 0
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
aload 4
aload 3
invokevirtual java.util.concurrent.ConcurrentHashMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/crypto/CryptoPermissions;
0 11 1 permission Ljava/security/Permission;
5 11 2 cryptoPerm Ljavax/crypto/CryptoPermission;
7 11 3 pc Ljava/security/PermissionCollection;
9 11 4 alg Ljava/lang/String;
MethodParameters:
Name Flags
permission
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.crypto.CryptoPermission
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.crypto.CryptoPermission
astore 2
start local 2 3: aload 0
aload 2
invokevirtual javax.crypto.CryptoPermission.getAlgorithm:()Ljava/lang/String;
invokevirtual javax.crypto.CryptoPermissions.getPermissionCollection:(Ljava/lang/String;)Ljava/security/PermissionCollection;
4: astore 3
start local 3 5: aload 3
ifnull 7
6: aload 3
aload 2
invokevirtual java.security.PermissionCollection.implies:(Ljava/security/Permission;)Z
ireturn
7: StackMap locals: javax.crypto.CryptoPermission java.security.PermissionCollection
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/crypto/CryptoPermissions;
0 8 1 permission Ljava/security/Permission;
3 8 2 cryptoPerm Ljavax/crypto/CryptoPermission;
5 8 3 pc Ljava/security/PermissionCollection;
MethodParameters:
Name Flags
permission
public java.util.Enumeration<java.security.Permission> elements();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new javax.crypto.PermissionsEnumerator
dup
aload 0
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.elements:()Ljava/util/Enumeration;
invokespecial javax.crypto.PermissionsEnumerator.<init>:(Ljava/util/Enumeration;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CryptoPermissions;
Signature: ()Ljava/util/Enumeration<Ljava/security/Permission;>;
javax.crypto.CryptoPermissions getMinimum(javax.crypto.CryptoPermissions);
descriptor: (Ljavax/crypto/CryptoPermissions;)Ljavax/crypto/CryptoPermissions;
flags: (0x0000)
Code:
stack=3, locals=12, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
ldc "CryptoAllPermission"
invokevirtual java.util.concurrent.ConcurrentHashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 4
3: aload 1
areturn
4: StackMap locals:
StackMap stack:
aload 1
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
ldc "CryptoAllPermission"
invokevirtual java.util.concurrent.ConcurrentHashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 6
5: aload 0
areturn
6: StackMap locals:
StackMap stack:
new javax.crypto.CryptoPermissions
dup
invokespecial javax.crypto.CryptoPermissions.<init>:()V
astore 2
start local 2 7: aload 1
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
ldc "*"
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.PermissionCollection
8: astore 3
start local 3 9: iconst_0
istore 4
start local 4 10: aload 3
ifnull 13
11: aload 3
invokevirtual java.security.PermissionCollection.elements:()Ljava/util/Enumeration;
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast javax.crypto.CryptoPermission
invokevirtual javax.crypto.CryptoPermission.getMaxKeySize:()I
12: istore 4
13: StackMap locals: javax.crypto.CryptoPermissions java.security.PermissionCollection int
StackMap stack:
aload 0
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.keys:()Ljava/util/Enumeration;
astore 5
start local 5 14: goto 29
15: StackMap locals: java.util.Enumeration
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 16: aload 0
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
aload 6
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.PermissionCollection
astore 7
start local 7 17: aload 1
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
aload 6
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.PermissionCollection
astore 8
start local 8 18: aload 8
ifnonnull 23
19: aload 3
ifnonnull 21
20: goto 29
21: StackMap locals: java.lang.String java.security.PermissionCollection java.security.PermissionCollection
StackMap stack:
aload 0
iload 4
aload 7
invokevirtual javax.crypto.CryptoPermissions.getMinimum:(ILjava/security/PermissionCollection;)[Ljavax/crypto/CryptoPermission;
astore 9
start local 9 22: goto 24
end local 9 23: StackMap locals:
StackMap stack:
aload 0
aload 7
aload 8
invokevirtual javax.crypto.CryptoPermissions.getMinimum:(Ljava/security/PermissionCollection;Ljava/security/PermissionCollection;)[Ljavax/crypto/CryptoPermission;
astore 9
start local 9 24: StackMap locals: javax.crypto.CryptoPermission[]
StackMap stack:
iconst_0
istore 10
start local 10 25: goto 28
26: StackMap locals: int
StackMap stack:
aload 2
aload 9
iload 10
aaload
invokevirtual javax.crypto.CryptoPermissions.add:(Ljava/security/Permission;)V
27: iinc 10 1
StackMap locals:
StackMap stack:
28: iload 10
aload 9
arraylength
if_icmplt 26
end local 10 end local 9 end local 8 end local 7 end local 6 29: StackMap locals: javax.crypto.CryptoPermissions javax.crypto.CryptoPermissions javax.crypto.CryptoPermissions java.security.PermissionCollection int java.util.Enumeration
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 15
30: aload 0
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
ldc "*"
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.PermissionCollection
31: astore 6
start local 6 32: aload 6
ifnonnull 34
33: aload 2
areturn
34: StackMap locals: java.security.PermissionCollection
StackMap stack:
aload 6
invokevirtual java.security.PermissionCollection.elements:()Ljava/util/Enumeration;
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast javax.crypto.CryptoPermission
invokevirtual javax.crypto.CryptoPermission.getMaxKeySize:()I
35: istore 4
36: aload 1
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.keys:()Ljava/util/Enumeration;
astore 7
start local 7 37: goto 48
38: StackMap locals: java.util.Enumeration
StackMap stack:
aload 7
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 39: aload 0
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
aload 8
invokevirtual java.util.concurrent.ConcurrentHashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 41
40: goto 48
41: StackMap locals: java.lang.String
StackMap stack:
aload 1
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
aload 8
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.PermissionCollection
astore 9
start local 9 42: aload 0
iload 4
aload 9
invokevirtual javax.crypto.CryptoPermissions.getMinimum:(ILjava/security/PermissionCollection;)[Ljavax/crypto/CryptoPermission;
astore 10
start local 10 43: iconst_0
istore 11
start local 11 44: goto 47
45: StackMap locals: java.security.PermissionCollection javax.crypto.CryptoPermission[] int
StackMap stack:
aload 2
aload 10
iload 11
aaload
invokevirtual javax.crypto.CryptoPermissions.add:(Ljava/security/Permission;)V
46: iinc 11 1
StackMap locals:
StackMap stack:
47: iload 11
aload 10
arraylength
if_icmplt 45
end local 11 end local 10 end local 9 end local 8 48: StackMap locals: javax.crypto.CryptoPermissions javax.crypto.CryptoPermissions javax.crypto.CryptoPermissions java.security.PermissionCollection int java.util.Enumeration java.security.PermissionCollection java.util.Enumeration
StackMap stack:
aload 7
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 38
49: aload 2
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Ljavax/crypto/CryptoPermissions;
0 50 1 other Ljavax/crypto/CryptoPermissions;
7 50 2 ret Ljavax/crypto/CryptoPermissions;
9 50 3 thatWildcard Ljava/security/PermissionCollection;
10 50 4 maxKeySize I
14 50 5 thisKeys Ljava/util/Enumeration<Ljava/lang/String;>;
16 29 6 alg Ljava/lang/String;
17 29 7 thisPc Ljava/security/PermissionCollection;
18 29 8 thatPc Ljava/security/PermissionCollection;
22 23 9 partialResult [Ljavax/crypto/CryptoPermission;
24 29 9 partialResult [Ljavax/crypto/CryptoPermission;
25 29 10 i I
32 50 6 thisWildcard Ljava/security/PermissionCollection;
37 50 7 thatKeys Ljava/util/Enumeration<Ljava/lang/String;>;
39 48 8 alg Ljava/lang/String;
42 48 9 thatPc Ljava/security/PermissionCollection;
43 48 10 partialResult [Ljavax/crypto/CryptoPermission;
44 48 11 i I
MethodParameters:
Name Flags
other
private javax.crypto.CryptoPermission[] getMinimum(java.security.PermissionCollection, java.security.PermissionCollection);
descriptor: (Ljava/security/PermissionCollection;Ljava/security/PermissionCollection;)[Ljavax/crypto/CryptoPermission;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new java.util.Vector
dup
iconst_2
invokespecial java.util.Vector.<init>:(I)V
astore 3
start local 3 1: aload 1
invokevirtual java.security.PermissionCollection.elements:()Ljava/util/Enumeration;
astore 4
start local 4 2: goto 15
3: StackMap locals: java.util.Vector java.util.Enumeration
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast javax.crypto.CryptoPermission
4: astore 5
start local 5 5: aload 2
invokevirtual java.security.PermissionCollection.elements:()Ljava/util/Enumeration;
astore 6
start local 6 6: goto 14
7: StackMap locals: javax.crypto.CryptoPermission java.util.Enumeration
StackMap stack:
aload 6
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast javax.crypto.CryptoPermission
8: astore 7
start local 7 9: aload 7
aload 5
invokevirtual javax.crypto.CryptoPermission.implies:(Ljava/security/Permission;)Z
ifeq 12
10: aload 3
aload 5
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
11: goto 15
12: StackMap locals: javax.crypto.CryptoPermission
StackMap stack:
aload 5
aload 7
invokevirtual javax.crypto.CryptoPermission.implies:(Ljava/security/Permission;)Z
ifeq 14
13: aload 3
aload 7
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 7 14: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 7
end local 6 end local 5 15: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
16: aload 3
invokevirtual java.util.Vector.size:()I
anewarray javax.crypto.CryptoPermission
astore 5
start local 5 17: aload 3
aload 5
invokevirtual java.util.Vector.copyInto:([Ljava/lang/Object;)V
18: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/crypto/CryptoPermissions;
0 19 1 thisPc Ljava/security/PermissionCollection;
0 19 2 thatPc Ljava/security/PermissionCollection;
1 19 3 permVector Ljava/util/Vector<Ljavax/crypto/CryptoPermission;>;
2 19 4 thisPcPermissions Ljava/util/Enumeration<Ljava/security/Permission;>;
5 15 5 thisCp Ljavax/crypto/CryptoPermission;
6 15 6 thatPcPermissions Ljava/util/Enumeration<Ljava/security/Permission;>;
9 14 7 thatCp Ljavax/crypto/CryptoPermission;
17 19 5 ret [Ljavax/crypto/CryptoPermission;
MethodParameters:
Name Flags
thisPc
thatPc
private javax.crypto.CryptoPermission[] getMinimum(int, java.security.PermissionCollection);
descriptor: (ILjava/security/PermissionCollection;)[Ljavax/crypto/CryptoPermission;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.util.Vector
dup
iconst_1
invokespecial java.util.Vector.<init>:(I)V
astore 3
start local 3 1: aload 2
invokevirtual java.security.PermissionCollection.elements:()Ljava/util/Enumeration;
astore 4
start local 4 2: goto 23
3: StackMap locals: java.util.Vector java.util.Enumeration
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast javax.crypto.CryptoPermission
4: astore 5
start local 5 5: aload 5
invokevirtual javax.crypto.CryptoPermission.getMaxKeySize:()I
iload 1
if_icmpgt 8
6: aload 3
aload 5
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
7: goto 23
8: StackMap locals: javax.crypto.CryptoPermission
StackMap stack:
aload 5
invokevirtual javax.crypto.CryptoPermission.getCheckParam:()Z
ifeq 17
9: aload 3
10: new javax.crypto.CryptoPermission
dup
aload 5
invokevirtual javax.crypto.CryptoPermission.getAlgorithm:()Ljava/lang/String;
11: iload 1
12: aload 5
invokevirtual javax.crypto.CryptoPermission.getAlgorithmParameterSpec:()Ljava/security/spec/AlgorithmParameterSpec;
13: aload 5
invokevirtual javax.crypto.CryptoPermission.getExemptionMechanism:()Ljava/lang/String;
14: invokespecial javax.crypto.CryptoPermission.<init>:(Ljava/lang/String;ILjava/security/spec/AlgorithmParameterSpec;Ljava/lang/String;)V
15: invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
16: goto 23
17: StackMap locals:
StackMap stack:
aload 3
18: new javax.crypto.CryptoPermission
dup
aload 5
invokevirtual javax.crypto.CryptoPermission.getAlgorithm:()Ljava/lang/String;
19: iload 1
20: aload 5
invokevirtual javax.crypto.CryptoPermission.getExemptionMechanism:()Ljava/lang/String;
21: invokespecial javax.crypto.CryptoPermission.<init>:(Ljava/lang/String;ILjava/lang/String;)V
22: invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 5 23: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
24: aload 3
invokevirtual java.util.Vector.size:()I
anewarray javax.crypto.CryptoPermission
astore 5
start local 5 25: aload 3
aload 5
invokevirtual java.util.Vector.copyInto:([Ljava/lang/Object;)V
26: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/crypto/CryptoPermissions;
0 27 1 maxKeySize I
0 27 2 pc Ljava/security/PermissionCollection;
1 27 3 permVector Ljava/util/Vector<Ljavax/crypto/CryptoPermission;>;
2 27 4 enum_ Ljava/util/Enumeration<Ljava/security/Permission;>;
5 23 5 cp Ljavax/crypto/CryptoPermission;
25 27 5 ret [Ljavax/crypto/CryptoPermission;
MethodParameters:
Name Flags
maxKeySize
pc
java.security.PermissionCollection getPermissionCollection(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/security/PermissionCollection;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
ldc "CryptoAllPermission"
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.PermissionCollection
astore 2
start local 2 1: aload 2
ifnonnull 5
2: aload 0
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.PermissionCollection
astore 2
3: aload 2
ifnonnull 5
4: aload 0
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
ldc "*"
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.PermissionCollection
astore 2
5: StackMap locals: java.security.PermissionCollection
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/CryptoPermissions;
0 6 1 alg Ljava/lang/String;
1 6 2 pc Ljava/security/PermissionCollection;
MethodParameters:
Name Flags
alg
private java.security.PermissionCollection getPermissionCollection(javax.crypto.CryptoPermission);
descriptor: (Ljavax/crypto/CryptoPermission;)Ljava/security/PermissionCollection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.crypto.CryptoPermission.getAlgorithm:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
aload 2
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.PermissionCollection
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aload 1
invokevirtual javax.crypto.CryptoPermission.newPermissionCollection:()Ljava/security/PermissionCollection;
astore 3
4: StackMap locals: java.lang.String java.security.PermissionCollection
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/crypto/CryptoPermissions;
0 5 1 cryptoPerm Ljavax/crypto/CryptoPermission;
1 5 2 alg Ljava/lang/String;
2 5 3 pc Ljava/security/PermissionCollection;
MethodParameters:
Name Flags
cryptoPerm
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.readFields:()Ljava/io/ObjectInputStream$GetField;
astore 2
start local 2 1: aload 2
ldc "perms"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
2: checkcast java.util.Hashtable
3: astore 3
start local 3 4: aload 3
ifnull 7
5: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
aload 3
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(Ljava/util/Map;)V
putfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
6: goto 8
7: StackMap locals: java.io.ObjectInputStream$GetField java.util.Hashtable
StackMap stack:
aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/crypto/CryptoPermissions;
0 9 1 s Ljava/io/ObjectInputStream;
1 9 2 fields Ljava/io/ObjectInputStream$GetField;
4 9 3 permTable Ljava/util/Hashtable<Ljava/lang/String;Ljava/security/PermissionCollection;>;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new java.util.Hashtable
dup
aload 0
getfield javax.crypto.CryptoPermissions.perms:Ljava/util/concurrent/ConcurrentHashMap;
invokespecial java.util.Hashtable.<init>:(Ljava/util/Map;)V
1: astore 2
start local 2 2: aload 1
invokevirtual java.io.ObjectOutputStream.putFields:()Ljava/io/ObjectOutputStream$PutField;
astore 3
start local 3 3: aload 3
ldc "perms"
aload 2
invokevirtual java.io.ObjectOutputStream$PutField.put:(Ljava/lang/String;Ljava/lang/Object;)V
4: aload 1
invokevirtual java.io.ObjectOutputStream.writeFields:()V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/CryptoPermissions;
0 6 1 s Ljava/io/ObjectOutputStream;
2 6 2 permTable Ljava/util/Hashtable<Ljava/lang/String;Ljava/security/PermissionCollection;>;
3 6 3 fields Ljava/io/ObjectOutputStream$PutField;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
}
SourceFile: "CryptoPermissions.java"
InnerClasses:
public abstract GetField = java.io.ObjectInputStream$GetField of java.io.ObjectInputStream
public abstract PutField = java.io.ObjectOutputStream$PutField of java.io.ObjectOutputStream
final ParsingException = javax.crypto.CryptoPolicyParser$ParsingException of javax.crypto.CryptoPolicyParser