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

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

Parameters 

 

Name TypeDescription

data

required

object

information about key

cb

optional

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

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