/external/chromium_org/sync/engine/ |
apply_control_data_updates.h | 12 class Cryptographer; 23 Cryptographer* cryptographer); 26 Cryptographer* cryptographer);
|
conflict_resolver.h | 24 class Cryptographer; 53 const Cryptographer* cryptographer, 61 const Cryptographer* cryptographer,
|
update_applicator.h | 34 class Cryptographer; 38 UpdateApplicator(Cryptographer* cryptographer); 66 Cryptographer* cryptographer_;
|
process_updates_util.h | 32 class Cryptographer; 68 const Cryptographer* cryptographer,
|
syncer_util.h | 33 class Cryptographer; 51 Cryptographer* cryptographer);
|
apply_control_data_updates_unittest.cc | 25 #include "sync/util/cryptographer.h" 63 // updates the set of encrypted types, and updates the cryptographer. 65 // Storing the cryptographer separately is bad, but for this test we 67 Cryptographer* cryptographer; local 73 cryptographer = directory()->GetCryptographer(&trans); 78 // Nigori node updates should update the Cryptographer. 79 Cryptographer other_cryptographer(cryptographer->encryptor()); 89 EXPECT_FALSE(cryptographer->has_pending_keys()) 110 Cryptographer* cryptographer; local 223 Cryptographer* cryptographer; local 311 Cryptographer* cryptographer; local 389 Cryptographer* cryptographer; local 467 Cryptographer* cryptographer; local 537 Cryptographer* cryptographer; local 619 Cryptographer* cryptographer; local 702 Cryptographer* cryptographer; local 781 Cryptographer* cryptographer; local [all...] |
/external/chromium_org/sync/internal_api/ |
syncapi_internal.h | 22 class Cryptographer; 26 Cryptographer* crypto); 33 bool AreSpecificsEqual(const Cryptographer* cryptographer,
|
base_transaction.cc | 9 #include "sync/util/cryptographer.h" 23 Cryptographer* BaseTransaction::GetCryptographer() const {
|
sync_encryption_handler_impl.h | 20 #include "sync/util/cryptographer.h" 86 Cryptographer* GetCryptographerUnsafe(); 132 // Sync's cryptographer. Used for encrypting and decrypting sync data. 133 Cryptographer cryptographer; member in struct:syncer::SyncEncryptionHandlerImpl::Vault 144 // Apply a nigori update. Updates internal and cryptographer state. 157 // explicit passphrase state (if the cryptographer is ready). 195 // |bootstrap_token|: used to inform observers if the cryptographer's 200 // |trans| and |nigori_node|: used to access data in the cryptographer. 220 // 1. Cryptographer has no pending key [all...] |
syncapi_internal.cc | 10 #include "sync/util/cryptographer.h" 15 const sync_pb::EntitySpecifics& specifics, Cryptographer* crypto) { 55 bool AreSpecificsEqual(const Cryptographer* cryptographer, 62 if (!cryptographer->CanDecrypt(left.encrypted())) { 66 left_plaintext = cryptographer->DecryptToString(left.encrypted()); 71 if (!cryptographer->CanDecrypt(right.encrypted())) { 75 right_plaintext = cryptographer->DecryptToString(right.encrypted());
|
js_sync_encryption_handler_observer.h | 48 Cryptographer* cryptographer) OVERRIDE;
|
/external/chromium_org/sync/util/ |
cryptographer.cc | 5 #include "sync/util/cryptographer.h" 25 Cryptographer::Cryptographer(Encryptor* encryptor) 30 Cryptographer::~Cryptographer() {} 33 void Cryptographer::Bootstrap(const std::string& restored_bootstrap_token) { 46 bool Cryptographer::CanDecrypt(const sync_pb::EncryptedData& data) const { 50 bool Cryptographer::CanDecryptUsingDefaultKey( 56 bool Cryptographer::Encrypt( 61 LOG(ERROR) << "Cryptographer not ready, failed to encrypt." [all...] |
cryptographer.h | 47 // CanDecrypt should be used to verify whether the Cryptographer can decrypt 50 class SYNC_EXPORT Cryptographer { 53 explicit Cryptographer(Encryptor* encryptor); 54 ~Cryptographer(); 57 // Cryptographer instance into the ready state (is_ready will be true). 115 // with a cryptographer that has already been initialized. 142 // cryptographer has no pending keys. Like other calls that access the 143 // cryptographer, this method must be called from within a transaction. 160 // Returns whether this Cryptographer is ready to encrypt and decrypt data. 169 // Cryptographer instance to bootstrap itself. Returns false if such a toke [all...] |
/external/chromium/chrome/browser/sync/util/ |
cryptographer.cc | 6 #include "chrome/browser/sync/util/cryptographer.h" 19 Cryptographer::Cryptographer() : default_nigori_(NULL) { 22 Cryptographer::~Cryptographer() {} 24 void Cryptographer::Bootstrap(const std::string& restored_bootstrap_token) { 35 bool Cryptographer::CanDecrypt(const sync_pb::EncryptedData& data) const { 39 bool Cryptographer::CanDecryptUsingDefaultKey( 44 bool Cryptographer::Encrypt(const ::google::protobuf::MessageLite& message, 64 bool Cryptographer::Decrypt(const sync_pb::EncryptedData& encrypted [all...] |
cryptographer.h | 40 // CanDecrypt should be used to verify whether the Cryptographer can decrypt 43 class Cryptographer { 45 Cryptographer(); 46 ~Cryptographer(); 49 // Cryptographer instance into the ready state (is_ready will be true). 106 // Returns whether this Cryptographer is ready to encrypt and decrypt data. 113 // Cryptographer instance to bootstrap itself. Returns false if such a token 139 DISALLOW_COPY_AND_ASSIGN(Cryptographer);
|
cryptographer_unittest.cc | 5 #include "chrome/browser/sync/util/cryptographer.h" 18 Cryptographer cryptographer; local 19 EXPECT_FALSE(cryptographer.is_ready()); 25 EXPECT_FALSE(cryptographer.CanDecrypt(encrypted)); 29 Cryptographer cryptographer; local 32 cryptographer.AddKey(params); 33 EXPECT_TRUE(cryptographer.is_ready()); 39 EXPECT_FALSE(cryptographer.CanDecrypt(encrypted)) 43 Cryptographer cryptographer; local 64 Cryptographer cryptographer; local 110 Cryptographer cryptographer; local 121 Cryptographer cryptographer; local 156 Cryptographer cryptographer; local [all...] |
/external/chromium/chrome/browser/sync/engine/ |
update_applicator.h | 30 class Cryptographer; 38 Cryptographer* cryptographer, 69 Cryptographer* cryptographer_;
|
build_and_process_conflict_sets_command.h | 26 class Cryptographer; 46 Cryptographer* cryptographer, sessions::StatusController* status, 52 Cryptographer* cryptographer,
|
/external/chromium/chrome/browser/sync/syncable/ |
nigori_util.h | 15 class Cryptographer; 52 browser_sync::Cryptographer* cryptographer);
|
directory_manager.h | 24 #include "chrome/browser/sync/util/cryptographer.h" 76 // Wrappers for cryptographer() that enforce holding a transaction. 77 // Note: the Cryptographer is NOT thread safe. It must only be accessed while 78 // the transaction is still active. The Cryptographer's pointer should not be 80 browser_sync::Cryptographer* GetCryptographer( 81 const sync_api::BaseTransaction* trans) const { return cryptographer(); } 82 browser_sync::Cryptographer* GetCryptographer( 83 const syncable::BaseTransaction* trans) const { return cryptographer(); } 86 browser_sync::Cryptographer* cryptographer() const function in class:syncable::DirectoryManager [all...] |
directory_manager.cc | 18 using browser_sync::Cryptographer; 44 cryptographer_(new Cryptographer) {
|
/external/chromium_org/sync/internal_api/public/ |
sync_encryption_handler.h | 20 class Cryptographer; 22 // Reasons due to which Cryptographer might require a passphrase. 25 REASON_ENCRYPTION = 1, // The cryptographer requires a 29 REASON_DECRYPTION = 2, // The cryptographer requires a 50 // cryptographer encrypts with the proper key and has the most recent keybag, 70 // |pending_keys| is a copy of the cryptographer's pending keys, that may be 97 // Cryptographer::SensitiveTypes(). If |encrypt_everything| is 101 // set of encrypted types is Cryptographer::SensitiveTypes() and 111 // The cryptographer has been updated. Listeners should check that their 112 // own state matches the cryptographer [all...] |
base_transaction.h | 11 #include "sync/util/cryptographer.h" 31 Cryptographer* GetCryptographer() const;
|
/external/chromium_org/sync/test/ |
fake_sync_encryption_handler.h | 15 #include "sync/util/cryptographer.h" 21 // Note that this only performs basic interactions with the cryptographer 57 Cryptographer* cryptographer() { return &cryptographer_; } function in class:syncer::FakeSyncEncryptionHandler 66 Cryptographer cryptographer_;
|
/external/chromium_org/sync/syncable/ |
nigori_util.h | 20 class Cryptographer;
|