Lines Matching refs:FileSink
340 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(out)));
550 vector_member_ptrs<FileSink> fileSinks(nShares);
558 fileSinks[i].reset(new FileSink((string(filename)+extension).c_str()));
572 SecretRecovery recovery(threshold, new FileSink(outFilename));
600 vector_member_ptrs<FileSink> fileSinks(nShares);
608 fileSinks[i].reset(new FileSink((string(filename)+extension).c_str()));
622 InformationRecovery recovery(threshold, new FileSink(outFilename));
645 // FileSource(in, true, new Gzip(new FileSink(out), deflate_level));
661 FileSink sink(out);
677 FileSource(in, true, new Gunzip(new FileSink(out)));
682 FileSource(in, true, new Base64Encoder(new FileSink(out)));
687 FileSource(in, true, new Base64Decoder(new FileSink(out)));
692 FileSource(in, true, new HexEncoder(new FileSink(out)));
697 FileSource(in, true, new HexDecoder(new FileSink(out)));