SA-MP/saco/archive/Signer.h
2023-11-08 20:29:53 +08:00

22 lines
307 B
C++

#pragma once
#include <windows.h>
#include "Hasher.h"
#include "KeyPair.h"
class CSigner
{
private:
BYTE* m_pbSignature;
DWORD m_dwLength;
public:
CSigner(void);
~CSigner(void);
void SetSignature(DWORD dwLength, BYTE* pbSignature);
BOOL VerifySignature(CHasher* pHasher, CKeyPair* pKeyPair);
};