index.rst (1527B)
1 .. _mozilla_projects_nss_reference_fc_digestfinal: 2 3 FC_DigestFinal 4 ============== 5 6 `Name <#name>`__ 7 ~~~~~~~~~~~~~~~~ 8 9 .. container:: 10 11 FC_DigestFinal - finish a multi-part digest operation. 12 13 `Syntax <#syntax>`__ 14 ~~~~~~~~~~~~~~~~~~~~ 15 16 .. container:: 17 18 .. code:: 19 20 CK_RV FC_DigestFinal( 21 CK_SESSION_HANDLE hSession, 22 CK_BYTE_PTR pDigest, 23 CK_ULONG_PTR pulDigestLen 24 ); 25 26 `Parameters <#parameters>`__ 27 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 29 .. container:: 30 31 ``hSession`` 32 [in] session handle. 33 ``pDigest`` 34 [out] pointer to the buffer which will receive the digest or NULL. 35 ``pulDigestLen`` 36 [in, out] pointer to location containing the maximum buffer size. 37 38 `Description <#description>`__ 39 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 41 .. container:: 42 43 ``FC_DigestFinal`` finishes a multi-part digest operation by returning the complete digest and 44 clearing the operation context. If ``pDigest`` is NULL the length of the digest is returned and 45 ``FC_DigestFinal`` may be called again with ``pDigest`` set to retrieve the digest. 46 47 A user may call ``FC_DigestFinal`` without logging into the token (to assume the NSS User role). 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_digestinit`, 69 `NSC_DigestFinal </en-US/NSC_DigestFinal>`__