Example #1
0
 public BinarySerializer(
     IDataCompressor compressor,
     ILogger logger,
     IPasswordEncryption passwordEncryption,
     IPublicKeyEncryption publicKeyEncryption,
     IPublicKeyEncryption symmetricEncryption,
     IDataSerializer xmlSerializer)
 {
     this.compressor          = compressor;
     this.logger              = logger;
     this.passwordEncryption  = passwordEncryption;
     this.publicKeyEncryption = publicKeyEncryption;
     this.symmetricEncryption = symmetricEncryption;
     this.xmlSerializer       = xmlSerializer;
 }
Example #2
0
 public BinaryParser(
     IDataCompressor compressor,
     IHashAlgorithm hashAlgorithm,
     ILogger logger,
     IPasswordEncryption passwordEncryption,
     IPublicKeyEncryption publicKeyEncryption,
     IPublicKeyEncryption publicKeySymmetricEncryption,
     IDataParser xmlParser)
 {
     this.compressor                   = compressor;
     this.hashAlgorithm                = hashAlgorithm;
     this.logger                       = logger;
     this.passwordEncryption           = passwordEncryption;
     this.publicKeyEncryption          = publicKeyEncryption;
     this.publicKeySymmetricEncryption = publicKeySymmetricEncryption;
     this.xmlParser                    = xmlParser;
 }