Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put <ds:Signature> as the first child for enveloped signature.
The current code has two issues: (1) It add sig to the signed element's Child, but does NOT update the index and parent. It should call "Element.AddChild(t)" (2) the <ds:Signature> is added as the last child. But based on SAML standard, this should be the first child. Both of these issues will be solved by this update.
- Loading branch information