private XElement CompileRootNode(RootNodeInfo rootNodeInfo, bool fullFileEncryption, bool export)
 {
     var rootNodeSerializer = new XmlRootNodeSerializer();
     return rootNodeSerializer.SerializeRootNodeInfo(rootNodeInfo, _cryptographyProvider, fullFileEncryption, export);
 }
        private XElement CompileRootNode(RootNodeInfo rootNodeInfo, bool fullFileEncryption, bool export)
        {
            var rootNodeSerializer = new XmlRootNodeSerializer();

            return(rootNodeSerializer.SerializeRootNodeInfo(rootNodeInfo, _cryptographyProvider, fullFileEncryption, export));
        }
 public void Setup()
 {
     _rootNodeSerializer = new XmlRootNodeSerializer();
     _cryptographyProvider = new AeadCryptographyProvider();
     _rootNodeInfo = new RootNodeInfo(RootNodeType.Connection);
 }