Basic assertion validator.
[shibboleth/cpp-opensaml.git] / saml / signature / SignatureProfileValidator.h
index 3fd2695..6e1a8f2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2006 Internet2
+ *  Copyright 2001-2007 Internet2
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -39,6 +39,13 @@ namespace opensaml {
         virtual ~SignatureProfileValidator() {}
 
         void validate(const xmltooling::XMLObject* xmlObject) const;
+        
+        /**
+         * Type-safe validation method.
+         *
+         * @param signature Signature to validate
+         */
+        void validateSignature(const xmlsignature::Signature& signature) const;
     };
 
 };