Export (0) Print
Expand All

ISecurityEncodable Interface

Defines the methods that convert permission object state to and from XML element representation.

For a list of all members of this type, see ISecurityEncodable Members.

[Visual Basic]
Public Interface ISecurityEncodable
[C#]
public interface ISecurityEncodable
[C++]
public __gc __interface ISecurityEncodable
[JScript]
public interface ISecurityEncodable

Classes that Implement ISecurityEncodable

Class Description
AllMembershipCondition Represents a membership condition that matches all code. This class cannot be inherited.
ApplicationDirectoryMembershipCondition Determines whether an assembly belongs to a code group by testing its application directory. This class cannot be inherited.
CodeAccessPermission Defines the underlying structure of all code access permissions.
HashMembershipCondition Determines whether an assembly belongs to a code group by testing its hash value. This class cannot be inherited.
PermissionSet Represents a collection that can contain many different types of permissions.
PolicyStatement Represents the statement of a CodeGroup describing the permissions and other information that apply to code with a particular set of evidence. This class cannot be inherited.
PrincipalPermission Allows checks against the active principal (see IPrincipal) using the language constructs defined for both declarative and imperative security actions. This class cannot be inherited.
PublisherMembershipCondition Determines whether an assembly belongs to a code group by testing its software publisher's Authenticode X.509v3 certificate. This class cannot be inherited.
SiteMembershipCondition Determines whether an assembly belongs to a code group by testing the site from which it originated. This class cannot be inherited.
StrongNameMembershipCondition Determines whether an assembly belongs to a code group by testing its strong name. This class cannot be inherited.
UrlMembershipCondition Determines whether an assembly belongs to a code group by testing its URL. This class cannot be inherited.
ZoneMembershipCondition Determines whether an assembly belongs to a code group by testing its zone of origin. This class cannot be inherited.

Remarks

The XML representation of permissions is used to describe instances of permissions for code requests, declarative security permission sets, and security policy configuration.

Note   You must implement this interface for any new permission object.

Requirements

Namespace: System.Security

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

ISecurityEncodable Members | System.Security Namespace

Show:
© 2014 Microsoft