Home | History | Annotate | Download | only in util

Lines Matching refs:Nigori

16 #include "sync/util/nigori.h"
29 // The parameters used to initialize a Nigori instance.
36 // This class manages the Nigori objects used to encrypt and decrypt sensitive
37 // sync data (eg. passwords). Each Nigori object knows how to handle data
40 // Whenever an update to the Nigori sync node is received from the server,
42 // Most likely, an updated Nigori node means that a new passphrase has been set
106 // Creates a new Nigori instance using |params|. If successful, |params| will
113 // Same as AddKey(..), but builds the new Nigori from a previously persisted
121 // Creates a new Nigori instance using |params|. If successful, |params|
122 // will be added to the nigori keybag, but will not be the default encryption
129 // Decrypts |encrypted| and uses its contents to initialize Nigori instances.
152 // Sets the default key to the nigori with name |key_name|. |key_name| must
153 // correspond to a nigori that has already been installed into the keybag.
183 // Generates a new Nigori from |serialized_nigori_key|, and if successful
184 // installs the new nigori as the default key.
188 typedef std::map<std::string, linked_ptr<const Nigori> > NigoriMap;
190 // Helper method to instantiate Nigori instances for each set of key
192 // Does not update the default nigori.
195 // Helper method to add a nigori to the keybag, optionally making it the
197 bool AddKeyImpl(scoped_ptr<Nigori> nigori, bool set_as_default);
206 // The key name associated with the default nigori. If non-empty, must
207 // correspond to a nigori within |nigoris_|.