CryptoSys PKI Pro Manual

Rsa.ReadPrivateKeyInfo Method

Read from an (unencrypted) PKCS-8 private key info file into a private key string.

Syntax

[C#]
[ObsoleteAttribute("Use Rsa.ReadPrivateKey() instead", false)]
public static StringBuilder ReadPrivateKeyInfo(
	string prikeyinfoFile
)
[VB.NET]
<ObsoleteAttribute("Use Rsa.ReadPrivateKey() instead", False)> _
Public Shared Function ReadPrivateKeyInfo ( _
	prikeyinfoFile As String _
) As StringBuilder

Parameters

prikeyinfoFile
Name of file

Return Value

StringBuilder containing an internal representation of the private key; or an empty StringBuilder if error

Remarks

This returns a StringBuilder, not a string. Use sb.ToString() to obtain a string.

See Also

VB6/C equivalent: RSA_ReadPrivateKeyInfo

[Contents] [Index]

[PREV: Rsa.ReadPrivateKeyFromPFX Method...]   [Contents]   [Index]   
   [NEXT: Rsa.ReadPublicKey Method...]

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