More comments, header fixes.
authorcantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Thu, 26 Apr 2007 20:16:41 +0000 (20:16 +0000)
committercantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Thu, 26 Apr 2007 20:16:41 +0000 (20:16 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/trunk@286 de75baf8-a10c-0410-a50a-987c0e22f00f

xmltooling/security/CredentialCriteria.h
xmltooling/security/KeyInfoResolver.h

index 44e9f4d..d331c89 100644 (file)
@@ -57,6 +57,9 @@ namespace xmltooling {
          */
         virtual bool matches(const Credential& credential) const;
 
+        /**
+         * Enumeration of use cases for credentials. 
+         */
         enum UsageType {
             UNSPECIFIED_CREDENTIAL,
             SIGNING_CREDENTIAL,
@@ -197,6 +200,10 @@ namespace xmltooling {
             m_key = key;
         }
 
+        /**
+         * Bitmask constants controlling the kinds of criteria set automatically
+         * based on a KeyInfo object.
+         */
         enum keyinfo_extraction_t {
             KEYINFO_EXTRACTION_KEY = 1,
             KEYINFO_EXTRACTION_KEYNAMES = 2,
index e1af10d..56ade75 100644 (file)
 #if !defined(__xmltooling_keyres_h__) && !defined(XMLTOOLING_NO_XMLSEC)
 #define __xmltooling_keyres_h__
 
-#include <xsec/dsig/DSIGKeyInfoList.hpp>
+#include <xmltooling/security/Credential.h>
+#include <xmltooling/security/CredentialCriteria.h>
+#include <xmltooling/security/KeyInfoCredentialContext.h>
 
-namespace xmlsignature {
-    class XMLTOOL_API KeyInfo;
-    class XMLTOOL_API Signature;
-};
+#include <xsec/dsig/DSIGKeyInfoList.hpp>
 
 namespace xmltooling {
 
-    class XMLTOOL_API Credential;
-    class XMLTOOL_API CredentialCriteria;
-    class XMLTOOL_API KeyInfoCredentialContext;
-
     /**
      * Resolves credentials from KeyInfo information.
      *