The SecurityPermission Class contains the following methods:
check performs a check on the permission object.
combine creates and returns a new SecurityPermission object that is a combination of the current permission object and the specified permission object.
compareSet compares the SecurityPermission instance with a specified permission object.
copy retrieves a new instance of the SecurityPermission class.
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.
mapFormat retrieves a permission-specific tag, given an encoding format.
supportedFormats retrieves the encoding formats that the permission type supports.