Package bscw :: Package api :: Package Secure :: Module ap_set_public_key
[hide private]

Module ap_set_public_key

Secure Package: set public key
   API handler to set public key for user
   called by client after public key is uploaded
   target_id         should refer to user object
   public_key_id    should refer to new key object (Document)

   sets access rights on key to allow access to registered users
   returns success or failure (0)

API definition::

 API = (('target_id', 'ASCII string', 1),
        ('public_key_id', 'ASCII string', 1))


Version: $Rev: 20131 $

Functions [hide private]
 
param_def()
return the parameter definition
 
do_it(request, target_id, public_key_id)
see above
Variables [hide private]
  __package__ = None