final class javax.crypto.CryptoPermissionCollection 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.CryptoPermissionCollection
super_class: java.security.PermissionCollection
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -511215555898802763
private java.util.Vector<java.security.Permission> permissions;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Ljava/security/Permission;>;
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.Vector
dup
iconst_3
invokespecial java.util.Vector.<init>:(I)V
putfield javax.crypto.CryptoPermissionCollection.permissions:Ljava/util/Vector;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/crypto/CryptoPermissionCollection;
public void add(java.security.Permission);
descriptor: (Ljava/security/Permission;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.crypto.CryptoPermissionCollection.isReadOnly:()Z
ifeq 2
1: new java.lang.SecurityException
dup
ldc "attempt to add a Permission to a readonly PermissionCollection"
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 0
getfield javax.crypto.CryptoPermissionCollection.permissions:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/CryptoPermissionCollection;
0 6 1 permission Ljava/security/Permission;
MethodParameters:
Name Flags
permission
public boolean implies(java.security.Permission);
descriptor: (Ljava/security/Permission;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, 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
getfield javax.crypto.CryptoPermissionCollection.permissions:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
astore 3
start local 3 4: goto 8
5: StackMap locals: javax.crypto.CryptoPermission java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast javax.crypto.CryptoPermission
astore 4
start local 4 6: aload 4
aload 2
invokevirtual javax.crypto.CryptoPermission.implies:(Ljava/security/Permission;)Z
ifeq 8
7: iconst_1
ireturn
end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
9: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/crypto/CryptoPermissionCollection;
0 10 1 permission Ljava/security/Permission;
3 10 2 cp Ljavax/crypto/CryptoPermission;
4 10 3 e Ljava/util/Enumeration<Ljava/security/Permission;>;
6 8 4 x Ljavax/crypto/CryptoPermission;
MethodParameters:
Name Flags
permission
public java.util.Enumeration<java.security.Permission> elements();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.CryptoPermissionCollection.permissions:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CryptoPermissionCollection;
Signature: ()Ljava/util/Enumeration<Ljava/security/Permission;>;
}
SourceFile: "CryptoPermission.java"