title: Signing a PDF with iTextSharp
body: <p>I've been using iTextSharp to sign PDFs in my application, and it works pretty good using this code I adapted from the java example on the iText website:</p>
  
  <pre><code>PdfStamper stp = PdfStamper.CreateSignature(reader, outmemstream, ControlChars.NullChar);
  PdfSignatureAppearance sap = stp.SignatureAppearance;
  sap.SetCrypto(prvKey, new X509Certificate[] {sigCert, Repository.CAcertificate}, null, pdfSignatureAppearance.SELF_SIGNED);
  sap.Reason = "Just to proove I can sign!";
  </code></pre>
  
  <p>This has worked ok until version 5.2.1 of iText, but in the recent version 5.3.0 the "SetCrypto" method has been removed and I cannot sign anymore! Any ideas on why it has been removed and what may be an alternative method to sign a pdf on the new version??</p>
  
  <p>Thanks in advance</p>