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 | |
---|---|---|
Container | Gets the Security header that contains this security element. | |
Document | Sets the XmlDocument that contains the message to be signed or verified. | |
KeyInfo | Gets or sets the KeyInfo of the current MessageSignature. | |
OwnerElement | Sets the XmlElement that owns the element being signed. | |
Signature | Gets the SignedXmlSignature of the current MessageSignature. | |
SignatureLength | Gets the length of the signature for the current MessageSignature. | |
SignatureMethod | Gets the algorithm used for signature generation and validation of the current MessageSignature. | |
SignatureOptions | Gets or sets the SignatureOptions enumeration that represents the parts of the message to be signed or verified. | |
SignatureValue | Gets the signature value of the current MessageSignature. | |
SignedInfo | Gets the SignedInfo of the current MessageSignature. | |
SigningKey | Gets or sets the asymmetric or symmetric algorithm key used for signing the MessageSignature. | |
SigningToken | Gets or sets the SecurityToken used with the signature. | |
TargetElement | Gets the XML element that this class was last serialized to or deserialized from. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
AddObject | Adds a DataObject to the list of objects to be signed. | |
AddReference | Adds a new SignatureReference to the References list to be digested and signed. | |
CheckSignature | Overloaded. Verifies the MessageSignature using the public or symmetric key in the signature. | |
ComputeSignature | Overloaded. Computes the signature. | |
Equals | Overloaded. (Inherited from Object ) | |
GetHashCode | (Inherited from Object ) | |
GetIdElement | Returns the XmlElement with the specified ID from the specified XmlDocument . | |
GetType | (Inherited from Object ) | |
GetXml | Returns the XML representation of the MessageSignature. | |
LoadXml | Loads a MessageSignature state from an XML element. | |
ReferenceEquals | (Inherited from Object ) | |
ToString | (Inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
ClearIdElements | Clears the cache. | |
Finalize | (Inherited from Object ) | |
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