Quatrix JavaSctipt APIs
Space shortcuts
Quatrix JavaSctipt APIs QJA
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

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.
Quatrix JavaSctipt APIs QJA