diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-05-17 11:04:05 +0200 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-05-19 17:54:16 +0200 |
| commit | e67f2bb6587770d024f740d92356c827a40120bb (patch) | |
| tree | 366f9562f4d31b4121128217e9c80382d0a3aaf7 /tests | |
| parent | e14652e7a41332f954b72dd2fbc6f9962970e8c3 (diff) | |
| download | lasso-e67f2bb6587770d024f740d92356c827a40120bb.tar.gz lasso-e67f2bb6587770d024f740d92356c827a40120bb.tar.xz lasso-e67f2bb6587770d024f740d92356c827a40120bb.zip | |
[core] first try at multiple signing keys support
The idea was to replace every use of an xmlSecKey* by a loop over a
GList* of xmlSecKey*.
- In the structure LassoProviderPrivate changed
xmlSecKey*public_key -> GList* signing_public_keys
xmlNode*signing_key_descriptor -> GList* signing_key_descriptors.
- Renamed lasso_provider_try_loading_public_key to
lasso_provider_try_loading_public_keys and chaned its signature
accordingly
- Renamed lasso_provider_get_public_key to
lasso_provider_get_public_keys and changed the signature accordingly.
- Changed lasso_provider_get_encryption_public_key to return the first
signing key from the list as a temporary work around. Multiple
encryption keys will be supported later.
- Changed lasso_provider_load_public_key to load keys from the passed
file on the LassoProvider constructor, from every key descriptors
found for signing and eventually from the key descriptor marked for
encryption.
- Every failure to load from a file or an XML KeyInfo descriptor are
noew reported as warning.
- Query signature checking was completely moved to
lasso_provider_verify_query_signature and
lasso_provider_verify_signature now calls it.
- lasso_provider_verify_signature is now using lasso_verify_signature
from the xml/tools.o module.
- lasso_provider_verify_single_signature was modified to support
multiple signing keys.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
