Update copyright.
[shibboleth/cpp-xmltooling.git] / xmltooling / security / X509TrustEngine.h
index 3aabe05..9b7ac6e 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.
@@ -52,9 +52,9 @@ namespace xmltooling {
         
         /**
          * Determines whether an X.509 credential is valid with respect to the
-         * KeyInfo data supplied. It is the responsibility of the application to
-         * ensure that the KeyInfo information supplied is in fact associated with
-         * the peer who presented the signature
+         * source of KeyInfo data supplied. It is the responsibility of the
+         * application to ensure that the KeyInfo information supplied is in fact
+         * associated with the peer who presented the credential
          * 
          * A custom KeyResolver can be supplied from outside the TrustEngine.
          * Alternatively, one may be specified to the plugin constructor.
@@ -69,7 +69,7 @@ namespace xmltooling {
         virtual bool validate(
             XSECCryptoX509* certEE,
             const std::vector<XSECCryptoX509*>& certChain,
-            TrustEngine::KeyInfoIterator& keyInfoSource,
+            const KeyInfoSource& keyInfoSource,
             bool checkName=true,
             const xmlsignature::KeyResolver* keyResolver=NULL
             ) const=0;