CryptoSys PKI Pro Manual

Rsa.CheckKey(String) Method

Check the validity of an "internal" RSA public or private key.

Syntax

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

Parameters

intKeyString  String
Internal key string

Return Value

Int32
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]

[PREV: Rng.UpdateSeedFile Method...]   [Contents]   [Index]   
   [NEXT: Rsa.CheckKey(StringBuilder) Method...]

Copyright © 2004-26 D.I. Management Services Pty Ltd t/a CryptoSys. All rights reserved. Generated 2026-09-21T05:59:39Z.