Goby3  3.1.5a
2024.05.23
jwt::algorithm::hs256 Struct Reference

#include <goby/util/thirdparty/jwt-cpp/jwt.h>

Inheritance diagram for jwt::algorithm::hs256:
jwt::algorithm::hmacsha

Public Member Functions

 hs256 (std::string key)
 
- Public Member Functions inherited from jwt::algorithm::hmacsha
 hmacsha (std::string key, const EVP_MD *(*md)(), std::string name)
 
std::string sign (const std::string &data, std::error_code &ec) const
 
void verify (const std::string &data, const std::string &signature, std::error_code &ec) const
 
std::string name () const
 

Detailed Description

HS256 algorithm

Definition at line 1767 of file jwt.h.

Constructor & Destructor Documentation

◆ hs256()

jwt::algorithm::hs256::hs256 ( std::string  key)
inlineexplicit

Construct new instance of algorithm

Parameters
keyHMAC signing key

Definition at line 1773 of file jwt.h.


The documentation for this struct was generated from the following file: