index.rst (1749B)
1 .. _mozilla_projects_nss_reference_fc_signencryptupdate: 2 3 FC_SignEncryptUpdate 4 ==================== 5 6 `Name <#name>`__ 7 ~~~~~~~~~~~~~~~~ 8 9 .. container:: 10 11 FC_SignEncryptUpdate - continue a multi-part signing and encryption operation 12 13 `Syntax <#syntax>`__ 14 ~~~~~~~~~~~~~~~~~~~~ 15 16 .. container:: 17 18 .. code:: 19 20 CK_RV FC_SignEncryptUpdate( 21 CK_SESSION_HANDLE hSession, 22 CK_BYTE_PTR pPart, 23 CK_ULONG ulPartLen, 24 CK_BYTE_PTR pEncryptedPart, 25 CK_ULONG_PTR pulEncryptedPartLen 26 ); 27 28 `Parameters <#parameters>`__ 29 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 31 .. container:: 32 33 ``hSession`` 34 [in] session handle. 35 ``pPart`` 36 [in] pointer to the data part. 37 ``ulPartLen`` 38 [in] length of data in bytes. 39 ``pEncryptedPart`` 40 [in] pointer to the location which receives the signed and encrypted data part or NULL. 41 ``pulEncryptedPartLen`` 42 [in] pointer to the length of the encrypted part buffer. 43 44 `Description <#description>`__ 45 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 47 .. container:: 48 49 ``FC_SignEncryptUpdate`` continues a multi-part signature and encryption operation. After calling 50 both ``FC_SignInit`` and ``FC_EncryptInit`` to set up the operations this function may be called 51 multiple times. The operation is finished by calls to ``FC_SignFinal`` and ``FC_EncryptFinal``. 52 53 A user must log into the token (to assume the NSS User role) before calling 54 ``FC_SignEncryptUpdate``. 55 56 .. _return_value: 57 58 `Return value <#return_value>`__ 59 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 61 .. container:: 62 63 `Examples <#examples>`__ 64 ~~~~~~~~~~~~~~~~~~~~~~~~ 65 66 .. container:: 67 68 .. _see_also: 69 70 `See also <#see_also>`__ 71 ~~~~~~~~~~~~~~~~~~~~~~~~ 72 73 .. container:: 74 75 - `NSC_SignEncryptUpdate </en-US/NSC_SignEncryptUpdate>`__