/*
- * Copyright 2001-2007 Internet2
+ * Copyright 2001-2009 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#define __saml_signable_h__
#include <saml/base.h>
-#include <saml/signature/ContentReference.h>
#include <xmltooling/XMLObject.h>
+namespace xmlsignature {
+ class XMLTOOL_API Signature;
+};
+
namespace opensaml {
/**
class SAML_API SignableObject : public virtual xmltooling::XMLObject
{
public:
- virtual ~SignableObject() {}
+ virtual ~SignableObject();
/**
* Returns the enveloped Signature from the object.
*
- * @return the enveloped Signature, or NULL
+ * @return the enveloped Signature, or nullptr
*/
virtual xmlsignature::Signature* getSignature() const=0;
/**
* Sets an enveloped Signature in the object.
*
- * @param sig the enveloped Signature, or NULL
+ * @param sig the enveloped Signature, or nullptr
*/
virtual void setSignature(xmlsignature::Signature* sig)=0;
protected:
- SignableObject() {}
+ SignableObject();
};
};