Sign(X509Certificate2,String,SignatureDetails) Method
In This Topic
Creates a signature packet for visible signature line.
Syntax
void Sign(
System.Security.Cryptography.X509Certificates.X509Certificate2 ,
System.string ,
SignatureDetails
)
Parameters
- certificate
- The certificate that will be used to sign the workbook.
- signatureText
- The signature text of the signature line.
- details
- The signature detail of the signature.
Exceptions
Exception | Description |
System.InvalidOperationException | Attempted to sign a non-visible signature line. |
See Also