Lines Matching refs:nigori
16 #include "chrome/browser/sync/util/nigori.h"
22 // The parameters used to initialize a Nigori instance.
29 // This class manages the Nigori objects used to encrypt and decrypt sensitive
30 // sync data (eg. passwords). Each Nigori object knows how to handle data
33 // Whenever an update to the Nigori sync node is received from the server,
35 // Most likely, an updated Nigori node means that a new passphrase has been set
86 // Creates a new Nigori instance using |params|. If successful, |params| will
91 // Decrypts |encrypted| and uses its contents to initialize Nigori instances.
119 typedef std::map<std::string, linked_ptr<const Nigori> > NigoriMap;
121 // Helper method to instantiate Nigori instances for each set of key
127 bool AddKeyImpl(Nigori* nigori);
129 // Functions to serialize + encrypt a Nigori object in an opaque format for
131 bool PackBootstrapToken(const Nigori* nigori, std::string* pack_into) const;
132 Nigori* UnpackBootstrapToken(const std::string& token) const;
135 NigoriMap::value_type* default_nigori_; // The Nigori used for encryption.