Returns metadata for specified PGP key. Private key is also returned if request was initiated by owner.

Parameters

 

Name TypeDescription

uuid

required

string

PGP key uuid

cb

optional

function

callback function


Example

this.getKeyMetadata = function(uuid, cb) {
  return _request({
    method: 'GET',
    url: '/key/metadata/' + uuid,
    callback: cb
  });
};