tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

index.rst (1527B)


      1 .. _mozilla_projects_nss_reference_fc_sign:
      2 
      3 FC_Sign
      4 =======
      5 
      6 `Name <#name>`__
      7 ~~~~~~~~~~~~~~~~
      8 
      9 .. container::
     10 
     11   FC_Sign - sign a block of data.
     12 
     13 `Syntax <#syntax>`__
     14 ~~~~~~~~~~~~~~~~~~~~
     15 
     16 .. container::
     17 
     18   .. code::
     19 
     20      CK_RV FC_Sign(
     21        CK_SESSION_HANDLE hSession,
     22        CK_BYTE_PTR pData,
     23        CK_ULONG usDataLen,
     24        CK_BYTE_PTR pSignature,
     25        CK_ULONG_PTR pusSignatureLen
     26      );
     27 
     28 `Parameters <#parameters>`__
     29 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     30 
     31 .. container::
     32 
     33   ``hSession``
     34      [in] session handle.
     35   ``pData``
     36      [in] pointer to data block.
     37   ``usDataLen``
     38      [in] length of the data in bytes.
     39   ``pSignature``
     40      [out] pointer to location where recovered data is to be stored.
     41   ``pusSignatureLen``
     42      [in, out] pointer to the maximum size of the output buffer, replaced by the length of the
     43      signature if the operation is successful.
     44 
     45 `Description <#description>`__
     46 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     47 
     48 .. container::
     49 
     50   ``FC_Sign`` signs a message in a single operation according to the attributes of the previous
     51   call to ``FC_SignInit``.
     52 
     53   A user must log into the token (to assume the NSS User role) before calling ``FC_Sign``.
     54 
     55 .. _return_value:
     56 
     57 `Return value <#return_value>`__
     58 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     59 
     60 .. container::
     61 
     62 `Examples <#examples>`__
     63 ~~~~~~~~~~~~~~~~~~~~~~~~
     64 
     65 .. container::
     66 
     67 .. _see_also:
     68 
     69 `See also <#see_also>`__
     70 ~~~~~~~~~~~~~~~~~~~~~~~~
     71 
     72 .. container::
     73 
     74   -  :ref:`mozilla_projects_nss_reference_fc_signinit`, `NSC_Sign </en-US/NSC_Sign>`__