I'm trying to use WSS4j. I wrote a handler that can get the message in xml dom format, I attached a BinarySecurityToken Element to it, but I don't know what should I fill it with? I know that it supposed to be binary base64encoded data but what data? What should I take from the certificate: public key, sinature, something else?
----- Original Message ----- From: "Guy Rixon" <[EMAIL PROTECTED]> To: "axis-user" <[email protected]>; "Anna Krajewska" <[EMAIL PROTECTED]> Sent: Thursday, October 06, 2005 7:35 PM Subject: Re: How to create BinarySecurityToken from X509Certificate? > Use WSS4J. If you configure the handler WSDoAllSender to need such a token, > e.g. as part of a signature, then it will make one for you from a key-store > that you supply. If you pick apart the WSS4J package you will probably find > the classes that generated the binary token XML from Java objects. > > > Guy Rixon [EMAIL PROTECTED] > Institute of Astronomy Tel: +44-1223-337542 > Madingley Road, Cambridge, UK, CB3 0HA Fax: +44-1223-337523 -- ========================= Anna Krajewska Departament Informatyki tel: +48 32 33 25 541 fax: +48 32 33 25 505 email: [EMAIL PROTECTED] ---------------------------------------------------- WASKO S.A. ul. Berbeckiego 6 44-100 Gliwice ----------------------------------------------------
