|
Virgil Security C++ SDK
|
Class responsible for verification of JWTs. More...
#include <JwtVerifier.h>
Public Member Functions | |
| JwtVerifier (crypto::keys::PublicKey apiPublicKey, std::string apiPublicKeyIdentifier, std::shared_ptr< crypto::Crypto > crypto) | |
| Constructor. More... | |
| bool | verifyToken (const Jwt &token) const |
| Verifies Jwt signature. More... | |
| const crypto::keys::PublicKey & | apiPublicKey () const |
| Getter. More... | |
| const std::string & | apiPublicKeyIdentifier () const |
| Getter. More... | |
| const std::shared_ptr< crypto::Crypto > & | crypto () const |
| Getter. More... | |
Class responsible for verification of JWTs.
| virgil::sdk::jwt::JwtVerifier::JwtVerifier | ( | crypto::keys::PublicKey | apiPublicKey, |
| std::string | apiPublicKeyIdentifier, | ||
| std::shared_ptr< crypto::Crypto > | crypto | ||
| ) |
Constructor.
| apiPublicKey | Public Key which should be used to verify signatures |
| apiPublicKeyIdentifier | identifier of public key which should be used to verify signatures |
| crypto | std::shared_ptr to Crypto instance |
| const crypto::keys::PublicKey& virgil::sdk::jwt::JwtVerifier::apiPublicKey | ( | ) | const |
Getter.
| const std::string& virgil::sdk::jwt::JwtVerifier::apiPublicKeyIdentifier | ( | ) | const |
Getter.
| const std::shared_ptr<crypto::Crypto>& virgil::sdk::jwt::JwtVerifier::crypto | ( | ) | const |
Getter.
| bool virgil::sdk::jwt::JwtVerifier::verifyToken | ( | const Jwt & | token | ) | const |
1.8.10