#define __xmltooling_trust_h__
#include <xmltooling/security/KeyInfoSource.h>
-#include <xmltooling/signature/KeyResolver.h>
+#include <xmltooling/security/KeyResolver.h>
#include <xmltooling/signature/Signature.h>
namespace xmltooling {
TrustEngine(const DOMElement* e=NULL);
/** Default KeyResolver instance. */
- xmlsignature::KeyResolver* m_keyResolver;
+ KeyResolver* m_keyResolver;
public:
virtual ~TrustEngine();
virtual bool validate(
xmlsignature::Signature& sig,
const KeyInfoSource& keyInfoSource,
- const xmlsignature::KeyResolver* keyResolver=NULL
+ const KeyResolver* keyResolver=NULL
) const=0;
/**
const char* in,
unsigned int in_len,
const KeyInfoSource& keyInfoSource,
- const xmlsignature::KeyResolver* keyResolver=NULL
+ const KeyResolver* keyResolver=NULL
) const=0;
};
void XMLTOOL_API registerTrustEngines();
/** TrustEngine based on explicit knowledge of peer key information. */
- #define EXPLICIT_KEY_TRUSTENGINE "org.opensaml.xmltooling.security.ExplicitKeyTrustEngine"
+ #define EXPLICIT_KEY_TRUSTENGINE "ExplicitKey"
/** TrustEngine that tries multiple engines in sequence. */
- #define CHAINING_TRUSTENGINE "org.opensaml.xmltooling.security.ChainingTrustEngine"
+ #define CHAINING_TRUSTENGINE "Chaining"
};