We need to
sign a document that it’s stored on a web site. The web site will
read user’s digital certificate (through activeX ? ) and , with a click of a
button, will sign a specific word/excel/adobe based the on certificate being
read. Also, the program should be able to show who has signed it and when.
There would be multiple signatures on the same document..
We use A.D.
Cerification services
The documents will be stored in Sharepoint 2013 - the program (web part) will be run in Sharepoint.
<span style=“font-size:11.0pt;font-family:“Calibri”,“sans-serif”;
mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:
“Times New Roman”;mso-ansi-language:EN-US;mso-fareast-language:EN-US;
mso-bidi-language:AR-SA” lang=“EN-US”>Can it be done with aspose products and which?<!–[if gte mso 10]>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
<![endif]–>
Hi,
Thanks for your inquiry. You can sign Doc/Docx by using Aspose.Words. Please use the DigitalSignatureUtil.Sign method to Sign source document (Doc/Docx) using given digital signature and writes signed document to destination file.
DigitalSignatureUtil.Sign Method (String, String, X509Certificate2, String, DateTime)
Stream with document being signed.
Stream that signed document will be written to.
Certificate object used to sign file. Certificate MUST contain private keys.
Actual signing date/time.
Moreover, the
DigitalSignature class represents a digital signature on a document and the result of its verification. Please read the members of this class from here:
Following code example shows how to validate each signature in a document and display basic information about the signature.
// Load the document which contains
signature.<o:p></o:p>
Document doc = new
Document(MyDir + "Document.Signed.docx");
foreach (DigitalSignature
signature in doc.DigitalSignatures)
{
Console.WriteLine("***
Signature Found ***");
Console.WriteLine("Is
valid: " + signature.IsValid);
Console.WriteLine("Reason
for signing: " + signature.Comments); //
This property is available in MS Word documents only.
Console.WriteLine("Signature
type: " + signature.SignatureType.ToString());
Console.WriteLine("Time
of signing: " + signature.SignTime);
Console.WriteLine("Subject
name: " + signature.Certificate.SubjectName.ToString());
Console.WriteLine("Issuer
name: " + signature.Certificate.IssuerName.Name);
Console.WriteLine();
}
I am moving this thread to Aspose.Total forum. My colleagues from Aspose.Cells and Aspose.Pdf teams will reply you shortly about your query related to Excel and Pdf documents.
Hi,
I would help you assigning and validating digital signatures in Excel workbooks.
Please see the document on now to assign and validate digital signatures for Excel files :
Hope, this helps you.
Let us know if you have any confusion or concern/issue for Excel workbooks.
Thank you.
Hi,
I would like to share information regarding signing PDF documents. We have a component named Aspose.Pdf for .NET which supports the feature to sign the PDF documents. Please visit the following link for further information on Add Digital Signature in a PDF File (Facades)