Signed SAML response in .net

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Signed SAML response in .net

    Hi,

    I'm trying to verify a signed SAML reponse. It's an enveloped signature
    with following format:

    <Response ResponseID="xxx" >
    <ds:Signature> ...
    <ds:Reference URI="xxx">
    ...

    I use SignedXML class in the MS WSE library. This class works as expected
    when the Reference element refers to an element with Id="xxx". But for SAML
    responses, there's no Id element, but instead it has ResponseID. Somehow, I
    must tell the SignedXML to use ReponseID to find the Reference! I've tried
    to hack it by changing the ds:Reference URI="", so that it would implicitly
    refer to the top element. But it didn't work!

    When I run a search on the internet, I see similar problems but no
    appropriate solutions.

    If you have any experience/idea, please respond.

    Thanks.



    Ilkay Benian Guest

  2. Similar Questions and Discussions

    1. SAML and .NET?
      I'm doing a scoping study for a Single-Sign-On integration project with a client. The client's SSO interface is built on SAML 1.1 specification...
    2. SAML Module?
      Is there a module that implements the SAML (Security Assertion Markup Language) protocol? If not, is someone already working on one? If so, do...
    3. Slow login response response on TS 03 in AD mixed mode
      We upgraded our NT 4 domain to an AD mixed until we get rid of the NT 4 BDC;s after completing this upgrade users began complaining about how long...
    4. WSE 2.0: Extending SecurityTokenServiceClient to support SAML Assertions
      In WSE 2.0, using the SecurityTokenServiceClient, I can request for a SAML asertion by specifying WSTrust.TokenTypes.SAMLAssertion while creating...
    5. AW7 vs. DirectorMX for psychology experiment using response times AND response answers
      Hello, I'm very new to application design, but need to develop a web based application to use at multiple schools as part of an experimental...
  3. #2

    Default Re: Signed SAML response in .net

    ComponentSpace has a number of SAML components for SAML v1.1 and SAML v2.0. These components handling XML signature generation and verification for SAML messages and assertions.

    An overview of the SAML offerings may be found at [url]http://www.componentspace.com/saml[/url].
    componentspace Guest

  4. #3

    Default Re: Signed SAML response in .net

    Ilkay

    Please take a look at the ComponentSpace SAML components which fully support signature generation and verification.

    More details may be found at [url]http://www.componentspace.com/saml[/url].


    Quote Originally Posted by Ilkay Benian View Post
    Hi,

    I'm trying to verify a signed SAML reponse. It's an enveloped signature
    with following format:

    <Response ResponseID="xxx" >
    <ds:Signature> ...
    <ds:Reference URI="xxx">
    ...

    I use SignedXML class in the MS WSE library. This class works as expected
    when the Reference element refers to an element with Id="xxx". But for SAML
    responses, there's no Id element, but instead it has ResponseID. Somehow, I
    must tell the SignedXML to use ReponseID to find the Reference! I've tried
    to hack it by changing the ds:Reference URI="", so that it would implicitly
    refer to the top element. But it didn't work!

    When I run a search on the internet, I see similar problems but no
    appropriate solutions.

    If you have any experience/idea, please respond.

    Thanks.
    ComponentSpace Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139