split key generation and key writing
This commit is contained in:
@@ -11,7 +11,8 @@ public:
|
||||
CryptManager();
|
||||
~CryptManager();
|
||||
|
||||
static void GenerateRSAKey( unsigned int keyLength, RString privFilename, RString pubFilename );
|
||||
static void GenerateRSAKey( unsigned int keyLength, RString &sPrivKey, RString &sPubKey );
|
||||
static void GenerateRSAKeyToFile( unsigned int keyLength, RString privFilename, RString pubFilename );
|
||||
static void SignFileToFile( RString sPath, RString sSignatureFile = "" );
|
||||
static bool Sign( RString sPath, RString &sSignatureOut, RString sPrivateKey );
|
||||
static bool VerifyFileWithFile( RString sPath, RString sSignatureFile = "" );
|
||||
|
||||
Reference in New Issue
Block a user