CryptoSys PKI Toolkit Manual

Rsa.CheckKey Method (String)

Checks the validity of an "internal" RSA public or private key

Syntax

[C#]
public static int CheckKey(
	string intKeyString
)
[VB.NET]
Public Shared Function CheckKey ( _
	intKeyString As String _
) As Integer

Parameters

intKeyString
Internal key string

Return Value

0=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]

[HOME]   [NEXT: Rsa.CheckKey Method (StringBuilder)...]

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