1#ifndef TENDUKE_JWT_FIXEDKEYJWTSIGNATUREVALIDATOR_H
2#define TENDUKE_JWT_FIXEDKEYJWTSIGNATUREVALIDATOR_H
4#include "./JWTSignatureValidator.h"
6#include "crypto/MessageDigestVerifier.h"
7#include "crypto/MessageDigestVerifierFactory.h"
25 std::shared_ptr<const tenduke::crypto::MessageDigestVerifierFactory> verifierFactory
34 std::size_t payloadLength,
35 const unsigned char * signatureBytes,
36 std::size_t signatureLengthB
40 const std::shared_ptr<const tenduke::crypto::MessageDigestVerifierFactory> newDigest;
JSON object element.
Definition JSONObject.h:16
A tenduke::jwt::JWTSignatureValidator, which expects that the signature digestAlgorithm and verificat...
Definition FixedKeyJWTSignatureValidator.h:18
bool validate(const json::JSONObject *jwtHeader, const char *payload, std::size_t payloadLength, const unsigned char *signatureBytes, std::size_t signatureLengthB) const override
Validates JWT signature.
Definition FixedKeyJWTSignatureValidator.cpp:12
Service for validating the JWT-signature.
Definition JWTSignatureValidator.h:15
Support for JSON Web Tokens.
Definition DefaultJWTParser.h:11
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4