1#ifndef TENDUKE_JWK_JWK_H
2#define TENDUKE_JWK_JWK_H
4#include "crypto/PublicKey.h"
5#include "crypto/MessageDigest.h"
10namespace tenduke {
namespace jwk {
28 const std::shared_ptr<const tenduke::crypto::PublicKey> &
key
36 const std::shared_ptr<const tenduke::crypto::PublicKey>
key;
Algorithm
Supported algorithms.
Definition MessageDigest.h:24
Describes a JWK, Json Web Key.
Definition JWK.h:17
const std::shared_ptr< const tenduke::crypto::PublicKey > key
Parsed key representation.
Definition JWK.h:36
const std::string id
Id of the key, JWK property "kid".
Definition JWK.h:32
const std::string type
Type of the key, JWK property "kty".
Definition JWK.h:34
JWK(std::string id, std::string type, const std::shared_ptr< const tenduke::crypto::PublicKey > &key)
Constructs new instance.
Definition JWK.cpp:6
static tenduke::crypto::MessageDigest::Algorithm mapFromJWTAlgorithm(const std::string &jwtAlgorithm)
Maps JSON Web Token algorithm (alg) to Algorithm.
Definition JWK.cpp:15
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7