index.rst (1363B)
1 .. _mozilla_projects_nss_reference_fc_digestkey: 2 3 FC_DigestKey 4 ============ 5 6 `Name <#name>`__ 7 ~~~~~~~~~~~~~~~~ 8 9 .. container:: 10 11 FC_DigestKey - add the digest of a key to a multi-part digest operation. 12 13 `Syntax <#syntax>`__ 14 ~~~~~~~~~~~~~~~~~~~~ 15 16 .. container:: 17 18 .. code:: 19 20 CK_RV FC_DigestKey( 21 CK_SESSION_HANDLE hSession, 22 CK_OBJECT_HANDLE hKey 23 ); 24 25 `Parameters <#parameters>`__ 26 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 28 .. container:: 29 30 ``hSession`` 31 [in] session handle. 32 ``hKey`` 33 [in] handle of the key to be digested. 34 35 `Description <#description>`__ 36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 38 .. container:: 39 40 ``FC_DigestKey`` continues a multi-part digest operation by digesting the value of a secret key. 41 The digest for the entire message is returned by a call to 42 :ref:`mozilla_projects_nss_reference_fc_digestfinal`. 43 44 A user must log into the token (to assume the NSS User role) before calling ``FC_DigestKey``. 45 46 .. _return_value: 47 48 `Return value <#return_value>`__ 49 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 50 51 .. container:: 52 53 `Examples <#examples>`__ 54 ~~~~~~~~~~~~~~~~~~~~~~~~ 55 56 .. container:: 57 58 .. _see_also: 59 60 `See also <#see_also>`__ 61 ~~~~~~~~~~~~~~~~~~~~~~~~ 62 63 .. container:: 64 65 - :ref:`mozilla_projects_nss_reference_fc_digestinit`, 66 :ref:`mozilla_projects_nss_reference_fc_digestfinal`, `NSC_DigestKey </en-US/NSC_DigestKey>`__