Click or drag to resize
SecurityUtilsCreatePrivateKey Method (Boolean)
Creates a 1024-bit RSA key pair.

Namespace: PDTec.IceNet.Sdk.Utils
Assembly: PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntax
C#
public static string CreatePrivateKey(
	bool useCspUserKeyStore
)

Parameters

useCspUserKeyStore
Type: SystemBoolean
if set to true use the Windows users CSP key store. Use the machine key store otherwise.

Return Value

Type: String
The RSA key pair encoded in CSP-compatible XML.
See Also