index.rst (1374B)
1 .. _mozilla_projects_nss_reference_fc_createobject: 2 3 FC_CreateObject 4 =============== 5 6 `Name <#name>`__ 7 ~~~~~~~~~~~~~~~~ 8 9 .. container:: 10 11 FC_CreateObject - create a new object. 12 13 `Syntax <#syntax>`__ 14 ~~~~~~~~~~~~~~~~~~~~ 15 16 .. container:: 17 18 .. code:: 19 20 CK_RV FC_CreateObject( 21 CK_SESSION_HANDLE hSession, 22 CK_ATTRIBUTE_PTR pTemplate, 23 CK_ULONG ulCount, 24 CK_OBJECT_HANDLE_PTR phObject 25 ); 26 27 `Parameters <#parameters>`__ 28 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 30 .. container:: 31 32 ``hSession`` 33 [in] session handle. 34 ``pTemplate`` 35 [in] object template. 36 ``ulCount`` 37 [in] number of attributes in the template. 38 ``phObject`` 39 [out] pointer to location to receive the new objects handle. 40 41 `Description <#description>`__ 42 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43 44 .. container:: 45 46 ``FC_CreateObject`` creates an object using the attributes specified in the template. 47 48 A user must log into the token (to assume the NSS User role) before calling ``FC_CreateObject``. 49 50 .. _return_value: 51 52 `Return value <#return_value>`__ 53 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 54 55 .. container:: 56 57 `Examples <#examples>`__ 58 ~~~~~~~~~~~~~~~~~~~~~~~~ 59 60 .. container:: 61 62 .. _see_also: 63 64 `See also <#see_also>`__ 65 ~~~~~~~~~~~~~~~~~~~~~~~~ 66 67 .. container:: 68 69 - :ref:`mozilla_projects_nss_reference_fc_destroyobject`, 70 `NSC_CreateObject </en-US/NSC_CreateObject>`__