|
| std::error_category & | jwt::error::rsa_error_category () |
| | Error category for RSA errors.
|
| |
| std::error_code | jwt::error::make_error_code (rsa_error e) |
| | Converts JWT-CPP errors into generic STL error_codes.
|
| |
| std::error_category & | jwt::error::ecdsa_error_category () |
| | Error category for ECDSA errors.
|
| |
| std::error_code | jwt::error::make_error_code (ecdsa_error e) |
| | Converts JWT-CPP errors into generic STL error_codes.
|
| |
| std::error_category & | jwt::error::signature_verification_error_category () |
| | Error category for verification errors.
|
| |
| std::error_code | jwt::error::make_error_code (signature_verification_error e) |
| | Converts JWT-CPP errors into generic STL error_codes.
|
| |
| std::error_category & | jwt::error::signature_generation_error_category () |
| | Error category for signature generation errors.
|
| |
| std::error_code | jwt::error::make_error_code (signature_generation_error e) |
| | Converts JWT-CPP errors into generic STL error_codes.
|
| |
| std::error_category & | jwt::error::token_verification_error_category () |
| | Error category for token verification errors.
|
| |
| std::error_code | jwt::error::make_error_code (token_verification_error e) |
| | Converts JWT-CPP errors into generic STL error_codes.
|
| |
| void | jwt::error::throw_if_error (std::error_code ec) |
| | Raises an exception if any JWT-CPP error codes are active.
|
| |
| std::unique_ptr< BIO, decltype(&BIO_free_all)> | jwt::helper::make_mem_buf_bio () |
| |
| std::unique_ptr< BIO, decltype(&BIO_free_all)> | jwt::helper::make_mem_buf_bio (const std::string &data) |
| |
| template<typename error_category = error::rsa_error> |
| std::string | jwt::helper::write_bio_to_string (std::unique_ptr< BIO, decltype(&BIO_free_all)> &bio_out, std::error_code &ec) |
| |
| std::unique_ptr< EVP_MD_CTX, void(*)(EVP_MD_CTX *)> | jwt::helper::make_evp_md_ctx () |
| |
| template<typename error_category = error::rsa_error> |
| std::string | jwt::helper::extract_pubkey_from_cert (const std::string &certstr, const std::string &pw, std::error_code &ec) |
| | Extract the public key of a pem certificate.
|
| |
| template<typename error_category = error::rsa_error> |
| std::string | jwt::helper::extract_pubkey_from_cert (const std::string &certstr, const std::string &pw="") |
| | Extract the public key of a pem certificate.
|
| |
| std::string | jwt::helper::convert_der_to_pem (const std::string &cert_der_str, std::error_code &ec) |
| | Convert the certificate provided as DER to PEM.
|
| |
| template<typename Decode > |
| std::string | jwt::helper::convert_base64_der_to_pem (const std::string &cert_base64_der_str, Decode decode, std::error_code &ec) |
| | Convert the certificate provided as base64 DER to PEM.
|
| |
| template<typename Decode > |
| std::string | jwt::helper::convert_base64_der_to_pem (const std::string &cert_base64_der_str, Decode decode) |
| | Convert the certificate provided as base64 DER to PEM.
|
| |
| std::string | jwt::helper::convert_der_to_pem (const std::string &cert_der_str) |
| | Convert the certificate provided as DER to PEM.
|
| |
| std::string | jwt::helper::convert_base64_der_to_pem (const std::string &cert_base64_der_str, std::error_code &ec) |
| | Convert the certificate provided as base64 DER to PEM.
|
| |
| std::string | jwt::helper::convert_base64_der_to_pem (const std::string &cert_base64_der_str) |
| | Convert the certificate provided as base64 DER to PEM.
|
| |
| template<typename error_category = error::rsa_error> |
| evp_pkey_handle | jwt::helper::load_public_key_from_string (const std::string &key, const std::string &password, std::error_code &ec) |
| | Load a public key from a string.
|
| |
| template<typename error_category = error::rsa_error> |
| evp_pkey_handle | jwt::helper::load_public_key_from_string (const std::string &key, const std::string &password="") |
| | Load a public key from a string.
|
| |
| template<typename error_category = error::rsa_error> |
| evp_pkey_handle | jwt::helper::load_private_key_from_string (const std::string &key, const std::string &password, std::error_code &ec) |
| | Load a private key from a string.
|
| |
| template<typename error_category = error::rsa_error> |
| evp_pkey_handle | jwt::helper::load_private_key_from_string (const std::string &key, const std::string &password="") |
| | Load a private key from a string.
|
| |
| evp_pkey_handle | jwt::helper::load_public_ec_key_from_string (const std::string &key, const std::string &password, std::error_code &ec) |
| | Load a public key from a string.
|
| |
| std::string | jwt::helper::bn2raw (const BIGNUM *bn) |
| |
| std::unique_ptr< BIGNUM, decltype(&BN_free)> | jwt::helper::raw2bn (const std::string &raw, std::error_code &ec) |
| |
| std::unique_ptr< BIGNUM, decltype(&BN_free)> | jwt::helper::raw2bn (const std::string &raw) |
| |
| evp_pkey_handle | jwt::helper::load_public_ec_key_from_string (const std::string &key, const std::string &password="") |
| | Load a public key from a string.
|
| |
| evp_pkey_handle | jwt::helper::load_private_ec_key_from_string (const std::string &key, const std::string &password, std::error_code &ec) |
| | Load a private key from a string.
|
| |
| template<typename Decode > |
| std::string | jwt::helper::create_public_key_from_rsa_components (const std::string &modulus, const std::string &exponent, Decode decode, std::error_code &ec) |
| | create public key from modulus and exponent. This is defined in RFC 7518 Section 6.3 Using the required "n" (Modulus) Parameter and "e" (Exponent) Parameter.
|
| |
| template<typename Decode > |
| std::string | jwt::helper::create_public_key_from_rsa_components (const std::string &modulus, const std::string &exponent, Decode decode) |
| |
| std::string | jwt::helper::create_public_key_from_rsa_components (const std::string &modulus, const std::string &exponent, std::error_code &ec) |
| |
| std::string | jwt::helper::create_public_key_from_rsa_components (const std::string &modulus, const std::string &exponent) |
| |
| evp_pkey_handle | jwt::helper::load_private_ec_key_from_string (const std::string &key, const std::string &password="") |
| | Load a private key from a string.
|
| |
| int | jwt::helper::curve2nid (const std::string curve, std::error_code &ec) |
| | Convert a curve name to an ID.
|
| |
| template<typename Decode > |
| std::string | jwt::helper::create_public_key_from_ec_components (const std::string &curve, const std::string &x, const std::string &y, Decode decode, std::error_code &ec) |
| |
| template<typename Decode > |
| std::string | jwt::helper::create_public_key_from_ec_components (const std::string &curve, const std::string &x, const std::string &y, Decode decode) |
| |
| std::string | jwt::helper::create_public_key_from_ec_components (const std::string &curve, const std::string &x, const std::string &y, std::error_code &ec) |
| |
| std::string | jwt::helper::create_public_key_from_ec_components (const std::string &curve, const std::string &x, const std::string &y) |
| |
| | jwt::details::JWT_CPP_SUPPORTS_AS (object) |
| |
| | jwt::details::JWT_CPP_SUPPORTS_AS (array) |
| |
| | jwt::details::JWT_CPP_SUPPORTS_AS (string) |
| |
| | jwt::details::JWT_CPP_SUPPORTS_AS (number) |
| |
| | jwt::details::JWT_CPP_SUPPORTS_AS (integer) |
| |
| | jwt::details::JWT_CPP_SUPPORTS_AS (boolean) |
| |
| template<typename Clock , typename json_traits > |
| verifier< Clock, json_traits > | jwt::verify (Clock c) |
| |
| template<typename Clock , typename json_traits > |
| builder< Clock, json_traits > | jwt::create (Clock c) |
| |
| template<typename json_traits > |
| verifier< default_clock, json_traits > | jwt::verify (default_clock c={}) |
| |
| template<typename json_traits > |
| builder< default_clock, json_traits > | jwt::create (default_clock c={}) |
| |
| template<typename json_traits , typename Decode > |
| decoded_jwt< json_traits > | jwt::decode (const typename json_traits::string_type &token, Decode decode) |
| | Decode a token. This can be used to to help access important feild like 'x5c' for verifying tokens. See associated example rsa-verify.cpp for more details.
|
| |
| template<typename json_traits > |
| decoded_jwt< json_traits > | jwt::decode (const typename json_traits::string_type &token) |
| |
| template<typename json_traits > |
| jwk< json_traits > | jwt::parse_jwk (const typename json_traits::string_type &jwk_) |
| |
| template<typename json_traits > |
| jwks< json_traits > | jwt::parse_jwks (const typename json_traits::string_type &jwks_) |
| |
| template<typename json_traits > |
| std::istream & | operator>> (std::istream &is, jwt::basic_claim< json_traits > &c) |
| |
| template<typename json_traits > |
| std::ostream & | operator<< (std::ostream &os, const jwt::basic_claim< json_traits > &c) |
| |