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

Version 1 Next »

Creates key for specified user. Check 'data' example below.

Parameters 

Name TypeDescription

data

object

information about key

cb

function

callback function


 

Example

this.createKey = function(data, cb) {
  return _request({
    method: 'POST',
    url: '/key/create',
    data: data,
    callback: cb
  });
};

 


Example Result

{
 name: 'newName',
 user: '12345678-1234-1234-123456789098',
 public: "", // base64 encoded public value
 private: "" // base64 encoded private value
}

 

 

  • No labels
Quatrix JavaSctipt APIs QJA