Handle case where parser returns a null document.
[shibboleth/cpp-xmltooling.git] / xmltooling / util / XMLConstants.h
index 3243526..89caa0e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2006 Internet2
+ *  Copyright 2001-2007 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 
  */
 
-#if !defined(__xmltooling_xmlconstants_h__)
+#ifndef __xmltooling_xmlconstants_h__
 #define __xmltooling_xmlconstants_h__
 
 #include <xmltooling/unicode.h>
@@ -95,36 +95,6 @@ namespace xmlconstants {
         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__ */