/*
- * Copyright 2001-2006 Internet2
+ * Copyright 2001-2009 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*/
/**
- * @file XMLConstants.h
+ * @file xmltooling/util/XMLConstants.h
*
- * Fundamental XML namespace constants
+ * Fundamental XML namespace constants.
*/
-#if !defined(__xmltooling_xmlconstants_h__)
+#ifndef __xmltooling_xmlconstants_h__
#define __xmltooling_xmlconstants_h__
-#include <xmltooling/unicode.h>
+#include <xmltooling/base.h>
+#include <xercesc/util/XercesDefs.hpp>
/**
* XML related constants.
/** XML Signature QName prefix ("ds") */
extern XMLTOOL_API const XMLCh XMLSIG_PREFIX[];
+
+ /** XML Signature namespace ("http://www.w3.org/2009/xmldsig11#") */
+ extern XMLTOOL_API const XMLCh XMLSIG11_NS[];
+
+ /** XML Signature QName prefix ("ds11") */
+ extern XMLTOOL_API const XMLCh XMLSIG11_PREFIX[];
/** XML Encryption namespace ("http://www.w3.org/2001/04/xmlenc#") */
extern XMLTOOL_API const XMLCh XMLENC_NS[];
XML_BOOL_ONE,
XML_BOOL_ZERO
};
-
- /** PKCS#1 DigestInfo Encoding OID for RSAwithSHA1 */
- extern XMLTOOL_API const unsigned char OID_RSASHA1[];
-
- /** Size of PKCS#1 DigestInfo Encoding OID for RSAwithSHA1 */
- extern XMLTOOL_API const int OID_RSASHA1_LEN;
-
- /** PKCS#1 DigestInfo Encoding OID for RSAwithSHA224 */
- extern XMLTOOL_API const unsigned char OID_RSASHA224[];
-
- /** Size of PKCS#1 DigestInfo Encoding OID for RSAwithSHA224 */
- extern XMLTOOL_API const int OID_RSASHA224_LEN;
-
- /** PKCS#1 DigestInfo Encoding OID for RSAwithSHA256 */
- extern XMLTOOL_API const unsigned char OID_RSASHA256[];
-
- /** Size of PKCS#1 DigestInfo Encoding OID for RSAwithSHA256 */
- extern XMLTOOL_API const int OID_RSASHA256_LEN;
-
- /** PKCS#1 DigestInfo Encoding OID for RSAwithSHA384 */
- extern XMLTOOL_API const unsigned char OID_RSASHA384[];
-
- /** Size of PKCS#1 DigestInfo Encoding OID for RSAwithSHA384 */
- extern XMLTOOL_API const int OID_RSASHA384_LEN;
-
- /** PKCS#1 DigestInfo Encoding OID for RSAwithSHA512 */
- extern XMLTOOL_API const unsigned char OID_RSASHA512[];
-
- /** Size of PKCS#1 DigestInfo Encoding OID for RSAwithSHA512 */
- extern XMLTOOL_API const int OID_RSASHA512_LEN;
};
#endif /* __xmltooling_xmlconstants_h__ */