Rsa.CheckKey(StringBuilder) Method
Check the validity of an "internal" RSA public or private key.
Syntax
[C#]
public static int CheckKey(
StringBuilder sbKeyString
)
[VB]
Public Shared Function CheckKey (
sbKeyString As StringBuilder
) As Integer
Parameters
- sbKeyString StringBuilder
- Internal key string
Return Value
Int320=valid private key, 1=valid publickey, or negative
error code
Remarks
A private key is also validated for consistency.
See Also
VB6/C equivalent: RSA_CheckKey
[Contents] [Index]