Sign(X509Certificate2,Stream,SignatureDetails) Method
In This Topic
Creates a signature packet for visible signature line.
Syntax
void Sign(
System.Security.Cryptography.X509Certificates.X509Certificate2 ,
System.IO.Stream ,
SignatureDetails
)
Parameters
- certificate
- The certificate that will be used to sign the workbook.
- signatureImage
- The signature image 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