diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-05-23 12:56:54 +0200 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-11-21 10:25:03 +0100 |
| commit | 5192cdf7a000c1086869df43d8153d3e344a3b91 (patch) | |
| tree | 9f23c61718f64e6582606cb520630d1adcd7839a /bindings/python/__init__.py | |
| parent | 055b405387f7e510ff8b0d0dc044485ba4398e71 (diff) | |
| download | lasso-5192cdf7a000c1086869df43d8153d3e344a3b91.tar.gz lasso-5192cdf7a000c1086869df43d8153d3e344a3b91.tar.xz lasso-5192cdf7a000c1086869df43d8153d3e344a3b91.zip | |
[core] multiple decryption keys support
This commit complements the support for multiple signing certificate
support in the metadata files. The use-case is still key roll-over.
The structure LassoServerPrivateData was changed to accomodate multiple
decryption keys, and so:
xmlSecKey *encryption_private_key
became:
GList *encryption_private_keys
All uses of this key were replaced by a loop over this list, terminating
with the first key to be able to decrypt the content.
The private key passed to lasso_server_new() or
lasso_server_new_from_buffers() is first added to the list of decryption
keys. Any other call to
lasso_server_set_encryption_private_key_with_password() or
lasso_server_set_encryption_private_key() will add a new key to the
list.
Diffstat (limited to 'bindings/python/__init__.py')
0 files changed, 0 insertions, 0 deletions
