|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.Permission
java.security.BasicPermission
org.dvb.security.provider.ProviderPermission
This class represents a Permission to install and remove cryptographic service providers. Two target names are defined for this permission, insertProvider.{provider name} and removeProvider.{provider name}.
Constructor Summary | |
ProviderPermission(java.lang.String name)
Creates a new ProviderPermission. |
|
ProviderPermission(java.lang.String name,
java.lang.String actions)
Creates a new ProviderPermission. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks for equality against this ProviderPermission object. |
int |
hashCode()
Returns the hash code value for this object. |
boolean |
implies(java.security.Permission permission)
Checks if this ProviderPermission object "implies" the specified permission. |
Methods inherited from class java.security.BasicPermission |
getActions, 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 |
public ProviderPermission(java.lang.String name)
public ProviderPermission(java.lang.String name, java.lang.String actions)
name
- the target name of the permissionactions
- the actions stringMethod Detail |
public boolean implies(java.security.Permission permission)
permission
- the specified permission to check.
public boolean equals(java.lang.Object obj)
obj
- the object to test for equality with this ProviderPermission object.
public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |