Home | History | Annotate | Download | only in util

Lines Matching refs:sync_pb

18 namespace sync_pb {
69 bool CanDecrypt(const sync_pb::EncryptedData& encrypted) const;
73 bool CanDecryptUsingDefaultKey(const sync_pb::EncryptedData& encrypted) const;
82 sync_pb::EncryptedData* encrypted) const;
91 sync_pb::EncryptedData* encrypted) const;
95 bool Decrypt(const sync_pb::EncryptedData& encrypted,
100 std::string DecryptToString(const sync_pb::EncryptedData& encrypted) const;
104 bool GetKeys(sync_pb::EncryptedData* encrypted) const;
133 void InstallKeys(const sync_pb::EncryptedData& encrypted);
138 void SetPendingKeys(const sync_pb::EncryptedData& encrypted);
144 const sync_pb::EncryptedData& GetPendingKeys() const;
177 bool KeybagIsStale(const sync_pb::EncryptedData& keybag) const;
179 // Returns a serialized sync_pb::NigoriKey version of current default
193 void InstallKeyBag(const sync_pb::NigoriKeyBag& bag);
199 // Helper to unencrypt a bootstrap token into a serialized sync_pb::NigoriKey.
210 scoped_ptr<sync_pb::EncryptedData> pending_keys_;