Rsa.ToXMLString(String, String, Rsa.XmlOptions) Method
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]
Public Shared Function ToXMLString (
intKeyString As String,
prefix As String,
options As Rsa.XmlOptions
) As String
Parameters
- intKeyString String
- Internal key string
- prefix String
- Prefix to add to elements, e.g. "ds" or "ds:".
- options 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]