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

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

required

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
Write a comment…