xmlsrv_plat/xml_signature_api/tsrc/src/xmlsecsigntesterblocks.cpp
branchRCL_3
changeset 33 604ca70b6235
parent 32 889504eac4fb
equal deleted inserted replaced
32:889504eac4fb 33:604ca70b6235
    31 #include "xmlsecwinit.h"
    31 #include "xmlsecwinit.h"
    32 #include "xmlsecwsign.h"
    32 #include "xmlsecwsign.h"
    33 #include "xmlsecwerrors.h"
    33 #include "xmlsecwerrors.h"
    34 #include "inetprottextutils.h" 
    34 #include "inetprottextutils.h" 
    35 
    35 
    36 #include <xml/dom/xmlengelement.h>
    36 #include <xmlengelement.h>
    37 #include <xml/dom/xmlengdomimplementation.h>
    37 #include <xmlengdomimplementation.h>
    38 
    38 
    39 
    39 
    40 // MACROS
    40 // MACROS
    41 //#define ?macro ?macro_def
    41 //#define ?macro ?macro_def
    42 #define LOCAL_ASSERT(expression)	{if(!(expression)){return KErrArgument;}}
    42 #define LOCAL_ASSERT(expression)	{if(!(expression)){return KErrArgument;}}
   963     }
   963     }
   964 //------------------------------------------------------------------------------
   964 //------------------------------------------------------------------------------
   965 //
   965 //
   966 TInt CXmlSecSignTester::CXmlSecSign_CreateTemplateL_2L(  )
   966 TInt CXmlSecSignTester::CXmlSecSign_CreateTemplateL_2L(  )
   967     {
   967     {
   968 
   968     _LIT8(t8,"ex:outer");
   969     _LIT8(t9,"dsig:Signature");
   969     _LIT8(t9,"dsig:Signature");
   970     _LIT8(pIdName,"id");
   970     _LIT8(pIdName,"id");
   971     _LIT8(pIdVal,"http://exem.com");
   971     _LIT8(pIdVal,"http://exem.com");
   972     XmlSecPushL();
   972     XmlSecPushL();
   973     CXmlSecSign* sign = CXmlSecSign::NewLC();
   973     CXmlSecSign* sign = CXmlSecSign::NewLC();