Ignore:
Timestamp:
05/01/07 15:12:15 (14 years ago)
Author:
pjkersha
Message:

python/ndg.security.test/ndg/security/test/XMLSecDoc/xmlSecDocTest.py,
python/ndg.security.common/ndg/security/common/XMLSec.py: working version for enveloped signature and
equivalent verification. Needs test vs. pyXMLSec code as an independent check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/XMLSecDoc/xmlSecDocTest.py

    r1953 r1959  
    7878            getpass.getpass(prompt="\ntest2Sign private key password: ") 
    7979         
    80         self.xmlSecDoc.sign(xmlTxt=self.strXML) 
     80        self.xmlSecDoc.applyEnvelopedSignature(xmlTxt=self.strXML) 
    8181        self.xmlSecDoc.write() 
    8282     
     
    103103        self.xmlSecDoc.certFilePathList=self.cfg['test5Verify']['certfile'] 
    104104        self.xmlSecDoc.read() 
    105         self.xmlSecDoc.verify() 
     105        self.xmlSecDoc.verifyEnvelopedSignature() 
    106106         
    107107  
Note: See TracChangeset for help on using the changeset viewer.