JWS Utilities

xorkeesign, xorkeeauth and Snorkel TX API

Applications connecting to the API interface of the above services require to authenticate using a JSON Web Signature (JWS).

Here are few free utilities to help integrators create the key pair and to sign JWS packets from their calling applications.

i
Users are free to choose their own implementation of ECC P256 key generation and JWS signing in their calling applications.

ECC Key Generation

This command line tool generates an ECC key pair. The generated public key will be stored in *.pub and the private key will be stored in *.pri.  Both the keys will be stored in PKCS#1 PEM format. The public key as stored can be directly used in the configuration interface in xorkeesign/ xorkeeauth/ Snorkel TX.

Checksum
:
3a0234bb8704565e5a13dfcf463bbc35
Date
:
29/12/2023
:
Generate an ECC 256 key pair for authenticating API calls.
view more
Checksum
:
f2b221e65361228b5ecdb9b5559c1554
Date
:
29/12/2023
:
Generate an ECC 256 key pair for authenticating API calls.
view more
Checksum
:
485911e52aaeeafce4ba09513393e53f
Date
:
29/12/2023
:
Generate an ECC 256 key pair for authenticating API calls.
view more

Code to sign a JWS from your application

Example code has been provided below for some popular platforms. For others, integrators may have to follow the specification given in RFC 7515.

Checksum
:
37f97ec78e4d77f0deadf1842808cf11
Date
:
29/12/2023
:
Guide for PHP integrators
view more
:
OTL_JWS.php | consumer.php
:
Source code to create the JSON Web Signature (JWS). These can be embedded with any xorkee based applications
view more
:
Example code showing usage of the above OTL_JWS.php
view more
Checksum
:
37362851fae88d2a6fb7a97686429166
Date
:
29/12/2023
:
Guide for Node.js integrators
view more
:
OTL_JWS.js | consumer.js
:
Source code to create the JSON Web Signature (JWS). These can be embedded with any xorkee based applications
view more
:
Example code showing usage of the above OTL_JWS.js
view more
Checksum
:
b123e424774ab6280a88200c7e1b9c4d
Date
:
29/12/2023
:
Guide for Java integrators
view more
:
OTL_JWS.java | consumer.java | OTL_JWS.jar
:
Source code to create the JSON Web Signature (JWS). These can be embedded with any xorkee based applications
view more
:
Example code showing usage of the above OTL_JWS.java
view more
Checksum
:
2ce0dff56327f632e75e45e1afd5ef67
Date
:
29/12/2023
:
Guide for C# integrators
view more
:
OTL_JWS.cs | consumer.cs | OTL_JWS.dll
:
Source code to create the JSON Web Signature (JWS). These can be embedded with any xorkee based applications
view more
:
Example code showing usage of the above OTL_JWS.cs
view more
Checksum
:
3e16ff2f029bb98a6b50991cc2a9c8ba
Date
:
29/12/2023
:
Guide for Python integrators
view more
:
OTL_JWS.py | consumer.py
:
Source code to create the JSON Web Signature (JWS). These can be embedded with any xorkee based applications
view more
:
Example code showing usage of the above OTL_JWS.py
view more