Closed jiri-janousek closed 5 years ago
There are enough XML-related functions to deserve own submodule eidas_node.xml:
eidas_node.xml
eidas_node.utils
eidas_node.saml
decrypt_xml
remove_extra_xml_whitespace
sign_xml
verify_xml_signature
encrypt_xml
In addition, IdentityProviderResponseView.get_saml_response should not call decrypt_xml directly but via SAMLResponse.decrypt.
IdentityProviderResponseView.get_saml_response
SAMLResponse.decrypt
There are enough XML-related functions to deserve own submodule
eidas_node.xml
:eidas_node.utils
contains 5 XML-related functions.eidas_node.saml
containsdecrypt_xml
remove_extra_xml_whitespace
should be extracted from the code indecrypt_xml
sign_xml
(#10, #27),verify_xml_signature
(#9),encrypt_xml
(#45)In addition,
IdentityProviderResponseView.get_saml_response
should not calldecrypt_xml
directly but viaSAMLResponse.decrypt
.