projects
/
shibboleth
/
cpp-opensaml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revised decryption APIs to clarify CredentialResolver/KeyResolver difference.
[shibboleth/cpp-opensaml.git]
/
saml
/
encryption
/
EncryptedKeyResolver.h
diff --git
a/saml/encryption/EncryptedKeyResolver.h
b/saml/encryption/EncryptedKeyResolver.h
index
5d8daa8
..
51f74ba
100644
(file)
--- a/
saml/encryption/EncryptedKeyResolver.h
+++ b/
saml/encryption/EncryptedKeyResolver.h
@@
-46,11
+46,7
@@
namespace opensaml {
XMLString::release(&m_recipient);
}
XMLString::release(&m_recipient);
}
- xmlencryption::EncryptedKey* resolveKey(xmlencryption::EncryptedData* encryptedData);
-
- EncryptedKeyResolver* clone() const {
- return new EncryptedKeyResolver(m_ref, m_recipient);
- }
+ xmlencryption::EncryptedKey* resolveKey(xmlencryption::EncryptedData& encryptedData) const;
protected:
const saml2::EncryptedElementType& m_ref;
protected:
const saml2::EncryptedElementType& m_ref;