Click or drag to resize

RsaToXMLString(String, String, RsaXmlOptions) Method

Create an XML string representation of an RSA internal key string with option to add a namespace prefix.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static string ToXMLString(
	string intKeyString,
	string prefix,
	RsaXmlOptions options
)

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

String
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