RsaCheckKey(String) Method |
Check the validity of an "internal" RSA public or private key.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static int CheckKey(
string intKeyString
)
Public Shared Function CheckKey (
intKeyString As String
) As Integer
Parameters
- intKeyString String
- Internal key string
Return Value
Int320=valid private key, 1=valid publickey, or negative
error code
RemarksA private key is also validated for consistency.
See Also