You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by sc...@apache.org on 2010/02/05 03:33:35 UTC

svn commit: r906772 - in /xml/security/trunk/c/src/dsig: DSIGReference.cpp DSIGReference.hpp

Author: scantor
Date: Fri Feb  5 02:33:34 2010
New Revision: 906772

URL: http://svn.apache.org/viewvc?rev=906772&view=rev
Log:
Add accessor for digest algorithm.

Modified:
    xml/security/trunk/c/src/dsig/DSIGReference.cpp
    xml/security/trunk/c/src/dsig/DSIGReference.hpp

Modified: xml/security/trunk/c/src/dsig/DSIGReference.cpp
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/src/dsig/DSIGReference.cpp?rev=906772&r1=906771&r2=906772&view=diff
==============================================================================
--- xml/security/trunk/c/src/dsig/DSIGReference.cpp (original)
+++ xml/security/trunk/c/src/dsig/DSIGReference.cpp Fri Feb  5 02:33:34 2010
@@ -122,6 +122,7 @@
 	mp_transformList = NULL;
 	mp_URI = NULL;
 	m_isManifest = false;
+	mp_algorithmURI = NULL;
 	m_loaded = false;
 
 }
@@ -141,6 +142,7 @@
 	me_hashMethod = HASH_NONE;
 	mp_URI = NULL;
 	m_isManifest = false;
+	mp_algorithmURI = NULL;
 	m_loaded = false;
 
 };

Modified: xml/security/trunk/c/src/dsig/DSIGReference.hpp
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/src/dsig/DSIGReference.hpp?rev=906772&r1=906771&r2=906772&view=diff
==============================================================================
--- xml/security/trunk/c/src/dsig/DSIGReference.hpp (original)
+++ xml/security/trunk/c/src/dsig/DSIGReference.hpp Fri Feb  5 02:33:34 2010
@@ -312,6 +312,17 @@
 		return me_hashMethod;
 	}
 
+    /**
+     * \brief Get the Digest Algorithm URI
+     *
+     * @returns the URI associated with the Algorithm used to generate
+     * the digest
+     */
+
+    const XMLCh * getAlgorithmURI() const {
+        return mp_algorithmURI;
+    }
+
 	/**
 	 * \brief Obtain the transforms for this reference
 	 *