InterfaceIExternalSigner
Interface
Abstraction for producing an external CMS (PKCS#7) detached signature over a PDF byte range.
Definition
Namespace:Telerik.Documents.Fixed.Model.DigitalSignatures
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
cs-api-definition
public interface IExternalSigner
Methods
Sign(byte[], SignatureSettings)
Builds a detached CMS (PKCS#7) signature for the provided PDF byte range data using the supplied settings.
Declaration
cs-api-definition
byte[] Sign(byte[] pdfByteRangeData, SignatureSettings settings)
Parameters
pdfByteRangeData
byte[]
The raw PDF byte range data (document content excluding the signature placeholder) whose digest will be computed and signed.
settings
Signature generation settings controlling digest algorithm and timestamping.
Returns
byte[]
Byte array containing the CMS SignedData structure (detached) ready for embedding in a PDF.