REST API

Constructing Messages Using JSON Web Tokens

Follow these steps to construct messages using JWTs:
  1. Create a PKCS12 certificate. See Creating a PKCS12 File.
  2. Extract the private key from the PKCS12 certificate. See Extracting the Private Key from the PKCS12 Certificate.
  3. Generate a hash of the message body. See Generating a Hash of the Message Body.
  4. Populate the header values.
  5. Generate a hash of the claim set. See Generating a Hash of the Claim Set.
  6. Generate a hash of the token header. See Generating a Hash of the Token Header.
  7. Generate a token tignature hash. See Generating a Token Signature.
  8. Populate the
    signature
    header field. See Updating Header Fields.