santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Skip Walker" <skipw...@skipwalker.com>
Subject RE: Why can i get the "arg1" id when dycrypting
Date Tue, 12 Apr 2005 16:23:38 GMT
Davanum,

Is there a distribution for the current version of the Apache WSS4J?  If so,
where can I get it?  Poking around the ws.apache.org website, I can't find
any separate download.  Is it packaged with Axis?  I was looking to possibly
use it (don't know how possible it is) in a different soap toolkit.





Skip Walker
skip@gossamer-group.com
Gossamer Group
Bldg #2, Suite 410
4807 Spicewood Springs Rd.
Austin, TX  78759
(512) 342-2600  Fax (512) 342-2612
 
-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com] 
Sent: Saturday, April 02, 2005 4:46 PM
To: security-dev@xml.apache.org
Subject: Re: Why can i get the "arg1" id when dycrypting

See the code in Apache WSS4J

-- dims

On Apr 1, 2005 10:57 PM, John Harrison <hc99jh1@dmu.ac.uk> wrote:
>  
> This is my encrypted file i can Decrypt the  <wsse:Password> element and
> write this out to a file but having spent the last few hours tring to find
> out why i can access ne to remove the cipher elements. 
>   
> I've attached source code, Someone Please tell me where i'm going wrong. 
>   
> Thanks in advance 
>   
>   
> John 
>   
>   
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/secext"
>
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurit
y-utility-1.0.xsd"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> soapenv:mustUnderstand="1">
>  <soapenv:Header>
>   <wsse:Security
>
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecuri
ty-secext-1.0.xsd"
> soapenv:mustUnderstand="0">
>    <wsse:UsernameToken>
>     <wsse:Username
> wsu:Id="UsernameToken">username</wsse:Username>
>     <wsse:Password><EncryptedData
> xmlns="http://www.w3.org/2001/04/xmlenc#"
> Id="wsse:Password"
> Type="http://www.w3.org/2001/04/xmlenc#Content">
>     <EncryptionMethod
> Algorithm="http://www.w3.org/2001/04/xmlenc#DESede"/>
>     <CipherData>
>   <CipherValue>+VJQClJAx8zOMijKdwfnug==</CipherValue>
>     </CipherData>
> </EncryptedData></wsse:Password>
>    </wsse:UsernameToken>
>   </wsse:Security>
>   <wsse:Signature/>
>  </soapenv:Header>
>  <soapenv:Body>
>   <serviceMethod
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
>    <arg1 xsi:type="xsd:string"><EncryptedData
> xmlns="http://www.w3.org/2001/04/xmlenc#" Id="arg1"
> Type="http://www.w3.org/2001/04/xmlenc#Content">
>     <EncryptionMethod
> Algorithm="http://www.w3.org/2001/04/xmlenc#DESede"/>
>     <CipherData>
>   <CipherValue>sJzgu8mTQpJ2Xu/ABKVfBQ==</CipherValue>
>     </CipherData>
> </EncryptedData></arg1>
>   </serviceMethod>
>  </soapenv:Body>
> </soapenv:Envelope> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/





Mime
View raw message