Click or drag to resize

RsaKeyValue Method

Extract a base64-encoded RSA key value from internal key string

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static string KeyValue(
	string keyString,
	string fieldName
)

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