Publisher Class

 

Provides the Authenticode X.509v3 digital signature of a code assembly as evidence for policy evaluation. This class cannot be inherited.

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

System.Object
  System.Security.Policy.EvidenceBase
    System.Security.Policy.Publisher

[SerializableAttribute]
[ComVisibleAttribute(true)]
public sealed class Publisher : EvidenceBase, IIdentityPermissionFactory

NameDescription
System_CAPS_pubmethodPublisher(X509Certificate)

Initializes a new instance of the Publisher class with the Authenticode X.509v3 certificate containing the publisher's public key.

NameDescription
System_CAPS_pubpropertyCertificate

Gets the publisher's Authenticode X.509v3 certificate.

NameDescription
System_CAPS_pubmethodClone()

Creates a new object that is a copy of the current instance.(Overrides EvidenceBase.Clone().)

System_CAPS_pubmethodCopy()

Creates an equivalent copy of the Publisher.

System_CAPS_pubmethodCreateIdentityPermission(Evidence)

Creates an identity permission that corresponds to the current instance of the Publisher class.

System_CAPS_pubmethodEquals(Object)

Compares the current Publisher to the specified object for equivalence.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Gets the hash code of the current Certificate.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string representation of the current Publisher.(Overrides Object.ToString().)

The presence of Publisher evidence produces a PublisherIdentityPermission in the grant set. If there is a Demand for PublisherIdentityPermission, the PublisherIdentityPermission that corresponds to the Publisher evidence will be compared with the demanded permission.

Publisher evidence is based on Authenticode X.509v3 signatures.

By default, code access security (CAS) does not check for Publisher evidence. Unless your computer has a custom code group based on the PublisherMembershipCondition class, you can improve performance by bypassing Authenticode signature verification. This is accomplished by configuring the runtime to not provide Publisher evidence for CAS. For more information about how to configure this option and which applications can use it, see the element.

.NET Framework
Available since 1.1

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

Return to top
Show: