summaryrefslogtreecommitdiff
path: root/kms++/inc/kms++/blob.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-11 21:46:24 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-11 21:46:24 +0300
commit9916712a62169606d845510028a3ea6f84bd442f (patch)
treeaca4e1bec39500812111c43a8ecee862edae0002 /kms++/inc/kms++/blob.h
parent736b295100ce441e800457bcbd08cb36db543ff2 (diff)
kms++: organize into subdirs
Diffstat (limited to 'kms++/inc/kms++/blob.h')
-rw-r--r--kms++/inc/kms++/blob.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/kms++/inc/kms++/blob.h b/kms++/inc/kms++/blob.h
new file mode 100644
index 0000000..fd872f1
--- /dev/null
+++ b/kms++/inc/kms++/blob.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "drmobject.h"
+#include <vector>
+
+namespace kms
+{
+
+class Blob : public DrmObject
+{
+public:
+ Blob(Card& card, uint32_t blob_id);
+ Blob(Card& card, void* data, size_t len);
+ virtual ~Blob();
+
+ std::vector<uint8_t> data();
+
+private:
+ bool m_created;
+};
+
+}