Check for signer chains containing UTF8-marked strings and offer
[dcpomatic.git] / src / lib / config.h
index 90ebb0b33c3518022837d033fda1d95ca56b74e8..2fca9699c786006d5819064ecb0acb4b1e5a49c5 100644 (file)
@@ -330,6 +330,7 @@ public:
                NAG_DKDM_CONFIG,
                NAG_ENCRYPTED_METADATA,
                NAG_REMAKE_DECRYPTION_CHAIN,
+               NAG_BAD_SIGNER_CHAIN,
                NAG_COUNT
        };
 
@@ -696,6 +697,10 @@ public:
        static boost::signals2::signal<void ()> FailedToLoad;
        /** Emitted if read() issued a warning which the user might want to know about */
        static boost::signals2::signal<void (std::string)> Warning;
+       /** Emitted if there is a bad certificate in the signer chain.  Handler can call
+        *  true to ask Config to re-create the chain.
+        */
+       static boost::signals2::signal<bool (void)> BadSignerChain;
 
        void write () const;
        void write_config () const;