Convert to autotools build system for cleanness (part1).
This commit is contained in:
parent
c123111e70
commit
ad410a2e79
75 changed files with 63 additions and 3314 deletions
11
lib/auth.h
Normal file
11
lib/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