|
JWT-CPP v0.7.2
A header only library for creating and validating JSON Web Tokens (JWT) in C++
|
#include <jwt.h>
Public Member Functions | |
| ed448 (const std::string &public_key, const std::string &private_key="", const std::string &public_key_password="", const std::string &private_key_password="") | |
| Public Member Functions inherited from jwt::algorithm::eddsa | |
| eddsa (const std::string &public_key, const std::string &private_key, const std::string &public_key_password, const std::string &private_key_password, 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 |
Ed448 algorithm
https://en.wikipedia.org/wiki/EdDSA#Ed448
Requires at least OpenSSL 1.1.1. Note: Not supported by LibreSSL.
|
inlineexplicit |
Construct new instance of algorithm
| public_key | Ed448 public key in PEM format |
| private_key | Ed448 private key or empty string if not available. If empty, signing will always fail. |
| public_key_password | Password to decrypt public key pem. |
| private_key_password | Password to decrypt private key pem. |