summaryrefslogtreecommitdiff
path: root/src/asset_writer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-02-28 23:27:23 +0000
committerCarl Hetherington <cth@carlh.net>2016-02-28 23:27:23 +0000
commit6db8817ab5c9387dc6528f88d1f1a88c3da0fea5 (patch)
tree03303b686665dfdf2780332b899e59ee26979ccc /src/asset_writer.h
parentc9717810952874f38c58b526abf4875abf38534c (diff)
Use a HMAC context to write HMAC stuff to encrypted MXFs.
Diffstat (limited to 'src/asset_writer.h')
-rw-r--r--src/asset_writer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/asset_writer.h b/src/asset_writer.h
index 4266c719..183619d2 100644
--- a/src/asset_writer.h
+++ b/src/asset_writer.h
@@ -24,10 +24,12 @@
#ifndef LIBDCP_ASSET_WRITER_H
#define LIBDCP_ASSET_WRITER_H
+#include "types.h"
#include <boost/filesystem.hpp>
namespace ASDCP {
class AESEncContext;
+ class HMACContext;
}
namespace dcp {
@@ -51,7 +53,7 @@ public:
}
protected:
- AssetWriter (MXF* mxf, boost::filesystem::path file);
+ AssetWriter (MXF* mxf, boost::filesystem::path file, Standard standard);
/** MXF that we are writing */
MXF* _mxf;
@@ -66,6 +68,7 @@ protected:
/** true if something has been written to this asset */
bool _started;
ASDCP::AESEncContext* _encryption_context;
+ ASDCP::HMACContext* _hmac_context;
};
}