src/lib/ASN1Reader.h
branchv_0
changeset 40 85b6f13f1088
parent 32 00d76921c547
--- a/src/lib/ASN1Reader.h	Thu Jul 22 01:06:14 2021 +0200
+++ b/src/lib/ASN1Reader.h	Thu Jul 22 20:01:03 2021 +0200
@@ -34,6 +34,15 @@
 		handlers->addHandler(handler);
 	};
 
+	/**
+	 * @param uri identifier of the option
+	 * @param value value of the option
+	 * @return whether this option is supported and was applied here
+	 */
+	virtual bool setOption(const std::string& uri, const std::string& value) {
+		return false;
+	}
+
 protected:
 	std::shared_ptr<ASN1ContentHandlerProxy> handlers = std::make_shared<ASN1ContentHandlerProxy>();
 };