This tool will help you to Verify the JWS Object
Related Tool
Instead of directly asking for donations, I'm thrilled to offer you all nine of my books for just $9 on leanpub By grabbing this bundle you not only help cover my coffee, beer, and Amazon bills but also play a crucial role in advancing and refining this project. Your contribution is indispensable, and I'm genuinely grateful for your involvement in this journey!
Any private key value that you enter or we generate is not stored on this site, this tool is provided via an HTTPS URL to ensure that private keys cannot be stolen, for extra security run this software on your network, no cloud dependency
A JWS is represented as the concatenation of
BASE64URL(UTF8(JWS Protected Header)) || '.' ||
BASE64URL(JWS Payload) || '.' ||
BASE64URL(JWS Signature)
In the JWS JSON Serialization, a JWS is represented as a JSON object containing some or all of these four members:
BASE64URL(UTF8(JWS Protected Header))
{"alg":"HS256"}
BASE64URL(UTF8(JWS Protected Header))
gives this value:eyJhbGciOiJIUzI1NiJ9
BASE64URL(JWS Payload)
for example the payload{
"sub": "1234567890",
"name": "Anish Nath",
"iat": 1516239022
}
Encoding this JWS Payload as BASE64URL(JWS Payload)
gives this value
ew0KICAic3ViIjogIjEyMzQ1Njc4OTAiLA0KICAibmFtZSI6ICJBbmlzaCBOYXRoIiwNCiAgImlhdCI6IDE1MTYyMzkwMjINCn0
BASE64URL(JWS Signature)
Computing the HMAC with the HMAC9tFLrurxXWKBDh317ly24fP03We-uzSZtPf7Yqy_oSw