Partager via


KeyInfoHelper.GetXmlKeyInfo Method

Gets an XML representation of the specified KeyInfo.

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

Usage

'Usage
Dim document As XmlDocument
Dim keyInfo As KeyInfo
Dim returnValue As XmlElement
returnValue = KeyInfoHelper.GetXmlKeyInfo(document, keyInfo)

Syntax

'Declaration
Public Shared Function GetXmlKeyInfo( _
    ByVal document As XmlDocument, _
    ByVal keyInfo As KeyInfo _
) As XmlElement
public static XmlElement GetXmlKeyInfo(
    XmlDocument document, 
    KeyInfo keyInfo
);
public:
static XmlElement^ GetXmlKeyInfo(
    XmlDocument^ document,
    KeyInfo^ keyInfo
);
public static XmlElement GetXmlKeyInfo(
    XmlDocument document, 
    KeyInfo keyInfo
);
public static function GetXmlKeyInfo(
     document : XmlDocument, 
     keyInfo : KeyInfo
) : XmlElement;

Parameters

  • document
    A XmlDocument to serialize the KeyInfo into.
  • keyInfo
    The KeyInfo to serialize.

Return Value

A XmlDocument containing the serialized KeyInfo.

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

KeyInfoHelper Class
KeyInfoHelper Members
Microsoft.Web.Services3.Security Namespace