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.NET]
Public Shared Function KeyValue ( _
keyString As String, _
fieldName As String _
) As String
Parameters
- keyString
- Public or private key in internal string format
- fieldName
- Name of field to be extracted: "Modulus" or "Exponent"
Return Value
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]