OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Cryptographer
(Results
1 - 4
of
4
) sorted by null
/external/chromium/chrome/browser/sync/util/
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.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
...]
/external/chromium_org/sync/util/
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
...]
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
...]
Completed in 176 milliseconds