Home
last modified time | relevance | path

Searched refs:MockOwnerKeyUtil (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/components/ownership/
Dmock_owner_key_util.cc12 MockOwnerKeyUtil::MockOwnerKeyUtil() { in MockOwnerKeyUtil() function in ownership::MockOwnerKeyUtil
15 MockOwnerKeyUtil::~MockOwnerKeyUtil() { in ~MockOwnerKeyUtil()
18 bool MockOwnerKeyUtil::ImportPublicKey(std::vector<uint8>* output) { in ImportPublicKey()
24 crypto::RSAPrivateKey* MockOwnerKeyUtil::FindPrivateKeyInSlot( in FindPrivateKeyInSlot()
31 bool MockOwnerKeyUtil::IsPublicKeyPresent() { in IsPublicKeyPresent()
35 void MockOwnerKeyUtil::Clear() { in Clear()
40 void MockOwnerKeyUtil::SetPublicKey(const std::vector<uint8>& key) { in SetPublicKey()
44 void MockOwnerKeyUtil::SetPublicKeyFromPrivateKey( in SetPublicKeyFromPrivateKey()
49 void MockOwnerKeyUtil::SetPrivateKey(scoped_ptr<crypto::RSAPrivateKey> key) { in SetPrivateKey()
Dmock_owner_key_util.h21 class OWNERSHIP_EXPORT MockOwnerKeyUtil : public OwnerKeyUtil {
23 MockOwnerKeyUtil();
48 virtual ~MockOwnerKeyUtil();
53 DISALLOW_COPY_AND_ASSIGN(MockOwnerKeyUtil);
/external/chromium_org/chrome/browser/chromeos/settings/
Ddevice_settings_test_helper.cc185 this, new ownership::MockOwnerKeyUtil()); in ScopedDeviceSettingsTestHelper()
199 owner_key_util_(new ownership::MockOwnerKeyUtil()) { in DeviceSettingsTestBase()
Ddevice_oauth2_token_service_unittest.cc88 scoped_refptr<ownership::MockOwnerKeyUtil> owner_key_util_( in SetUp()
89 new ownership::MockOwnerKeyUtil()); in SetUp()
Dsession_manager_operation_unittest.cc45 owner_key_util_(new ownership::MockOwnerKeyUtil()), in SessionManagerOperationTest()
87 scoped_refptr<ownership::MockOwnerKeyUtil> owner_key_util_;
Ddevice_settings_test_helper.h189 scoped_refptr<ownership::MockOwnerKeyUtil> owner_key_util_;
/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_cloud_policy_invalidator_unittest.cc142 scoped_refptr<ownership::MockOwnerKeyUtil> owner_key_util( in SetUp()
143 new ownership::MockOwnerKeyUtil); in SetUp()
/external/chromium_org/chrome/browser/chromeos/login/auth/
Dcryptohome_authenticator_unittest.cc138 owner_key_util_(new ownership::MockOwnerKeyUtil()) { in CryptohomeAuthenticatorTest()
352 scoped_refptr<ownership::MockOwnerKeyUtil> owner_key_util_;