Generate PoK

The Proof of Key generation method allows you to generate a challenge to prove ownership and control of a specific cryptographic key. This challenge can be used for verification purposes.

POST /pok

Parameters

This method does not require any parameters.

Return Values

The Proof of Key generation method returns the following values in the response:

  • GUID: A globally unique identifier representing the generated challenge.
  • JSON Object: A JSON object containing the following properties:
  • T: A type identifier, such as “POK”, indicating the proof of key challenge.
  • C: A 32-byte challenge represented as a hexadecimal string.
  • I: The GUID identifier associated with this challenge.

Sample response

{
  "GUID": "789acf21-ef8d-4b7a-b2c5-76a8d9e0c123",
  "JSON": {
    "T": "POK",
    "C": "0x04270a20b8bd17832071028e3a5206d896d237d96dd2e1e7f23dab3ca41590949b15fff0",
    "I": "789acf21-ef8d-4b7a-b2c5-76a8d9e0c123"
  }
}