See http://itextpdf.sourceforge.net/howtosign.html#signextdiccms.

Paulo

> -----Original Message-----
> From: Ameneh [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 24, 2008 9:39 PM
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Luna SA Integration with iText
>
>
> Thank you for your replies so far.
> Is there a particular documenation which explains this in
> morde details. I'm
> happy with setting up the HSM and Luna JCA/JCE on my clilent.
> Am i right
> thinking that we should work with iText with Luna SA 'Out of
> the box'? i.e
> we shouldn't need to use any API/SDK to integrate with it.
> What are the
> steps to setup iText in particular. where can i find a
> document about using
> external signature with iText?
> Thanks
> Ameneh
>
>
> Massimiliano Ziccardi wrote:
> >
> > You can use the same code I sent here some time ago (I sign
> with Chrysalis
> > Luna SA HSM).
> > You just have to instantiate the LunaSA keystore and get
> the private key,
> > with something like this:
> >
> >         LunaTokenManager luna = LunaTokenManager.getInstance();
> >         luna.Login("SLOTNAME", "SLOTPWD");
> >
> >         KeyStore ks = KeyStore.getInstance("LUNA", new
> LunaJCAProvider());
> >         ks.load(null, null);
> >
> > Then, when you sign, tell bouncycastle to use the LunaSA provider
> > (otherwise
> > you'll get an 'cannot access sensible attribute' error...).
> >
> >
> > Regards,
> > Massimiliano.
> >
> > On Wed, Sep 24, 2008 at 11:10 AM, Paulo Soares
> <[EMAIL PROTECTED]> wrote:
> >
> >> iText supports external signatures, they can come from Luna SA too.
> >>
> >> Paulo
> >>
> >> ________________________________________
> >> From: [EMAIL PROTECTED] [EMAIL PROTECTED]
> >> Sent: Wednesday, September 24, 2008 9:16 AM
> >> To: itext-questions@lists.sourceforge.net
> >> Subject: [iText-questions] Luna SA Integration with iText
> >>
> >> Hello There,
> >> could you please let me know if it's possible to perform an
> >> 'out-of-the-box' integration with HSM (Luna SA) in this
> case with itext?
> >> I know that it's possible to point iText to a crypto
> library, would you
> >> happen to know if this will work with just simply pointing
> it to Safent
> >> Luna
> >> SA crypto Library?
> >> Many thanks for your quick response
> >> Ameneh


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to