When I use the "PasswordDigest", I am able to encrypt the password. My
requirement is how do I let the serverside (.Net webservice) know that what
algorithm I am using for encryption?

My SOAP request looks like this:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
<soap:Header>
        <wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
soap:mustUnderstand="1">
        <wsse:UsernameToken
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
wsu:Id="UsernameToken-24149967"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>
                <wsse:Username
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>demo_asmf</wsse:Username>
                <wsse:Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest";
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>qdK3ZFSgbF8XFAWjH7MDVmXAHoA=</wsse:Password>
                <wsse:Nonce
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>df0hYEy3R4+aBXkHbl1ePg==</wsse:Nonce>
                <wsu:Created
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>2008-09-10T16:23:44.910Z</wsu:Created>
                </wsse:UsernameToken>
        </wsse:Security>
        </soap:Header>
        <soap:Body>
                <GetNewSubmissionNumber xmlns="Icams.UMS.Services"/>
        </soap:Body>
</soap:Envelope>
-- 
View this message in context: 
http://www.nabble.com/%3Centry-key%3D%22passwordType%22-value%3D%22PasswordDigest%22--%3E-follows-which-algorithm--to-encrypt-tp19416347p19416347.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to