summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-04-07 21:50:35 +0100
committerCarl Hetherington <cth@carlh.net>2018-04-07 21:50:35 +0100
commit77b97edbd1a190a5d0da9dc760107772e7797c72 (patch)
tree407cd7e2a03643637b146a8721df435aaf4109ea /src
parent4b766113f347b6c8d37c20ff32a69bd0459c5ff9 (diff)
Add comment.
Diffstat (limited to 'src')
-rw-r--r--src/dcp.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index e56547e3..875a2547 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -292,6 +292,10 @@ DCP::encrypted () const
return false;
}
+/** Add a KDM to decrypt this DCP. This method must be called after DCP::read()
+ * or the KDM you specify will be ignored.
+ * @param kdm KDM to use.
+ */
void
DCP::add (DecryptedKDM const & kdm)
{