New to Telerik Document Processing? Start a free 30-day trial

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:

  1. Computing the digest of the PDF byte range data.
  2. 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:

C#
public interface IExternalSigner

Derived Classes: ExternalSignerBase

Methods

Builds a detached CMS (PKCS#7) signature for the provided PDF byte range data using the supplied settings.

C#
byte[] Sign(byte[] pdfByteRangeData, SignatureSettings settings)
Parameters:pdfByteRangeDatabyte[]

The raw PDF byte range data (document content excluding the signature placeholder) whose digest will be computed and signed.

settingsSignatureSettings

Signature generation settings controlling digest algorithm and timestamping.

Returns:

byte[]

Byte array containing the CMS SignedData structure (detached) ready for embedding in a PDF.

In this article
DefinitionMethodsSign(byte[], SignatureSettings)
Not finding the help you need?
Contact Support