Partager via


SecurityToken.GetSignedTokenXml Method

Gets an XML representation of the current instance digitally signed by another security token.

Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim signingToken As SecurityToken
Dim returnValue As XmlElement
Dim securityToken1 As SecurityToken
returnValue = securityToken1.GetSignedTokenXml(signingToken)

Syntax

'Declaration
Public Overridable Function GetSignedTokenXml( _
    ByVal signingToken As SecurityToken _
) As XmlElement
public virtual XmlElement GetSignedTokenXml(
    SecurityToken signingToken
);
public:
virtual XmlElement^ GetSignedTokenXml(
    SecurityToken^ signingToken
);
public virtual XmlElement GetSignedTokenXml(
    SecurityToken signingToken
);
public function GetSignedTokenXml(
     signingToken : SecurityToken
) : XmlElement;

Parameters

Return Value

An XmlElement that contains the current instance digitally signed.

Remarks

Use the GetSignedTokenXml and VerifySignedTokenXml methods when you send and receive SOAP messages containing digitally signed security tokens. When sending a SOAP message, use the GetSignedTokenXml to generate the XML representation of a digitally signed security token. When a SOAP message is received that contains the XML representation of a digitally signed security token, use the VerifySignedTokenXml to verify the signature.

Thread Safety

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

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SecurityToken Class
SecurityToken Members
Microsoft.Web.Services3.Security.Tokens Namespace