I need to sign pdf using iTextSharp (which uses BouncyCastle). Method for signing requires IICipherParameters object but I don't know how to create it from X509Certificate2.PrivateKey. I found examples which are using BC and PKCS12 and DotNet for converting but none with PKCS11 (or just using standard .NET libraries).
Any help will be appreciated. Regards
