Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

DSIGConstants.hpp File Reference

#include <xsec/utils/XSECSafeBuffer.hpp>
#include <xercesc/util/XMLString.hpp>

Include dependency graph for DSIGConstants.hpp:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  DSIGConstants

Defines

#define URI_ID_DSIG   "http://www.w3.org/2000/09/xmldsig#"
#define URI_ID_SHA1   "http://www.w3.org/2000/09/xmldsig#sha1"
#define URI_ID_BASE64   "http://www.w3.org/2000/09/xmldsig#base64"
#define URI_ID_XPATH   "http://www.w3.org/TR/1999/REC-xpath-19991116"
#define URI_ID_XSLT   "http://www.w3.org/TR/1999/REC-xslt-19991116"
#define URI_ID_ENVELOPE   "http://www.w3.org/2000/09/xmldsig#enveloped-signature"
#define URI_ID_C14N_NOC   "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
#define URI_ID_C14N_COM   "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"
#define URI_ID_EXC_C14N_NOC   "http://www.w3.org/2001/10/xml-exc-c14n#"
#define URI_ID_EXC_C14N_COM   "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"
#define XPATH_EXPR_ENVELOPE   "count(ancestor-or-self::dsig:Signature | \ here()/ancestor::dsig:Signature[1]) > \ count(ancestor-or-self::dsig:Signature)"
#define URI_ID_SIG_BASE   "http://www.w3.org/2000/09/xmldsig#"
#define URI_ID_SIG_DSA   "dsa"
#define URI_ID_SIG_HMAC   "hmac"
#define URI_ID_SIG_SHA1   "sha1"
#define URI_ID_SIG_RSA   "rsa"
#define URI_ID_DSA_SHA1   "http://www.w3.org/2000/09/xmldsig#dsa-sha1"
#define URI_ID_HMAC_SHA1   "http://www.w3.org/2000/09/xmldsig#hmac-sha1"
#define URI_ID_RSA_SHA1   "http://www.w3.org/2000/09/xmldsig#rsa-sha1"
#define URI_ID_XMLNS   "http://www.w3.org/2000/xmlns/"
#define URI_ID_MANIFEST   "http://www.w3.org/2000/09/xmldsig#Manifest"

Enumerations

enum  canonicalizationMethod {
  CANON_NONE = 0,
  CANON_C14N_NOC = 1,
  CANON_C14N_COM = 2,
  CANON_C14NE_NOC = 3,
  CANON_C14NE_COM = 4
}
enum  signatureMethod {
  SIGNATURE_NONE = 0,
  SIGNATURE_DSA = 1,
  SIGNATURE_HMAC = 2,
  SIGNATURE_RSA = 3
}
enum  hashMethod {
  HASH_NONE = 0,
  HASH_SHA1 = 1
}
enum  transformType {
  TRANSFORM_BASE64,
  TRANSFORM_C14N,
  TRANSFORM_EXC_C14N,
  TRANSFORM_ENVELOPED_SIGNATURE,
  TRANSFORM_XPATH,
  TRANSFORM_XSLT
}

Functions

bool canonicalizationMethod2URI (safeBuffer &uri, canonicalizationMethod cm)
bool signatureHashMethod2URI (safeBuffer &uri, signatureMethod sm, hashMethod hm)
bool hashMethod2URI (safeBuffer &uri, hashMethod hm)
const XMLCh * canonicalizationMethod2UNICODEURI (canonicalizationMethod cm)


Define Documentation

#define URI_ID_BASE64   "http://www.w3.org/2000/09/xmldsig#base64"
 

#define URI_ID_C14N_COM   "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"
 

#define URI_ID_C14N_NOC   "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
 

#define URI_ID_DSA_SHA1   "http://www.w3.org/2000/09/xmldsig#dsa-sha1"
 

#define URI_ID_DSIG   "http://www.w3.org/2000/09/xmldsig#"
 

#define URI_ID_ENVELOPE   "http://www.w3.org/2000/09/xmldsig#enveloped-signature"
 

#define URI_ID_EXC_C14N_COM   "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"
 

#define URI_ID_EXC_C14N_NOC   "http://www.w3.org/2001/10/xml-exc-c14n#"
 

#define URI_ID_HMAC_SHA1   "http://www.w3.org/2000/09/xmldsig#hmac-sha1"
 

#define URI_ID_MANIFEST   "http://www.w3.org/2000/09/xmldsig#Manifest"
 

#define URI_ID_RSA_SHA1   "http://www.w3.org/2000/09/xmldsig#rsa-sha1"
 

#define URI_ID_SHA1   "http://www.w3.org/2000/09/xmldsig#sha1"
 

#define URI_ID_SIG_BASE   "http://www.w3.org/2000/09/xmldsig#"
 

#define URI_ID_SIG_DSA   "dsa"
 

#define URI_ID_SIG_HMAC   "hmac"
 

#define URI_ID_SIG_RSA   "rsa"
 

#define URI_ID_SIG_SHA1   "sha1"
 

#define URI_ID_XMLNS   "http://www.w3.org/2000/xmlns/"
 

#define URI_ID_XPATH   "http://www.w3.org/TR/1999/REC-xpath-19991116"
 

#define URI_ID_XSLT   "http://www.w3.org/TR/1999/REC-xslt-19991116"
 

#define XPATH_EXPR_ENVELOPE   "count(ancestor-or-self::dsig:Signature | \ here()/ancestor::dsig:Signature[1]) > \ count(ancestor-or-self::dsig:Signature)"
 


Enumeration Type Documentation

enum canonicalizationMethod
 

Enumeration values:
CANON_NONE 
CANON_C14N_NOC 
CANON_C14N_COM 
CANON_C14NE_NOC 
CANON_C14NE_COM 

enum hashMethod
 

Enumeration values:
HASH_NONE 
HASH_SHA1 

enum signatureMethod
 

Enumeration values:
SIGNATURE_NONE 
SIGNATURE_DSA 
SIGNATURE_HMAC 
SIGNATURE_RSA 

enum transformType
 

Enumeration values:
TRANSFORM_BASE64 
TRANSFORM_C14N 
TRANSFORM_EXC_C14N 
TRANSFORM_ENVELOPED_SIGNATURE 
TRANSFORM_XPATH 
TRANSFORM_XSLT 


Function Documentation

const XMLCh* canonicalizationMethod2UNICODEURI canonicalizationMethod    cm [inline]
 

bool canonicalizationMethod2URI safeBuffer   uri,
canonicalizationMethod    cm
[inline]
 

bool hashMethod2URI safeBuffer   uri,
hashMethod    hm
[inline]
 

bool signatureHashMethod2URI safeBuffer   uri,
signatureMethod    sm,
hashMethod    hm
[inline]
 


Generated on Sat Jan 11 20:34:10 2003 for XML-Security-C by doxygen1.2.15