---
title: "SignatureStarter"
description: "Namespace: Lacuna.RestPki.Client"
canonical: "https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/SignatureStarter"
locale: "pt-BR"
product: "PKI SDK"
last_updated: "2026-06-02"
---

# SignatureStarter

**Namespace:** `Lacuna.RestPki.Client`  
**Assembly:** `Lacuna.RestPki.Client`  
_Class_

```csharp
public abstract class SignatureStarter
```

**Hierarquia:** [`object`](https://learn.microsoft.com/dotnet/api/system.object) → `SignatureStarter`

## Construtores

### `SignatureStarter(RestPkiClient)`

```csharp
public SignatureStarter(RestPkiClient client)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `client` | [`RestPkiClient`](https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/RestPkiClient) |  |

---

## Campos

### `CertificateInfo`

```csharp
protected PKCertificate CertificateInfo
```

**Retorno**

[`PKCertificate`](https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/PKCertificate)

---

### `Client`

```csharp
protected RestPkiClient Client
```

**Retorno**

[`RestPkiClient`](https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/RestPkiClient)

---

### `Done`

```csharp
protected bool Done
```

**Retorno**

[`bool`](https://learn.microsoft.com/dotnet/api/system.boolean)

---

## Propriedades

### `CallbackArgument`

```csharp
public string CallbackArgument { get; set; }
```

**Retorno**

[`string`](https://learn.microsoft.com/dotnet/api/system.string)

---

### `IgnoreRevocationStatusUnknown`

Whether validation errors due to the revocation status of a certificate being
unknown should be ignored. Defaults to false.

```csharp
public bool IgnoreRevocationStatusUnknown { get; set; }
```

**Retorno**

[`bool`](https://learn.microsoft.com/dotnet/api/system.boolean)

---

### `SecurityContextId`

```csharp
public Guid? SecurityContextId { get; set; }
```

**Retorno**

[`Guid?`](https://learn.microsoft.com/dotnet/api/system.guid)

---

### `SignaturePolicyId`

```csharp
public Guid? SignaturePolicyId { get; set; }
```

**Retorno**

[`Guid?`](https://learn.microsoft.com/dotnet/api/system.guid)

---

### `SignerCertificate`

```csharp
public byte[] SignerCertificate { get; set; }
```

**Retorno**

[`byte[]`](https://learn.microsoft.com/dotnet/api/system.byte)

---

## Métodos

### `GetCertificateInfo()`

```csharp
public PKCertificate GetCertificateInfo()
```

**Retorno**

[`PKCertificate`](https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/PKCertificate)

---

### `SetCallbackArgument(string)`

```csharp
public void SetCallbackArgument(string callbackArgument)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `callbackArgument` | [`string`](https://learn.microsoft.com/dotnet/api/system.string) |  |

---

### `SetSecurityContext(Guid)`

```csharp
public void SetSecurityContext(Guid securityContextId)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `securityContextId` | [`Guid`](https://learn.microsoft.com/dotnet/api/system.guid) |  |

---

### `SetSignaturePolicy(Guid)`

```csharp
public void SetSignaturePolicy(Guid signaturePolicyId)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `signaturePolicyId` | [`Guid`](https://learn.microsoft.com/dotnet/api/system.guid) |  |

---

### `SetSignerCertificate(byte[])`

```csharp
public void SetSignerCertificate(byte[] certificate)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `certificate` | [`byte[]`](https://learn.microsoft.com/dotnet/api/system.byte) |  |

---

### `Start()`

```csharp
public abstract ClientSideSignatureInstructions Start()
```

**Retorno**

[`ClientSideSignatureInstructions`](https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/ClientSideSignatureInstructions)

---

### `StartAsync()`

```csharp
public abstract Task<ClientSideSignatureInstructions> StartAsync()
```

**Retorno**

[`Task<ClientSideSignatureInstructions>`](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1)

---

### `StartWithWebPki()`

```csharp
public abstract string StartWithWebPki()
```

**Retorno**

[`string`](https://learn.microsoft.com/dotnet/api/system.string)

---

### `StartWithWebPkiAsync()`

```csharp
public abstract Task<string> StartWithWebPkiAsync()
```

**Retorno**

[`Task<string>`](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1)

---

## Membros herdados

[`GetType()`](https://learn.microsoft.com/dotnet/api/system.object.gettype), [`MemberwiseClone()`](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone), [`ToString()`](https://learn.microsoft.com/dotnet/api/system.object.tostring), [`Equals(object)`](<https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)>), [`Equals(object, object)`](<https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)>), [`ReferenceEquals(object, object)`](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [`GetHashCode()`](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)
