SecurityUtilsRsaCreatePrivateKey Method (Int32, Boolean) |
Creates a RSA key pair.
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static string RsaCreatePrivateKey(
int keySize,
bool useCspUserKeyStore
)
Parameters
- keySize
- Type: SystemInt32
The RSA key size. - useCspUserKeyStore
- Type: SystemBoolean
if set to true use the Windows users CSP key store. Use the machine key store otherwise.
Return Value
Type:
StringThe RSA key pair encoded in CSP-compatible XML.
See Also