tor-browser

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

index.rst (1471B)


      1 .. _mozilla_projects_nss_reference_fc_copyobject:
      2 
      3 FC_CopyObject
      4 =============
      5 
      6 `Name <#name>`__
      7 ~~~~~~~~~~~~~~~~
      8 
      9 .. container::
     10 
     11   FC_CopyObject - create a copy of an object.
     12 
     13 `Syntax <#syntax>`__
     14 ~~~~~~~~~~~~~~~~~~~~
     15 
     16 .. container::
     17 
     18   .. code::
     19 
     20      CK_RV FC_CopyObject(
     21        CK_SESSION_HANDLE hSession,
     22        CK_OBJECT_HANDLE hObject,
     23        CK_ATTRIBUTE_PTR pTemplate,
     24        CK_ULONG usCount,
     25        CK_OBJECT_HANDLE_PTR phNewObject
     26      );
     27 
     28 `Parameters <#parameters>`__
     29 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     30 
     31 .. container::
     32 
     33   ``hSession``
     34      [in] session handle.
     35   ``hObject``
     36      [in] object handle.
     37   ``pTemplate``
     38      [in] object template.
     39   ``usCount``
     40      [in] number of attributes in the template.
     41   ``phnewObject``
     42      [out] pointer to location to receive the new object's handle.
     43 
     44 `Description <#description>`__
     45 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     46 
     47 .. container::
     48 
     49   ``FC_CopyObject`` creates a copy of an object using the attributes specified in the template.
     50 
     51   A user must log into the token (to assume the NSS User role) before copying a secret or private
     52   key object.
     53 
     54 .. _return_value:
     55 
     56 `Return value <#return_value>`__
     57 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     58 
     59 .. container::
     60 
     61 `Examples <#examples>`__
     62 ~~~~~~~~~~~~~~~~~~~~~~~~
     63 
     64 .. container::
     65 
     66 .. _see_also:
     67 
     68 `See also <#see_also>`__
     69 ~~~~~~~~~~~~~~~~~~~~~~~~
     70 
     71 .. container::
     72 
     73   -  :ref:`mozilla_projects_nss_reference_fc_destroyobject`,
     74      `NSC_CopyObject </en-US/NSC_CopyObject>`__