MCPcopy Create free account
hub / github.com/c3d/tao3D / RSASignFile

Function RSASignFile

libcryptopp/cryptopp/test.cpp:427–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427void RSASignFile(const char *privFilename, const char *messageFilename, const char *signatureFilename)
428{
429 FileSource privFile(privFilename, true, new HexDecoder);
430 RSASS<PKCS1v15, SHA>::Signer priv(privFile);
431 FileSource f(messageFilename, true, new SignerFilter(GlobalRNG(), priv, new HexEncoder(new FileSink(signatureFilename))));
432}
433
434bool RSAVerifyFile(const char *pubFilename, const char *messageFilename, const char *signatureFilename)
435{

Callers 1

CRYPTOPP_API mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected