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
67a59b5
..
51f74ba
100644
(file)
--- a/
saml/encryption/EncryptedKeyResolver.h
+++ b/
saml/encryption/EncryptedKeyResolver.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright 2001-200
6
Internet2
+ * Copyright 2001-200
7
Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-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;