index.rst (1449B)
1 .. _mozilla_projects_nss_reference_fc_encryptfinal: 2 3 FC_EncryptFinal 4 =============== 5 6 `Name <#name>`__ 7 ~~~~~~~~~~~~~~~~ 8 9 .. container:: 10 11 FC_EncryptFinal - finish a multi-part encryption operation. 12 13 `Syntax <#syntax>`__ 14 ~~~~~~~~~~~~~~~~~~~~ 15 16 .. container:: 17 18 .. code:: 19 20 CK_RV FC_EncryptFinal( 21 CK_SESSION_HANDLE hSession, 22 CK_BYTE_PTR pLastEncryptedPart, 23 CK_ULONG_PTR pusLastEncryptedPartLen 24 ); 25 26 `Parameters <#parameters>`__ 27 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 29 .. container:: 30 31 ``hSession`` 32 [in] session handle. 33 ``pLastEncryptedPart`` 34 [out] pointer to the location that receives the last encrypted data part, if any 35 ``pusLastEncryptedPartLen`` 36 [in,out] pointer to location where the number of bytes of the last encrypted data part is to 37 be stored. 38 39 `Description <#description>`__ 40 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 41 42 .. container:: 43 44 ``FC_EncryptFinal`` returns the last block of data of a multi-part encryption operation. 45 46 A user must log into the token (to assume the NSS User role) before calling ``FC_EncryptFinal``. 47 48 .. _return_value: 49 50 `Return value <#return_value>`__ 51 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 52 53 .. container:: 54 55 `Examples <#examples>`__ 56 ~~~~~~~~~~~~~~~~~~~~~~~~ 57 58 .. container:: 59 60 .. _see_also: 61 62 `See also <#see_also>`__ 63 ~~~~~~~~~~~~~~~~~~~~~~~~ 64 65 .. container:: 66 67 - :ref:`mozilla_projects_nss_reference_fc_encryptinit`, 68 `NSC_EncryptFinal </en-US/NSC_EncryptFinal>`__