Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

FC_GenerateRandom

Name

FC_GenerateRandom - generate a random number.

Syntax

CK_RV FC_GenerateRandom(
  CK_SESSION_HANDLE hSession,
  CK_BYTE_PTR pRandomData,
  CK_ULONG ulRandomLen
);

Parameters

hSession
[in] session handle.
pRandomData
[out] pointer to the location to receive the random data.
ulRandomLen
[in] length of the buffer in bytes.

Description

FC_GenerateRandom generates random data of the specified length.

A user may call FC_GenerateRandom without logging into the token (to assume the NSS User role).

Return value

Examples

See also

Document Tags and Contributors

Tags: 
 Contributors to this page: fscholz, Nelson_bolyard.com, Wtchang, Neil.williams
 Last updated by: fscholz,