aboutsummaryrefslogtreecommitdiff
path: root/cc/key_manager.h
diff options
context:
space:
mode:
authorBartosz Przydatek <przydatek@google.com>2017-09-20 11:39:39 +0200
committerThai Duong <thaidn@google.com>2017-10-06 13:14:30 -0700
commit19a6b69358f5e90452522b7c0cc53fc24827b267 (patch)
treef24d5ff0c4240dcb2c1c6247fc52abd7edeeefeb /cc/key_manager.h
parent2da371ee93ec6d18158ed0ddc1a32e4018c0e7e4 (diff)
downloadtink-19a6b69358f5e90452522b7c0cc53fc24827b267.tar.gz
Adding C++ configurations support.
Change-Id: I4b17e65859db914458a32d3359f1a44b5b1b6bde ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com> GitOrigin-RevId: b67033740fe4d4f49410c397aeab503da6365950
Diffstat (limited to 'cc/key_manager.h')
-rw-r--r--cc/key_manager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/key_manager.h b/cc/key_manager.h
index 7a512ce40..fe7df421e 100644
--- a/cc/key_manager.h
+++ b/cc/key_manager.h
@@ -51,8 +51,9 @@ class KeyManager {
GetPrimitive(const google::protobuf::Message& key) const = 0;
// Generates a new random key, based on the specified 'key_template'.
- virtual crypto::tink::util::StatusOr<std::unique_ptr<google::protobuf::Message>> NewKey(
- const google::crypto::tink::KeyTemplate& key_template) const = 0;
+ virtual
+ crypto::tink::util::StatusOr<std::unique_ptr<google::protobuf::Message>>
+ NewKey(const google::crypto::tink::KeyTemplate& key_template) const = 0;
// Returns the type_url identifying the key type handled by this manager.
virtual const std::string& get_key_type() const = 0;