You get your X509Certificate2, export it to a byte array and create a new bouncycastle certificate with it.
Paulo ----- Original Message ----- From: "Junior + Suporte" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[email protected]> Sent: Sunday, July 23, 2006 7:54 PM Subject: [iText-questions] Digital Signature > Hi all, > > I'm trying to Sign a PDF with iTextSharp, I have found a lot of example in > the internet, but all talks about digital sign with a PFX file, I want to > sign a PDF with an certificate stored in the Microsoft Store (my). C# have > a > function to get the certificates from My, but this function return a > certificate in X509Certificate2 object, and this type is not accept by > function CreateSignature(). I want to know if the BouncyCastle have any > function to get the My certificates, to return the certificate in right > type > to be used in CreateSignature(), or if have any way to convert > X509Certificate2 in a acceptable parameter to be passed in > CreateSignature(). > > Thanks All. > > Luiz Carlos Zancanella Junior > > -------------------------------------------------------------------------------- > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------------------------------------------------------------------------- > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
