CryptoSys PKI Toolkit Manual

Rsa.KeyMatch Method (String, String)

Verifies that a pair of "internal" RSA private and public key strings are matched.

Syntax

[C#]
public static int KeyMatch(
	string privateKey,
	string publicKey
)
[VB.NET]
Public Shared Function KeyMatch ( _
	privateKey As String, _
	publicKey As String _
) As Integer

Parameters

privateKey
Internal RSA private key string
publicKey
Internal RSA public key string

Return Value

0=valid key pair, or negative error code

[Contents] [Index]


[HOME]   [NEXT: Rsa.KeyMatch Method (StringBuilder, StringBuilder)...]

Copyright © 2004-10 D.I. Management Services Pty Ltd. All rights reserved.