Create an XML string representation of an RSA internal key string with option to add a namespace prefix.
Public Function rsaToXMLStringEx ( _ szKeyString As String, _ szPrefix As String, _ Optional nOptions As Long = 0 _ ) As String
"ds".RSAKeyValue for public key and RSAKeyPair for private key), or select and combine:
PKI_XML_RSAKEYVALUE to force private key output as .NET-compatible RSAKeyValue format (instead of W3C RSAKeyPair)
PKI_XML_EXCLPRIVATE to exclude the private key (use to get a public key RSAKeyValue from a private key)
PKI_XML_HEXBINARY to output with data in non-conforming (but convenient) hexBinary format.<ds:RSAKeyValue>.