Create an XML string representation of an RSA internal key string.
Public Function rsaToXMLString ( _ szKeyString As String, _ Optional nOptions As Long = 0 _ ) As String
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.