index.rst (1529B)
1 .. _mozilla_projects_nss_reference_fc_signfinal: 2 3 FC_SignFinal 4 ============ 5 6 `Name <#name>`__ 7 ~~~~~~~~~~~~~~~~ 8 9 .. container:: 10 11 FC_SignFinal - finish a multi-part signing operation. 12 13 `Syntax <#syntax>`__ 14 ~~~~~~~~~~~~~~~~~~~~ 15 16 .. container:: 17 18 .. code:: 19 20 CK_RV FC_SignFinal( 21 CK_SESSION_HANDLE hSession, 22 CK_BYTE_PTR pSignature, 23 CK_ULONG_PTR pusSignatureLen 24 ); 25 26 `Parameters <#parameters>`__ 27 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 29 .. container:: 30 31 ``hSession`` 32 [in] session handle. 33 ``pSignature`` 34 [out] pointer to the buffer which will receive the digest or NULL. 35 ``pusSignatureLen`` 36 [in, out] pointer to location containing the maximum buffer size. 37 38 `Description <#description>`__ 39 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 41 .. container:: 42 43 ``FC_SignFinal`` finishes a multi-part signing operation by returning the complete signature and 44 clearing the operation context. If ``pSignature`` is NULL the length of the signature is returned 45 and ``FC_SignFinal`` may be called again with ``pSignature`` set to retrieve the signature. 46 47 A user must log into the token (to assume the NSS User role) before calling ``FC_SignFinal``. 48 49 .. _return_value: 50 51 `Return value <#return_value>`__ 52 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 53 54 .. container:: 55 56 `Examples <#examples>`__ 57 ~~~~~~~~~~~~~~~~~~~~~~~~ 58 59 .. container:: 60 61 .. _see_also: 62 63 `See also <#see_also>`__ 64 ~~~~~~~~~~~~~~~~~~~~~~~~ 65 66 .. container:: 67 68 - :ref:`mozilla_projects_nss_reference_fc_signupdate`, `NSC_SignFinal </en-US/NSC_SignFinal>`__