/*
- * 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.
/**
* 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.
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;