Next integration phase, metadata and trust conversion.
[shibboleth/cpp-sp.git] / shib / internal.h
index f915b3d..86455c1 100644 (file)
@@ -26,6 +26,8 @@
 #define __shib_internal_h__
 
 #ifdef WIN32
+# define _CRT_NONSTDC_NO_DEPRECATE 1
+# define _CRT_SECURE_NO_DEPRECATE 1
 # define SHIB_EXPORTS __declspec(dllexport)
 #endif
 
 #define SHIB_LOGCAT "Shibboleth"
 
 namespace shibboleth {
-    class BasicTrust : public ITrust
-    {
-    public:
-        BasicTrust(const DOMElement* e);
-        ~BasicTrust();
-
-        bool validate(void* certEE, const saml::Iterator<void*>& certChain, const IRoleDescriptor* role, bool checkName=true);
-        bool validate(const saml::SAMLSignedObject& token, const IRoleDescriptor* role, ITrust* certValidator=NULL);
-    
-    protected:
-        std::vector<saml::KeyInfoResolver*> m_resolvers;
-    };
-
     class ScopedAttribute : public saml::SAMLAttribute
     {
     public: