Searched refs:FileSink (Results 1 - 8 of 8) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dfiles.h67 class CRYPTOPP_DLL FileSink : public Sink, public NotCopyable class in inherits:Sink,NotCopyable
75 class OpenErr : public Err {public: OpenErr(const std::string &filename) : Err("FileSink: error opening file for writing: " + filename) {}};
76 class WriteErr : public Err {public: WriteErr() : Err("FileSink: error writing file") {}};
78 FileSink() : m_stream(NULL) {} function in class:FileSink
79 FileSink(std::ostream &out) function in class:FileSink
81 FileSink(const char *filename, bool binary=true) function in class:FileSink
H A Dtest.cpp340 FileSource usage("TestData/usage.dat", true, new FileSink(cout));
373 store.TransferTo(FileSink((IntToString(i) + ".rnd").c_str()).Ref(), 20000);
394 HexEncoder privFile(new FileSink(privFilename));
399 HexEncoder pubFile(new FileSink(pubFilename));
431 FileSource f(messageFilename, true, new SignerFilter(GlobalRNG(), priv, new HexEncoder(new FileSink(signatureFilename))));
474 HexEncoder encoder(new FileSink(cout), false);
497 FileSource(file, true, new HashFilter(*mac, new HexEncoder(new FileSink(cout))));
505 FileSource(infile, true, new StreamTransformationFilter(aes, new FileSink(outfile)));
532 FileSource f(in, true, new DefaultEncryptorWithMAC(passPhrase, new FileSink(out)));
537 FileSource f(in, true, new DefaultDecryptorWithMAC(passPhrase, new FileSink(ou
[all...]
H A Dfiles.cpp19 FileSink f2;
155 void FileSink::IsolatedInitialize(const NameValuePairs &parameters)
174 bool FileSink::IsolatedFlush(bool hardFlush, bool blocking)
177 throw Err("FileSink: output stream not opened");
186 size_t FileSink::Put2(const byte *inString, size_t length, int messageEnd, bool blocking)
189 throw Err("FileSink: output stream not opened");
H A Ddatatest.cpp232 SignerFilter f(GlobalRNG(), *signer, new HexEncoder(new FileSink(cout)));
367 StringSource xx(encrypted, false, new HexEncoder(new FileSink(std::cout)));
379 StringSource xx(decrypted, false, new HexEncoder(new FileSink(std::cout)));
449 StringSource xx(encrypted, false, new HexEncoder(new FileSink(std::cout)));
457 StringSource xx(decrypted, false, new HexEncoder(new FileSink(std::cout)));
587 x.Encode(HexEncoder(new FileSink(cout), false, 64, "\\\n ").Ref(), x.MinEncodedSize());
H A Dvalidat1.cpp420 HexEncoder output(new FileSink(cout));
880 HexEncoder output(new FileSink(cout));
1158 HexEncoder output(new FileSink(cout));
H A Dfipsalgt.cpp1273 pSink = new FileSink(outPathname.c_str(), false);
1276 pSink = new FileSink(cout);
H A Dvalidat3.cpp622 HexEncoder enc(new FileSink(cout));
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/
H A DClientCreditsList.cpp258 CryptoPP::FileSink *fileSink = new CryptoPP::FileSink(filename);

Completed in 181 milliseconds