The RegistryPermission Class contains the following methods:
check determines whether the specified registry operation is allowed by the permission object.
combine creates and returns a new RegistryPermission object that is a combination of the current permission object and the specified permission object.
compareSet compares the RegistryPermission instance with a specified permission object.
copy retrieves a copy of the RegistryPermission object.
decode decodes the contents of the specified data stream into this permission object.
encode encodes the contents of this permission object and sends the encoded data to the specified stream.
excludeRule adds a rule that explicitly denies the specified access type to the registry keys or values specified by the pattern string.
getExcludedRules returns the wildcard expression representing all the keys or values that are explicitly denied for the specified access type.
getIncludedRules retrieves the wildcard expression that represents all the keys or values that are allowed for the specified access type.
includeRule adds a rule that allows the specified access types to the registry keys/values specified by the pattern string.
mapFormat retrieves a permission-specific tag, given an encoding format.
reset resets the permission state to empty.
supportedFormats retrieves the encoding formats that the permission type supports.
toString retrieves a textual representation of the permission object.