--- a/src/lib/ASN1ContentHandler.h Thu Jul 22 01:06:14 2021 +0200
+++ b/src/lib/ASN1ContentHandler.h Thu Jul 22 20:01:03 2021 +0200
@@ -260,6 +260,15 @@
// TODO: more metadata, support OID decoding and ASN.1 modules (schema), probably through a plug-in
// TODO: support also extension extractor plug-ins? (could decode some opaque structures like octet strings and replace them with nested elements) e.g. subjectAltName in https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.6
+ /**
+ * @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;
+ }
+
virtual void writeStreamStart() = 0;
virtual void writeStreamEnd() = 0;