Rsa.KeyValue Method
Extract a base64-encoded RSA key value from internal key string
Syntax
[C#]
public static string KeyValue(
string keyString,
string fieldName
)
[VB]
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
String
Value encoded in base64 or an empty string on error
Remarks
The output is a continuous string of base64 characters
suitable for a <RSAKeyValue> node in an XML-DSIG document.
See Also
VB6/C equivalent: RSA_KeyValue
[Contents] [Index]