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 2017/12/07 01:33:39 UTC

svn commit: r1817330 - in /santuario/xml-security-cpp/trunk/xsec/dsig: DSIGReference.cpp DSIGReference.hpp

Author: scantor
Date: Thu Dec  7 01:33:39 2017
New Revision: 1817330

URL: http://svn.apache.org/viewvc?rev=1817330&view=rev
Log:
Remove more deprecated methods.

Modified:
    santuario/xml-security-cpp/trunk/xsec/dsig/DSIGReference.cpp
    santuario/xml-security-cpp/trunk/xsec/dsig/DSIGReference.hpp

Modified: santuario/xml-security-cpp/trunk/xsec/dsig/DSIGReference.cpp
URL: http://svn.apache.org/viewvc/santuario/xml-security-cpp/trunk/xsec/dsig/DSIGReference.cpp?rev=1817330&r1=1817329&r2=1817330&view=diff
==============================================================================
--- santuario/xml-security-cpp/trunk/xsec/dsig/DSIGReference.cpp (original)
+++ santuario/xml-security-cpp/trunk/xsec/dsig/DSIGReference.cpp Thu Dec  7 01:33:39 2017
@@ -116,7 +116,6 @@ DSIGReference::DSIGReference(const XSECE
 	mp_URI(NULL),
 	m_isManifest(false),
 	mp_transformsNode(NULL),
-	me_hashMethod(HASH_NONE),
 	mp_hashValueNode(NULL),
 	mp_env(env),
 	mp_transformList(NULL),
@@ -137,7 +136,6 @@ DSIGReference::DSIGReference(const XSECE
 	mp_URI(NULL),
 	m_isManifest(false),
 	mp_transformsNode(NULL),
-	me_hashMethod(HASH_NONE),
 	mp_hashValueNode(NULL),
 	mp_env(env),
 	mp_transformList(NULL),
@@ -323,8 +321,6 @@ DOMElement *DSIGReference::createBlankRe
 	mp_transformsNode = NULL;
 	mp_transformList = NULL;
 
-	XSECmapURIToHashMethod(hashAlgorithmURI, me_hashMethod);
-
 	safeBuffer str;
 	DOMDocument *doc = mp_env->getParentDocument();
 	const XMLCh * prefix = mp_env->getDSIGNSPrefix();
@@ -682,9 +678,6 @@ void DSIGReference::load(void) {
 
 	mp_algorithmURI = atts->item(i)->getNodeValue();
 
-	// Determine hashing algorithm
-	XSECmapURIToHashMethod(mp_algorithmURI, me_hashMethod);
-
 	// Find the hash value node
 
 	tmpElt = tmpElt->getNextSibling();

Modified: santuario/xml-security-cpp/trunk/xsec/dsig/DSIGReference.hpp
URL: http://svn.apache.org/viewvc/santuario/xml-security-cpp/trunk/xsec/dsig/DSIGReference.hpp?rev=1817330&r1=1817329&r2=1817330&view=diff
==============================================================================
--- santuario/xml-security-cpp/trunk/xsec/dsig/DSIGReference.hpp (original)
+++ santuario/xml-security-cpp/trunk/xsec/dsig/DSIGReference.hpp Thu Dec  7 01:33:39 2017
@@ -301,18 +301,6 @@ public:
 
 	const XMLCh * getURI() const;
 
-	/**
-	 * \brief Get the Digest method
-	 *
-	 * Obtain the digest method used to find a hash for this reference
-	 *
-	 * @returns the hashMethod
-	 */
-
-	hashMethod getHashMethod(void) const {
-		return me_hashMethod;
-	}
-
     /**
      * \brief Get the Digest Algorithm URI
      *
@@ -535,7 +523,6 @@ private:
 	bool						m_isManifest;			// Does this reference a manifest?
 	XERCES_CPP_NAMESPACE_QUALIFIER DOMNode						
 								* mp_transformsNode;
-	hashMethod					me_hashMethod;			// What form of digest?
 	XERCES_CPP_NAMESPACE_QUALIFIER DOMNode						
 								* mp_hashValueNode;		// Node where the Hash value is stored
 	const XSECEnv				* mp_env;