This documentation is archived and is not being maintained.

SecurityUtilities Class

Provides a set of utility functions for manipulating security permision sets and signing.


Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)

public static class SecurityUtilities

The SecurityUtilities type exposes the following members.

Public methodStatic memberComputeZonePermissionSetGenerates a permission set by computing the zone default permission set, removing any excluded permissions, and adding any included permissions.
Public methodStatic memberIdentityListToPermissionSetConverts an array of permission identity strings to a permission set object.
Public methodStatic memberPermissionSetToIdentityListConverts a permission set object to an array of permission identity strings.
Public methodStatic memberSignFile(String, Uri, String)Signs a ClickOnce manifest or PE file.
Public methodStatic memberSignFile(X509Certificate2, Uri, String)Signs a ClickOnce manifest or PE file.
Public methodStatic memberSignFile(String, SecureString, Uri, String)Signs a ClickOnce manifest.
Public methodStatic memberXmlToPermissionSetConverts an XML element to a permission set object.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.