);             if (estimatedSize < encodedSig.Length) {                 throw new System.IO.IOException("Not enough space");             }             byte[] paddedSig = new byte[estimatedSize];             Array.Copy(encodedSig, 0, paddedSig, 0, encodedSig.Length);             PdfDictionary dic0 = new PdfDictionary();             dic0.Put(PdfName.Contents, new PdfString(paddedSig).SetHexWriting(true));             Close(dic0);             closed = true;         }          /// <summary>Sign the document using an external container, usually a PKCS0.</summary>         /// <remarks>         /// Sign the document using an external container, usually a PKCS0.