summaryrefslogtreecommitdiff
path: root/kms++/blob.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-11 20:17:35 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-11 20:17:35 +0300
commit17d180891f1e237ea5d25835999a8b23a6e7946d (patch)
tree5963fe4d338f6272daf55c76ed355effb47afc71 /kms++/blob.h
parent38a71ee72c47f3287c327113ce411f236cac05ef (diff)
rename dirs
Diffstat (limited to 'kms++/blob.h')
-rw-r--r--kms++/blob.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/kms++/blob.h b/kms++/blob.h
new file mode 100644
index 0000000..fd872f1
--- /dev/null
+++ b/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;
+};
+
+}