aboutsummaryrefslogtreecommitdiff
path: root/cc/cleartext_keyset_handle.h
diff options
context:
space:
mode:
authorBartosz Przydatek <przydatek@google.com>2018-05-24 05:27:36 -0700
committerTink Team <noreply@google.com>2018-05-24 09:32:49 -0400
commit8fa13a6b4be5e73b6200945eb695411b70184e12 (patch)
treeb39afe0883c435b63867aeefb0c7eaeb94a8bc91 /cc/cleartext_keyset_handle.h
parent2c9ebd8d8e0ac2b4e9002b37ae54cc4ff38ee845 (diff)
downloadtink-8fa13a6b4be5e73b6200945eb695411b70184e12.tar.gz
Automated g4 rollback of changelist 197862984.
*** Reason for rollback *** Fixing the reason for breaking the tests. *** Original change description *** Automated g4 rollback of changelist 197860731. *** Reason for rollback *** TAP has detected that 100 or more targets failed to build at cl/197860731. If this is an error, please file a bug at go/autorollback-bug. TAP double-checked a few of the targets built at cl/197860730: https://sponge.corp.google.com/invocations?searchFor=label%3Atap+label%3Apostsubmit+label%3AAutoRollback+cl%3A197860730 but failed to build at cl/197860731. Sponge link for all broken targets: https://sponge.corp.google.co... *** PiperOrigin-RevId: 197877227 GitOrigin-RevId: a089063c3b449d59a7e90e4295c233b4e3b26520
Diffstat (limited to 'cc/cleartext_keyset_handle.h')
-rw-r--r--cc/cleartext_keyset_handle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/cleartext_keyset_handle.h b/cc/cleartext_keyset_handle.h
index 4fdbd94a0..51c248c80 100644
--- a/cc/cleartext_keyset_handle.h
+++ b/cc/cleartext_keyset_handle.h
@@ -36,6 +36,10 @@ class CleartextKeysetHandle {
static crypto::tink::util::StatusOr<std::unique_ptr<KeysetHandle>> Read(
std::unique_ptr<KeysetReader> reader);
+ // Returns a Keyset-proto from the given 'keyset_handle'.
+ static const google::crypto::tink::Keyset& GetKeyset(
+ const KeysetHandle& keyset_handle);
+
private:
CleartextKeysetHandle() {}
};