# PdfExternalSignatureCompletion

Completed externally signed PDF and signer callback evidence.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfExternalSignatureCompletion.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Signatures/PdfExternalSignatureCompletion.cs#L34)

**Modifiers**

sealed

Completed externally signed PDF and signer callback evidence.

## Inheritance

- object
- PdfExternalSignatureCompletion

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Encrypt, Decrypt, and Sign PDFs](/docs/pdf/encrypt-sign/) Guide
  
  Encrypt PDFs with passwords and permissions, decrypt protected files, sign with a certificate and validate signatures with OfficeIMO.Pdf.

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Method [PdfDocumentSecurity.SignExternal](/api/pdf/officeimo-pdf-pdfdocumentsecurity/#method-signexternal-officeimo-pdf-ipdfexternalsigner-officeimo-pdf-pdfexternalsignatureoptions-threading-cancellationtoken)

Filter members 

Show inherited

## Methods

`public PdfDocument ToDocument()` [#](#method-todocument)

[PdfExternalSignatureCompletion.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Signatures/PdfExternalSignatureCompletion.cs#L34)

Opens the completed PDF through the normal fluent document API.

Returns

`PdfDocument`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public byte[] Pdf { get; }` [#](#property-pdf)

[PdfExternalSignatureCompletion.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Signatures/PdfExternalSignatureCompletion.cs#L22)

PDF bytes with the callback-produced signature applied.

`public PdfExternalSignaturePreparation Preparation { get; }` [#](#property-preparation)

[PdfExternalSignatureCompletion.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Signatures/PdfExternalSignatureCompletion.cs#L25)

Placeholder and byte-range preparation used by the signer.

`public string SignerName { get; }` [#](#property-signername)

[PdfExternalSignatureCompletion.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Signatures/PdfExternalSignatureCompletion.cs#L28)

Signer callback implementation name.

`public int SignatureContentsLength { get; }` [#](#property-signaturecontentslength)

[PdfExternalSignatureCompletion.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Signatures/PdfExternalSignatureCompletion.cs#L31)

CMS, CAdES, or timestamp token byte count returned by the signer.

<!-- PowerForge markdown artifact sha256:735476C0B64A11F5AFE0D64887CE703EE3DC828FD599FC89ED1684DE7879F1BF -->
