CryptoSys PKI Pro Manual

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]

[PREV: Rsa.KeyMatch Method (StringBuilder, StringBuilder)...]   [Contents]   [Index]   
   [NEXT: Rsa.MakeKeys Method (String, String, Int32, Rsa.PublicExponent, Int32, String, CipherAlgorithm, HashAlgorithm, Rsa.Format, Boolean)...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.