다음을 통해 공유


MessageSignature Members

Represents an XML signature object that is used to create digital signatures.

The following tables list the members exposed by the MessageSignature type.

Public Constructors

  Name Description
MessageSignature Overloaded. Initializes a new instance of MessageSignature.

Top

Public Properties

  Name Description
public property Container Gets the Security header that contains this security element.
public property Document Sets the XmlDocument that contains the message to be signed or verified.
public property KeyInfo Gets or sets the KeyInfo of the current MessageSignature.
public property OwnerElement Sets the XmlElement that owns the element being signed.
public property Signature Gets the SignedXmlSignature of the current MessageSignature.
public property SignatureLength Gets the length of the signature for the current MessageSignature.
public property SignatureMethod Gets the algorithm used for signature generation and validation of the current MessageSignature.
public property SignatureOptions Gets or sets the SignatureOptions enumeration that represents the parts of the message to be signed or verified.
public property SignatureValue Gets the signature value of the current MessageSignature.
public property SignedInfo Gets the SignedInfo of the current MessageSignature.
public property SigningKey Gets or sets the asymmetric or symmetric algorithm key used for signing the MessageSignature.
public property SigningToken Gets or sets the SecurityToken used with the signature.
public property TargetElement Gets the XML element that this class was last serialized to or deserialized from.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method AddObject Adds a DataObject to the list of objects to be signed.
public method AddReference Adds a new SignatureReference to the References list to be digested and signed.
public method CheckSignature Overloaded. Verifies the MessageSignature using the public or symmetric key in the signature.
public method ComputeSignature Overloaded. Computes the signature.
public method Equals  Overloaded. (Inherited from Object )
public method GetHashCode  (Inherited from Object )
public method GetIdElement Returns the XmlElement with the specified ID from the specified XmlDocument .
public method GetType  (Inherited from Object )
public method GetXml Returns the XML representation of the MessageSignature.
public method LoadXml Loads a MessageSignature state from an XML element.
public method static ReferenceEquals  (Inherited from Object )
public method ToString  (Inherited from Object )

Top

Protected Methods

  Name Description
protected method ClearIdElements Clears the cache.
protected method Finalize  (Inherited from Object )
protected method MemberwiseClone  (Inherited from Object )

Top

See Also

Reference

MessageSignature Class
Microsoft.Web.Services3.Security Namespace

Other Resources

How to: Sign a SOAP Message Using an X.509 Certificate
How to: Sign a SOAP Message By Using a Kerberos Ticket