*/
virtual bool matches(const Credential& credential) const;
+ /**
+ * Enumeration of use cases for credentials.
+ */
enum UsageType {
UNSPECIFIED_CREDENTIAL,
SIGNING_CREDENTIAL,
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,
#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.
*