Re: Encrypt a UsernameToken Authenticated WSE Response
- From: "casey chesnut" <casey@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 30 Mar 2005 14:07:30 -0600
you can encrypt with a UsernameToken too.
both the client and the server know the password,
so that is used to generate a key to encrypt with.
on the client Request you add something like this line:
serviceProxy.RequestSoapContext.Security.Elements.Add(new
EncryptedData(token));
the server Response adds something like this :
ResponseSoapContext.Current.Security.Tokens.Add(usernameToken);
ResponseSoapContext.Current.Security.Elements.Add(new
MessageSignature(usernameToken));
ResponseSoapContext.Current.Security.Elements.Add(new
EncryptedData(usernameToken));
Thanks,
casey
http://www.brains-N-brawn.com
"AndiRudi" <AndiRudi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B7D49B82-C019-4262-BC3C-D8E3B97C8EB2@xxxxxxxxxxxxxxxx
> Is there any other possibility than x509 to enrcypt a Response. Something
> symmetic would be nice.
.
- Follow-Ups:
- Re: Encrypt a UsernameToken Authenticated WSE Response
- From: AndiRudi
- Re: Encrypt a UsernameToken Authenticated WSE Response
- References:
- Encrypt a UsernameToken Authenticated WSE Response
- From: AndiRudi
- Encrypt a UsernameToken Authenticated WSE Response
- Prev by Date: Re: Ability to get/set SOAP body xml data at a client program
- Next by Date: Re: Ability to get/set SOAP body xml data at a client program
- Previous by thread: Encrypt a UsernameToken Authenticated WSE Response
- Next by thread: Re: Encrypt a UsernameToken Authenticated WSE Response
- Index(es):
Relevant Pages
|
Loading