forked from crewjam/saml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING: update schema to more accurately reflect the standard
This commit adds missing fields and structures. This commit turns some fields from pointers to a single optional struct into the more correct slice of struct. In those cases the field name also changes to plural. This commit also improves the way XML signatures are modeled. It turns out that some libraries (and maybe the actual SAML standard) require that elements appear in a particular order, including <ds:Signature> elements. To model this we add Signature fields as an *etree.Element. These structs also grow an Element() method that serializes the struct into a *etree.Element. This is required to correctly compute digests of the XML as specified by xmldsig.
- Loading branch information
Showing
15 changed files
with
1,794 additions
and
524 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.