Restructured some for clarity, got rid of the crappy JSON library, general awesomeness.
This commit is contained in:
parent
022ff26205
commit
e3ecdb1e4b
34 changed files with 965 additions and 6996 deletions
11
util/auth.h
Normal file
11
util/auth.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include <string>
|
||||
#include <openssl/rsa.h>
|
||||
#include <openssl/x509.h>
|
||||
|
||||
class Auth{
|
||||
private:
|
||||
RSA * pubkey; ///< Holds the public key.
|
||||
public:
|
||||
Auth(); ///< Attempts to load the GBv2 public key.
|
||||
bool PubKey_Check(std::string & data, std::string basesign); ///< Attempts to verify RSA signature using the public key.
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue