Home
last modified time | relevance | path

Searched refs:EncryptedData (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium_org/sync/util/
Dcryptographer.h70 bool CanDecrypt(const sync_pb::EncryptedData& encrypted) const;
74 bool CanDecryptUsingDefaultKey(const sync_pb::EncryptedData& encrypted) const;
83 sync_pb::EncryptedData* encrypted) const;
92 sync_pb::EncryptedData* encrypted) const;
96 bool Decrypt(const sync_pb::EncryptedData& encrypted,
101 std::string DecryptToString(const sync_pb::EncryptedData& encrypted) const;
105 bool GetKeys(sync_pb::EncryptedData* encrypted) const;
134 void InstallKeys(const sync_pb::EncryptedData& encrypted);
139 void SetPendingKeys(const sync_pb::EncryptedData& encrypted);
145 const sync_pb::EncryptedData& GetPendingKeys() const;
[all …]
Dcryptographer_unittest.cc35 sync_pb::EncryptedData encrypted; in TEST_F()
45 sync_pb::EncryptedData encrypted; in TEST_F()
55 sync_pb::EncryptedData encrypted; in TEST_F()
72 sync_pb::EncryptedData encrypted; in TEST_F()
91 sync_pb::EncryptedData encrypted; in TEST_F()
94 sync_pb::EncryptedData encrypted2, encrypted3; in TEST_F()
122 sync_pb::EncryptedData encrypted1; in TEST_F()
124 sync_pb::EncryptedData encrypted2; in TEST_F()
131 sync_pb::EncryptedData encrypted3; in TEST_F()
133 sync_pb::EncryptedData encrypted4; in TEST_F()
[all …]
Dcryptographer.cc44 pending_keys_.reset(new sync_pb::EncryptedData(*(other.pending_keys_))); in Cryptographer()
64 bool Cryptographer::CanDecrypt(const sync_pb::EncryptedData& data) const { in CanDecrypt()
69 const sync_pb::EncryptedData& data) const { in CanDecryptUsingDefaultKey()
76 sync_pb::EncryptedData* encrypted) const { in Encrypt()
94 sync_pb::EncryptedData* encrypted) const { in EncryptString()
119 bool Cryptographer::Decrypt(const sync_pb::EncryptedData& encrypted, in Decrypt()
127 const sync_pb::EncryptedData& encrypted) const { in DecryptToString()
142 bool Cryptographer::GetKeys(sync_pb::EncryptedData* encrypted) const { in GetKeys()
220 void Cryptographer::InstallKeys(const sync_pb::EncryptedData& encrypted) { in InstallKeys()
234 void Cryptographer::SetPendingKeys(const sync_pb::EncryptedData& encrypted) { in SetPendingKeys()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DEncryptedData.java34 public class EncryptedData class
41 public static EncryptedData getInstance( in getInstance()
44 if (obj instanceof EncryptedData) in getInstance()
46 return (EncryptedData)obj; in getInstance()
51 return new EncryptedData(ASN1Sequence.getInstance(obj)); in getInstance()
57 private EncryptedData( in EncryptedData() method in EncryptedData
70 public EncryptedData( in EncryptedData() method in EncryptedData
/external/chromium_org/sync/internal_api/
Dsync_encryption_handler_impl_unittest.cc52 const sync_pb::EncryptedData&)); // NOLINT
216 sync_pb::EncryptedData keystore_decryptor_token; in BuildMigratedNigori()
697 sync_pb::EncryptedData encrypted; in TEST_F()
1019 sync_pb::EncryptedData keystore_decryptor_token; in TEST_F()
1073 sync_pb::EncryptedData current_encrypted; in TEST_F()
1081 sync_pb::EncryptedData keystore_encrypted; in TEST_F()
1091 sync_pb::EncryptedData encrypted; in TEST_F()
1153 sync_pb::EncryptedData current_encrypted; in TEST_F()
1161 sync_pb::EncryptedData keystore_encrypted; in TEST_F()
1171 sync_pb::EncryptedData encrypted; in TEST_F()
[all …]
Djs_sync_encryption_handler_observer_unittest.cc89 sync_pb::EncryptedData()); in TEST_F()
91 sync_pb::EncryptedData()); in TEST_F()
93 sync_pb::EncryptedData()); in TEST_F()
Dsync_encryption_handler_impl.h240 sync_pb::EncryptedData* encrypted_blob);
246 bool AttemptToInstallKeybag(const sync_pb::EncryptedData& keybag,
255 const sync_pb::EncryptedData& keystore_bootstrap,
Dsync_encryption_handler_impl.cc366 sync_pb::EncryptedData pending_keys; in SetEncryptionPassphrase()
515 sync_pb::EncryptedData pending_keys; in SetDecryptionPassphrase()
547 sync_pb::EncryptedData encrypted; in SetDecryptionPassphrase()
964 sync_pb::EncryptedData pending_keys = cryptographer->GetPendingKeys(); in ApplyNigoriUpdateImpl()
973 sync_pb::EncryptedData())); in ApplyNigoriUpdateImpl()
1026 sync_pb::EncryptedData original_keys = nigori.encryption_keybag(); in WriteEncryptionStateToNigori()
1216 sync_pb::EncryptedData())); in FinishSetPassphrase()
1517 sync_pb::EncryptedData* encrypted_blob) { in GetKeystoreDecryptor()
1537 const sync_pb::EncryptedData& keybag, in AttemptToInstallKeybag()
1564 const sync_pb::EncryptedData& keystore_decryptor_token, in DecryptPendingKeysWithKeystoreKey()
Djs_sync_encryption_handler_observer.h38 const sync_pb::EncryptedData& pending_keys) OVERRIDE;
Djs_sync_encryption_handler_observer.cc33 const sync_pb::EncryptedData& pending_keys) { in OnPassphraseRequired()
Ddebug_info_event_listener.h59 const sync_pb::EncryptedData& pending_keys) OVERRIDE;
Dsyncapi_internal.cc30 const sync_pb::EncryptedData& encrypted = password_specifics.encrypted(); in DecryptPasswordSpecifics()
/external/chromium_org/sync/internal_api/public/
Dsync_encryption_handler.h15 class EncryptedData; variable
74 const sync_pb::EncryptedData& pending_keys) = 0;
Dsync_manager.h41 class EncryptedData; variable
/external/chromium_org/components/sync_driver/
Dsync_frontend.h25 class EncryptedData; variable
105 const sync_pb::EncryptedData& pending_keys) = 0;
/external/chromium_org/sync/test/
Dfake_sync_encryption_handler.cc42 sync_pb::EncryptedData pending_keys = cryptographer_.GetPendingKeys(); in ApplyNigoriUpdate()
51 sync_pb::EncryptedData())); in ApplyNigoriUpdate()
/external/chromium_org/chrome/browser/sync/glue/
Dsync_backend_host_impl.h267 sync_pb::EncryptedData pending_keys);
348 sync_pb::EncryptedData cached_pending_keys_;
/external/chromium_org/sync/protocol/
Dnigori_specifics.proto32 optional EncryptedData encryption_keybag = 1;
107 optional EncryptedData keystore_decryptor_token = 31;
Dproto_value_conversions.h38 class EncryptedData; variable
99 const sync_pb::EncryptedData& encrypted_data);
Dencryption.proto29 message EncryptedData { message
Dpassword_specifics.proto46 optional EncryptedData encrypted = 1;
/external/chromium_org/sync/sessions/
Dmodel_type_registry.h76 const sync_pb::EncryptedData& pending_keys) OVERRIDE;
/external/chromium_org/sync/syncable/
Dentry_kernel.cc100 const sync_pb::EncryptedData& encrypted = kernel.ref(field).encrypted(); in SetEncryptableProtoValues()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java73 import org.bouncycastle.asn1.pkcs.EncryptedData;
940 EncryptedData d = EncryptedData.getInstance(c[i].getContent()); in engineLoad()
1568 EncryptedData cInfo = new EncryptedData(data, cAlgId, new BEROctetString(certBytes)); in doStore()
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service.h96 class EncryptedData; variable
419 const sync_pb::EncryptedData& pending_keys) OVERRIDE;

12