Revised decryption APIs to clarify CredentialResolver/KeyResolver difference.
[shibboleth/cpp-xmltooling.git] / xmltooling / security / impl / FilesystemCredentialResolver.cpp
index 5d898b2..a026fdb 100644 (file)
@@ -67,7 +67,7 @@ namespace xmltooling {
         
         XSECCryptoKey* loadKey();
         
-        XSECCryptoKey* getKey() const { return m_key ? m_key->clone() : NULL; }
+        XSECCryptoKey* getKey(const KeyInfo* keyInfo=NULL) const { return m_key ? m_key->clone() : NULL; }
         const vector<XSECCryptoX509*>& getCertificates() const { return m_xseccerts; }
         void attach(SSL_CTX* ctx) const;