index.rst (1322B)
1 .. _mozilla_projects_nss_reference_fc_getmechanismlist: 2 3 FC_GetMechanismList 4 =================== 5 6 `Name <#name>`__ 7 ~~~~~~~~~~~~~~~~ 8 9 .. container:: 10 11 FC_GetMechanismList - get a list of mechanism types supported by a token. 12 13 `Syntax <#syntax>`__ 14 ~~~~~~~~~~~~~~~~~~~~ 15 16 .. container:: 17 18 .. code:: 19 20 CK_RV FC_GetMechanismList( 21 CK_SLOT_ID slotID, 22 CK_MECHANISM_TYPE_PTR pMechanismList, 23 CK_ULONG_PTR pusCount 24 ); 25 26 `Parameters <#parameters>`__ 27 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 29 .. container:: 30 31 ``FC_GetMechanismList`` takes three parameters: 32 33 ``slotID`` 34 [Input] 35 ``pInfo`` 36 [Output] The address of a variable that will receive a pointer to the list of function 37 pointers. 38 39 `Description <#description>`__ 40 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 41 42 .. container:: 43 44 ``FC_GetMechanismList`` obtains a list of mechanism types supported by a token. 45 46 A user may call ``FC_GetMechanismList`` without logging into the token (to assume the NSS User 47 role). 48 49 .. _return_value: 50 51 `Return value <#return_value>`__ 52 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 53 54 .. container:: 55 56 ``CKR_OK`` 57 58 `Examples <#examples>`__ 59 ~~~~~~~~~~~~~~~~~~~~~~~~ 60 61 .. container:: 62 63 .. _see_also: 64 65 `See also <#see_also>`__ 66 ~~~~~~~~~~~~~~~~~~~~~~~~ 67 68 .. container:: 69 70 - `NSC_GetMechanismList </en-US/NSC_GetMechanismList>`__