You are following up a 2 year old thread and many things changed in
iText since then. If you are using a HSM the key is not exportable and
you'll need specific software from the HSM manufacturer. Have a look
at the class iTextSharp.text.pdf.security.X509Certificate2Signature.

Paulo

On Mon, Jul 23, 2012 at 9:27 AM, chenhuang <[email protected]> wrote:
> I build your example and run successful. But i want to do in another way, not
> use makecert tool. I generate key pair in HSM, then generate a CSR
> (PKCS#10), send to CA to get a certificate. I want to sign pdf file with
> certificate and private key above
>
> With iText, i can get key and cert from HSM by using its labels, but with
> iTextSharp, can i do something like that, if yes, how to do.
>
> Thanks for your support!
>
>
>
>
>
> --
> View this message in context: 
> http://itext-general.2136553.n4.nabble.com/Luna-SA-HSM-Integration-with-iTextSharp-tp2552278p4655669.html
> Sent from the iText - General mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a 
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples: 
> http://itextpdf.com/themes/keywords.php

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to