index.rst (1334B)
1 .. _mozilla_projects_nss_reference_fc_signinit: 2 3 FC_SignInit 4 =========== 5 6 `Name <#name>`__ 7 ~~~~~~~~~~~~~~~~ 8 9 .. container:: 10 11 FC_SignInit - initialize a signing operation. 12 13 `Syntax <#syntax>`__ 14 ~~~~~~~~~~~~~~~~~~~~ 15 16 .. container:: 17 18 .. code:: 19 20 CK_RV FC_SignInit( 21 CK_SESSION_HANDLE hSession, 22 CK_MECHANISM_PTR pMechanism, 23 CK_OBJECT_HANDLE hKey 24 ); 25 26 `Parameters <#parameters>`__ 27 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 29 .. container:: 30 31 ``hSession`` 32 [in] session handle. 33 ``pMechanism`` 34 [in] mechanism to be used for the subsequent signing operation. 35 ``hKey`` 36 [in] handle of the key to be used . 37 38 `Description <#description>`__ 39 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 41 .. container:: 42 43 ``FC_SignInit`` initializes a signature operation. 44 45 A user must log into the token (to assume the NSS User role) before calling ``FC_SignInit``. 46 47 .. _return_value: 48 49 `Return value <#return_value>`__ 50 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 52 .. container:: 53 54 `Examples <#examples>`__ 55 ~~~~~~~~~~~~~~~~~~~~~~~~ 56 57 .. container:: 58 59 .. _see_also: 60 61 `See also <#see_also>`__ 62 ~~~~~~~~~~~~~~~~~~~~~~~~ 63 64 .. container:: 65 66 - `NSC_SignInit </en-US/NSC_SignInit>`__ :ref:`mozilla_projects_nss_reference_fc_sign` 67 :ref:`mozilla_projects_nss_reference_fc_signupdate` 68 :ref:`mozilla_projects_nss_reference_fc_signfinal`