codec.asn1
Class ASN1Permission

java.lang.Object
  |
  +--java.security.Permission
        |
        +--java.security.BasicPermission
              |
              +--codec.asn1.ASN1Permission
All Implemented Interfaces:
Guard, Serializable

public class ASN1Permission
extends BasicPermission

This permission is for controlling access to functionality of the ASN.1 package. In particular, registering and unregistering ASN.1 Object Identifier Registries is protected using this permission. Malicious code may not access the global OIDRegistries, nor register new ones or remove registered ones.

This permission is a simple named permission. The names distinguished are:

Version:
"$Id: ASN1Permission.java,v 1.2 2000/12/06 17:47:25 vroth Exp $"
Author:
Volker Roth
See Also:
Serialized Form

Constructor Summary
ASN1Permission(String name)
          Creates an instance with the given name and actions list.
ASN1Permission(String name, String actions)
          Creates an instance with the given name and actions list.
 
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
 
Methods inherited from class java.security.Permission
checkGuard, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASN1Permission

public ASN1Permission(String name,
                      String actions)
Creates an instance with the given name and actions list.
Parameters:
name - The name of the permission.
actions - The actions (not used).

ASN1Permission

public ASN1Permission(String name)
Creates an instance with the given name and actions list.
Parameters:
name - The name of the permission.


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.