MAKE_NONCOPYABLE(SecurityPolicyProvider);
protected:
SecurityPolicyProvider();
+
+ /** Default algorithms to block in the current release. */
+ std::vector<xmltooling::xstring> m_defaultBlacklist;
+
public:
virtual ~SecurityPolicyProvider();
virtual const std::vector<const opensaml::SecurityPolicyRule*>& getPolicyRules(const char* id=nullptr) const=0;
/**
+ * Returns a default/implicit set of XML Signature/Encryption algorithm identifiers to block.
+ *
+ * @return an array of algorithm URIs to block
+ */
+ virtual const std::vector<xmltooling::xstring>& getDefaultAlgorithmBlacklist() const;
+
+ /**
* Returns a set of XML Signature/Encryption algorithm identifiers to block.
*
* @return an array of algorithm URIs to block