RsaToXMLString(String, String, RsaXmlOptions) Method |
Create an XML string representation of an RSA internal key string with option to add a namespace prefix.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static string ToXMLString(
string intKeyString,
string prefix,
RsaXmlOptions options
)
Public Shared Function ToXMLString (
intKeyString As String,
prefix As String,
options As RsaXmlOptions
) As String
Parameters
- intKeyString String
- Internal key string
- prefix String
- Prefix to add to elements, e.g. "ds" or "ds:".
- options RsaXmlOptions
- Option flags: set as zero for defaults.
Return Value
StringXML string or empty string on error
RemarksUse 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