<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body style="">
<div>
Many thanks.
</div>
<div>
I have already solved this problem as you suggested.
</div>
<div>
Regards
</div>
<p style="margin: 0;"> </p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> _________________________________________________________________________</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> </p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> Il 8 aprile 2013 alle 14.46 Uri Lublin <uril@redhat.com> ha scritto:</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > On 04/03/2013 07:51 PM, Ignazio Cassano wrote:</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > > Hi all, I do not know if this is the correct emailing list to ask about my</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > > problem, any case I am very interested to know about spice-xpi .</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > > I created a java script for launching the spice-xpi plugin but I'd like to know</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > > what TrustStore parameter must contain .</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > > I read it must be the "der encoded certificate" but I do not know what it does</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > > mean.</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > > I I created a CA ca-cert.pem certificate and it works with remote-viewer or</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > > spicy client, but I do not know how I can supply it using spice-xpi in a java</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > > script.</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> ></p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > it's similar to how you supply other parameters, such as Host and Title.</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> ></p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > Something like the following should work:</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > js_spice_xpi_object.TrustStore = certificate_str</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> ></p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > where js_spice_object is the java-script variable that holds the spice</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > xpi object</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> > and certificate_str is the certificate as a string.</p>
<p style="margin: 0;"> <span style="opacity: 0;">></span> </p>
<div id="ox-signature">
<p style="margin: 0;"> Ignazio Cassano</p>
<p style="margin: 0;"> Csi Piemonte</p>
<p style="margin: 0;"> +393466299173</p>
</div>
</body></html>