ygorshenin | 39e3678 | 2014-08-29 13:09:51 | [diff] [blame] | 1 | // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "components/ownership/owner_key_util.h" |
| 6 | |
dcheng | dc5f124 | 2015-12-31 04:54:47 | [diff] [blame] | 7 | #include <utility> |
| 8 | |
ygorshenin | 39e3678 | 2014-08-29 13:09:51 | [diff] [blame] | 9 | namespace ownership { |
| 10 | |
| 11 | /////////////////////////////////////////////////////////////////////////// |
| 12 | // PublicKey |
| 13 | |
| 14 | PublicKey::PublicKey() { |
| 15 | } |
| 16 | |
| 17 | PublicKey::~PublicKey() { |
| 18 | } |
| 19 | |
| 20 | /////////////////////////////////////////////////////////////////////////// |
| 21 | // PrivateKey |
| 22 | |
dcheng | dc5f124 | 2015-12-31 04:54:47 | [diff] [blame] | 23 | PrivateKey::PrivateKey(crypto::ScopedSECKEYPrivateKey key) |
| 24 | : key_(std::move(key)) {} |
ygorshenin | 39e3678 | 2014-08-29 13:09:51 | [diff] [blame] | 25 | |
| 26 | PrivateKey::~PrivateKey() { |
| 27 | } |
| 28 | |
| 29 | } // namespace ownership |