summaryrefslogtreecommitdiff
path: root/src/key.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/key.h')
-rw-r--r--src/key.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/key.h b/src/key.h
index fbadfd33..d0286627 100644
--- a/src/key.h
+++ b/src/key.h
@@ -17,6 +17,10 @@
*/
+/** @file src/key.h
+ * @brief Class to hold a key for encrypting MXFs.
+ */
+
#ifndef LIBDCP_KEY_H
#define LIBDCP_KEY_H
@@ -24,7 +28,9 @@
namespace libdcp {
-/** A key for encrypting MXFs */
+/** @class Key
+ * @brief A key for encrypting MXFs.
+ */
class Key
{
public:
@@ -42,10 +48,12 @@ public:
Key& operator= (Key const &);
- uint8_t* value () const {
+ /** @return Raw key value */
+ uint8_t const * value () const {
return _value;
}
+ /** @return Key value as a hexadecimal string */
std::string hex () const;
private: