final class javax.crypto.CryptoAllPermissionCollection 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.CryptoAllPermissionCollection
super_class: java.security.PermissionCollection
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7450076868380144072
private boolean all_allowed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.security.PermissionCollection.<init>:()V
1: aload 0
iconst_0
putfield javax.crypto.CryptoAllPermissionCollection.all_allowed:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/crypto/CryptoAllPermissionCollection;
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.CryptoAllPermissionCollection.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
getstatic javax.crypto.CryptoAllPermission.INSTANCE:Ljavax/crypto/CryptoAllPermission;
if_acmpeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield javax.crypto.CryptoAllPermissionCollection.all_allowed:Z
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/CryptoAllPermissionCollection;
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=1, locals=2, 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 0
getfield javax.crypto.CryptoAllPermissionCollection.all_allowed:Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/crypto/CryptoAllPermissionCollection;
0 3 1 permission Ljava/security/Permission;
MethodParameters:
Name Flags
permission
public java.util.Enumeration<java.security.Permission> elements();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.Vector
dup
iconst_1
invokespecial java.util.Vector.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield javax.crypto.CryptoAllPermissionCollection.all_allowed:Z
ifeq 2
aload 1
getstatic javax.crypto.CryptoAllPermission.INSTANCE:Ljavax/crypto/CryptoAllPermission;
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals: java.util.Vector
StackMap stack:
aload 1
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/crypto/CryptoAllPermissionCollection;
1 3 1 v Ljava/util/Vector<Ljava/security/Permission;>;
Signature: ()Ljava/util/Enumeration<Ljava/security/Permission;>;
}
SourceFile: "CryptoAllPermission.java"