CryptoSys PKI Pro Manual

Rsa.CheckKey Method (StringBuilder)

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

Syntax

[C#]
public static int CheckKey(
	StringBuilder sbKeyString
)
[VB.NET]
Public Shared Function CheckKey ( _
	sbKeyString As StringBuilder _
) As Integer

Parameters

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

[PREV: Rsa.CheckKey Method (String)...]   [Contents]   [Index]   
   [NEXT: Rsa.DecodeDigestForSignature Method...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.