Rsa.ToXMLString Method (String, String, Rsa.XmlOptions)
Create an XML string representation of an RSA internal key string with option to add a namespace prefix.
Syntax
[C#]
public static string ToXMLString(
string intKeyString,
string prefix,
Rsa.XmlOptions options
)
[VB.NET]
Public Shared Function ToXMLString ( _
intKeyString As String, _
prefix As String, _
options As Rsa.XmlOptions _
) As String
Parameters
- intKeyString
- Internal key string
- prefix
- Prefix to add to elements, e.g. "ds" or "ds:".
- options
- Type: Rsa.XmlOptions
Option flags: set as zero for defaults.
Return Value
XML string or empty string on error
Remarks
Use this extended function to add a namespace prefix to all elements in the XML output; for example, <ds:RSAKeyValue>. Note that it's up to the user to map the prefix to a URI somewhere in the final XML document.
See Also
VB6/C equivalent: RSA_ToXMLStringEx
[Contents] [Index]