System.Security.Policy.HashMembershipCondition Members

The members of System.Security.Policy.HashMembershipCondition are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Security.Policy.HashMembershipCondition class with the hash algorithm and hash value that determine membership.

Public Properties

HashAlgorithmSystem.Security.Cryptography.HashAlgorithm.

Gets or sets the hash algorithm to use for the membership condition.

HashValuebyte[].

Gets or sets the hash value for which the membership condition tests.

Public Methods

Check(Evidence) : bool

Determines whether the specified evidence satisfies the membership condition.

Copy() : IMembershipCondition

Creates an equivalent copy of the membership condition.

override
Equals(object) : bool

Determines whether the HashMembershipCondition.HashValue and the HashMembershipCondition.HashAlgorithm from the specified object are equivalent to the HashMembershipCondition.HashValue and HashMembershipCondition.HashAlgorithm contained in the current System.Security.Policy.HashMembershipCondition.

FromXml(System.Security.SecurityElement)

Reconstructs a security object with a specified state from an XML encoding.

FromXml(System.Security.SecurityElement, PolicyLevel)

Reconstructs a security object with a specified state from an XML encoding.

override
GetHashCode() : int

Gets the hash code for the current membership condition.

override
ToString() : string

Creates and returns a string representation of the membership condition.

ToXml() : System.Security.SecurityElement

Creates an XML encoding of the security object and its current state.

ToXml(PolicyLevel) : System.Security.SecurityElement

Creates an XML encoding of the security object and its current state with the specified System.Security.Policy.PolicyLevel.

Explicitly Implemented Interface Members

System.Runtime.Serialization.ISerializable.GetObjectData

Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.

System.Runtime.Serialization.IDeserializationCallback.OnDeserialization

Runs when the entire object graph has been deserialized.