You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by bl...@apache.org on 2006/09/28 09:52:02 UTC
svn commit: r450744 - in /xml/security/trunk/c/src/dsig: DSIGConstants.cpp
DSIGConstants.hpp
Author: blautenb
Date: Thu Sep 28 00:52:02 2006
New Revision: 450744
URL: http://svn.apache.org/viewvc?view=rev&rev=450744
Log:
Add constants for RSA-MD5 signature
Modified:
xml/security/trunk/c/src/dsig/DSIGConstants.cpp
xml/security/trunk/c/src/dsig/DSIGConstants.hpp
Modified: xml/security/trunk/c/src/dsig/DSIGConstants.cpp
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/src/dsig/DSIGConstants.cpp?view=diff&rev=450744&r1=450743&r2=450744
==============================================================================
--- xml/security/trunk/c/src/dsig/DSIGConstants.cpp (original)
+++ xml/security/trunk/c/src/dsig/DSIGConstants.cpp Thu Sep 28 00:52:02 2006
@@ -171,6 +171,7 @@
const XMLCh * DSIGConstants::s_unicodeStrURIEXC_C14N_COM;
const XMLCh * DSIGConstants::s_unicodeStrURIDSA_SHA1;
+const XMLCh * DSIGConstants::s_unicodeStrURIRSA_MD5;
const XMLCh * DSIGConstants::s_unicodeStrURIRSA_SHA1;
const XMLCh * DSIGConstants::s_unicodeStrURIRSA_SHA224;
const XMLCh * DSIGConstants::s_unicodeStrURIRSA_SHA256;
@@ -243,6 +244,8 @@
s_unicodeStrURIEXC_C14N_NOC = XMLString::transcode(URI_ID_EXC_C14N_NOC);
s_unicodeStrURIEXC_C14N_COM = XMLString::transcode(URI_ID_EXC_C14N_COM);
s_unicodeStrURIDSA_SHA1 = XMLString::transcode(URI_ID_DSA_SHA1);
+
+ s_unicodeStrURIRSA_MD5 = XMLString::transcode(URI_ID_RSA_MD5);
s_unicodeStrURIRSA_SHA1 = XMLString::transcode(URI_ID_RSA_SHA1);
s_unicodeStrURIRSA_SHA224 = XMLString::transcode(URI_ID_RSA_SHA224);
s_unicodeStrURIRSA_SHA256 = XMLString::transcode(URI_ID_RSA_SHA256);
@@ -311,6 +314,7 @@
XSEC_RELEASE_XMLCH(s_unicodeStrURIEXC_C14N_NOC);
XSEC_RELEASE_XMLCH(s_unicodeStrURIEXC_C14N_COM);
XSEC_RELEASE_XMLCH(s_unicodeStrURIDSA_SHA1);
+ XSEC_RELEASE_XMLCH(s_unicodeStrURIRSA_MD5);
XSEC_RELEASE_XMLCH(s_unicodeStrURIRSA_SHA1);
XSEC_RELEASE_XMLCH(s_unicodeStrURIRSA_SHA224);
XSEC_RELEASE_XMLCH(s_unicodeStrURIRSA_SHA256);
Modified: xml/security/trunk/c/src/dsig/DSIGConstants.hpp
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/src/dsig/DSIGConstants.hpp?view=diff&rev=450744&r1=450743&r2=450744
==============================================================================
--- xml/security/trunk/c/src/dsig/DSIGConstants.hpp (original)
+++ xml/security/trunk/c/src/dsig/DSIGConstants.hpp Thu Sep 28 00:52:02 2006
@@ -107,7 +107,7 @@
#define URI_ID_RSA_SHA256 "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"
#define URI_ID_RSA_SHA384 "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"
#define URI_ID_RSA_SHA512 "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"
-#define URI_ID_RSA_MD5 "http://www.w3.org/2000/09/xmldsig#rsa-md5"
+#define URI_ID_RSA_MD5 "http://www.w3.org/2001/04/xmldsig-more#rsa-md5"
// Encryption defines
#define URI_ID_XENC_ELEMENT "http://www.w3.org/2001/04/xmlenc#Element"
@@ -459,6 +459,7 @@
static const XMLCh * s_unicodeStrURIEXC_C14N_COM;
static const XMLCh * s_unicodeStrURIDSA_SHA1;
+ static const XMLCh * s_unicodeStrURIRSA_MD5;
static const XMLCh * s_unicodeStrURIRSA_SHA1;
static const XMLCh * s_unicodeStrURIRSA_SHA224;
static const XMLCh * s_unicodeStrURIRSA_SHA256;