using namespace xmltooling;
using namespace std;
+ContentReference::ContentReference(const SignableObject& signableObject)
+ : m_signableObject(signableObject), m_digest(NULL), m_c14n(NULL)
+{
+}
+
+ContentReference::~ContentReference()
+{
+}
+
void ContentReference::createReferences(DSIGSignature* sig)
{
DSIGReference* ref=NULL;
#endif
}
+void ContentReference::setDigestAlgorithm(const XMLCh* digest)
+{
+ m_digest = digest;
+}
+
+void ContentReference::setCanonicalizationMethod(const XMLCh* c14n)
+{
+ m_c14n = c14n;
+}
+
void ContentReference::addPrefixes(const std::set<Namespace>& namespaces)
{
for (set<Namespace>::const_iterator n = namespaces.begin(); n!=namespaces.end(); ++n) {