split out crypto++-specific signing code; prefer to create our own RageFileBasic
This commit is contained in:
@@ -14,6 +14,7 @@ public:
|
||||
static void GenerateRSAKey( unsigned int keyLength, CString privFilename, CString pubFilename, CString seed );
|
||||
|
||||
static void SignFileToFile( CString sPath, CString sSignatureFile = "" );
|
||||
static bool SignFile( RageFileBasic &file, CString sPrivKey, CString &sSignatureOut, CString &sError );
|
||||
static bool VerifyFile( RageFileBasic &file, CString sSignature, CString sPublicKey, CString &sError );
|
||||
static bool VerifyFileWithFile( CString sPath, CString sSignatureFile = "" );
|
||||
static bool VerifyFileWithFile( CString sPath, CString sSignatureFile, CString sPublicKeyFile );
|
||||
|
||||
Reference in New Issue
Block a user