RsaKeyMatch(String, String) Method |
Verify that a pair of "internal" RSA private and public key strings are matched.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static int KeyMatch(
string privateKey,
string publicKey
)
Public Shared Function KeyMatch (
privateKey As String,
publicKey As String
) As Integer
Parameters
- privateKey String
- Internal RSA private key string
- publicKey String
- Internal RSA public key string
Return Value
Int320=valid key pair, or negative
error code
See Also