IExternalSigner
Abstraction for producing an external CMS (PKCS#7) detached signature over a PDF byte range.
Implement this interface when integrating custom or third‑party signing components (e.g. HSMs, smart cards, remote signing services). The implementation is responsible for:
- Computing the digest of the PDF byte range data.
- Building a CMS SignedData structure whose signature value matches the specified
DigestAlgorithm. 3. Optionally applying an RFC 3161 timestamp when TimeStampServer is provided. The returned value must be a detached SignedData (i.e. encapsulated content is omitted) suitable for embedding directly in a PDF signature dictionary.
Definition
Namespace:Telerik.Documents.Fixed.Model.DigitalSignatures
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public interface IExternalSigner
Derived Classes:
Methods
Builds a detached CMS (PKCS#7) signature for the provided PDF byte range data using the supplied settings.
byte[] Sign(byte[] pdfByteRangeData, SignatureSettings settings)
The raw PDF byte range data (document content excluding the signature placeholder) whose digest will be computed and signed.
settingsSignatureSettingsSignature generation settings controlling digest algorithm and timestamping.
Returns:byte[]
Byte array containing the CMS SignedData structure (detached) ready for embedding in a PDF.