Searched refs:default_nigori_ (Results 1 – 2 of 2) sorted by relevance
19 Cryptographer::Cryptographer() : default_nigori_(NULL) { in Cryptographer()41 return default_nigori_ && (data.key_name() == default_nigori_->first); in CanDecryptUsingDefaultKey()47 DCHECK(default_nigori_); in Encrypt()55 encrypted->set_key_name(default_nigori_->first); in Encrypt()56 if (!default_nigori_->second->Encrypt(serialized, in Encrypt()129 default_nigori_ = &*nigoris_.find(name); in AddKeyImpl()177 return PackBootstrapToken(default_nigori_->second.get(), token); in GetBootstrapToken()262 default_nigori_ = &*nigoris_.find(default_key_name); in InstallKeys()
107 bool is_ready() const { return !nigoris_.empty() && default_nigori_; } in is_ready()135 NigoriMap::value_type* default_nigori_; // The Nigori used for encryption. variable