Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IGenGuid::initialize ( P6GUIDFLAGS  flags,
p6IRandom pRandom 
)
pure virtual

Initialize the random number generator used to generate the GUIDs.

Parameters
flags[ in ] Set perferences for the new object.
pRandom[ in ] A cryptographically strong random number generator is required to generate a guid.
Returns
SuccessP6R::eOk 
FailureP6R::eAlreadyInitializedThis function can only be called once successfully.
eInvalidArgp6Random is NULL.
P6R::eFailFailed to properly seed the RNG.
Facility=P6EF_CRYPTOCode portion of value is specific to this crypto system.