"none" algorithm. More...
#include <jwt.h>
Public Member Functions | |
| std::string | sign (const std::string &, std::error_code &ec) const |
| Return an empty string. More... | |
| void | verify (const std::string &, const std::string &signature, std::error_code &ec) const |
| Check if the given signature is empty. More... | |
| std::string | name () const |
| Get algorithm name. More... | |
"none" algorithm.
Returns and empty signature and checks if the given signature is empty.
|
inline |
Get algorithm name.
|
inline |
Return an empty string.
|
inline |
Check if the given signature is empty.
JWT's with "none" algorithm should not contain a signature.
| signature | Signature data to verify |
| ec | error_code filled with details about the error |