diff options
author | Bartosz Przydatek <przydatek@google.com> | 2018-05-24 02:25:58 -0700 |
---|---|---|
committer | Tink Team <noreply@google.com> | 2018-05-24 09:32:22 -0400 |
commit | f5cdf3706f8ec225bf064352cd38533924471e92 (patch) | |
tree | b39afe0883c435b63867aeefb0c7eaeb94a8bc91 /cc/cleartext_keyset_handle.h | |
parent | f1007e70bc49d2d89239bc8f3c95430d445784a7 (diff) | |
download | tink-f5cdf3706f8ec225bf064352cd38533924471e92.tar.gz |
Hiding C++ KeysetHandle::get_keyset() method.
PiperOrigin-RevId: 197860731
GitOrigin-RevId: e67cdc709f253d56df35fed540e34550cf7ed3ab
Diffstat (limited to 'cc/cleartext_keyset_handle.h')
-rw-r--r-- | cc/cleartext_keyset_handle.h | 4 |
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() {} }; |