Browse Source

overloaded the DSIG.C14N (from PyXML Namespace with a newer canonicalization algorithm. Added GLOBUS.SIG, which is the namespace for SecureConversation

main
Matt Rodriguez 20 years ago
parent
commit
099007f56f
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      Namespaces.py

+ 4
- 1
Namespaces.py View File

@@ -4,6 +4,8 @@


try: try:
from xml.ns import SOAP, SCHEMA, WSDL, XMLNS, DSIG, ENCRYPTION from xml.ns import SOAP, SCHEMA, WSDL, XMLNS, DSIG, ENCRYPTION
DSIG.C14N = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
except: except:
class SOAP: class SOAP:
ENV = "http://schemas.xmlsoap.org/soap/envelope/" ENV = "http://schemas.xmlsoap.org/soap/envelope/"
@@ -34,7 +36,7 @@ except:


class DSIG: class DSIG:
BASE = "http://www.w3.org/2000/09/xmldsig#" BASE = "http://www.w3.org/2000/09/xmldsig#"
C14N = "http://www.w3.org/TR/2000/CR-xml-c14n-20010315"
C14N = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
C14N_COMM = "http://www.w3.org/TR/2000/CR-xml-c14n-20010315#WithComments" C14N_COMM = "http://www.w3.org/TR/2000/CR-xml-c14n-20010315#WithComments"
C14N_EXCL = "http://www.w3.org/2001/10/xml-exc-c14n#" C14N_EXCL = "http://www.w3.org/2001/10/xml-exc-c14n#"
DIGEST_MD2 = "http://www.w3.org/2000/09/xmldsig#md2" DIGEST_MD2 = "http://www.w3.org/2000/09/xmldsig#md2"
@@ -106,3 +108,4 @@ class BEA:
class GLOBUS: class GLOBUS:
SECCONV = "http://wsrf.globus.org/core/2004/07/security/secconv" SECCONV = "http://wsrf.globus.org/core/2004/07/security/secconv"
CORE = "http://www.globus.org/namespaces/2004/06/core" CORE = "http://www.globus.org/namespaces/2004/06/core"
SIG = "http://www.globus.org/2002/04/xmlenc#gssapi-sign"

Loading…
Cancel
Save