Quatrix JavaSctipt APIs
Space shortcuts
Quatrix JavaSctipt APIs QJA
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Sets PGP keys as default to your profile. (!)All files which was encrypted by previous keys will be unavalieble.

Parameters 

 

Name TypeDescription

id

required

string

key_request id

data

optional

array

PGP keys metadata

cb

optional

functioncallback metadata



Example

this.sendKeys = function(id, data, cb) {
  return _request({
    method: 'POST',
    url: '/key_request/respond/'+id,
    data: data,
    callback: cb
  });
};

 


Example Result

{
 name: 'pgpkey',
 private: "",
 public: ""
}

 

 

  • No labels
Quatrix JavaSctipt APIs QJA