axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prabath Siriwardena <prab...@wso2.com>
Subject Re: [Axis2] [Rampart] How to check exactly what key is used to check signature
Date Tue, 13 Dec 2011 00:38:10 GMT
You can get it from the following code...
X509Certificate cert = (X509Certificate)
msgContext.getProperty("X509Certificate");
Thanks & regards,-Prabath
On Tue, Dec 6, 2011 at 10:02 PM, Tor-Erik Steinsland
<te.steinsland@gmail.com> wrote:
> Hello,
>
> I have developed a web service which uses signature for authentication and
> message integrity checking. I have managed to get it to work after following
> this guide: http://wso2.org/library/3415
>
> My challenge is: If I assume that I have a number of clients using this web
> service, how can I find out exactly which certificate is used to decrypt the
> signature? In other words, how can I find out exactly which client has sent
> the request based on the signature?
>
> Best regards,
> Tor-Erik Steinsland
> 92443033



-- 
Thanks & Regards,
Prabath

http://blog.facilelogin.com
http://RampartFAQ.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message