Table of Contents

Method Complete

Namespace
LMKit.Document.Pdf
Assembly
LM-Kit.NET.dll

Complete(byte[])

Embeds the DER CMS container into the placeholder and returns the finished document. The prepared bytes are never mutated; every call returns a fresh copy, so a failed external signature can simply be retried.

public byte[] Complete(byte[] cmsContainer)

Parameters

cmsContainer byte[]

The DER-encoded detached CMS (PKCS#7) container.

Returns

byte[]

Exceptions

ArgumentNullException

cmsContainer is null.

ArgumentException

The container does not fit the reserved placeholder.

Share