Extract a base64-encoded RSA key value from internal key string
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static string KeyValue(
string keyString,
string fieldName
)
Public Shared Function KeyValue (
keyString As String,
fieldName As String
) As String
Parameters
- keyString String
- Public or private key in internal string format
- fieldName String
- Name of field to be extracted: "Modulus" or "Exponent"
Return Value
StringValue encoded in base64 or an empty string on error
RemarksThe output is a continuous string of base64 characters
suitable for a <RSAKeyValue> node in an XML-DSIG document.
See Also