Re: XmlSecurity Endpoint: Adding KeyValue as KeyInfo child in signature

2014-11-14 Thread Franz Paul Forsthofer
Hello Gonzalo Vàsquez, KeyValue: PublicKey key = cert.getPublicKey(); KeyValue keyInfoFactory.newKeyValue(key); ListObject keyInfoContent = new ArrayListObject(1)); if (keyValue != null) { keyInfoContent.add(keyValue); } KeyInfo

Re: XmlSecurity Endpoint: Adding KeyValue as KeyInfo child in signature

2014-11-14 Thread Colm O hEigeartaigh
Line breaks: Here I have no solution. The component uses Apache Santuario or the JSR105 implementation of the JRE. Mybe you can find more information in the Santuario spec. Line breaks are controlled by the System property org.apache.xml.security.ignoreLineBreaks. So if you want to add line

Re: XmlSecurity Endpoint: Adding KeyValue as KeyInfo child in signature

2014-11-14 Thread Gonzalo Vasquez
nice to know, thanks! Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (RD) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl http://www.altiuz.cl http://www.altiuzreports.com El 14-11-2014, a las

XmlSecurity Endpoint: Adding KeyValue as KeyInfo child in signature

2014-11-12 Thread Gonzalo Vasquez
Dear list members,Can you please provide me hints on how to improve my current keyAccesor to achieve adding the KeyValue node in the KeyInfo element?Regarding the base64 encoded parts, how can I force the linebreaks to avoid never-ending lines?I'm also missing a Reference element in the