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

# CommitmentType

**Namespace:** `Lacuna.Pki`  
**Assembly:** `Lacuna.Pki`  
_Class_

```csharp
public class CommitmentType
```

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

## Campos

### `ProofOfApproval`

Proof of approval indicates that the signer has approved the content of the message.

```csharp
public static readonly CommitmentType ProofOfApproval
```

**Retorno**

[`CommitmentType`](https://docs.lacunasoftware.com/api/Lacuna.Pki/CommitmentType)

---

### `ProofOfCreation`

Proof of creation indicates that the signer has created the message (but not necessarily approved, nor sent it).

```csharp
public static readonly CommitmentType ProofOfCreation
```

**Retorno**

[`CommitmentType`](https://docs.lacunasoftware.com/api/Lacuna.Pki/CommitmentType)

---

### `ProofOfDelivery`

Proof of delivery indicates that the TSP providing that indication has delivered a message in a local store	accessible to the recipient of the message.

```csharp
public static readonly CommitmentType ProofOfDelivery
```

**Retorno**

[`CommitmentType`](https://docs.lacunasoftware.com/api/Lacuna.Pki/CommitmentType)

---

### `ProofOfOrigin`

Proof of origin indicates that the signer recognizes to have created, approved, and sent the message.

```csharp
public static readonly CommitmentType ProofOfOrigin
```

**Retorno**

[`CommitmentType`](https://docs.lacunasoftware.com/api/Lacuna.Pki/CommitmentType)

---

### `ProofOfReceipt`

Proof of receipt indicates that signer recognizes to have received the content of the message.

```csharp
public static readonly CommitmentType ProofOfReceipt
```

**Retorno**

[`CommitmentType`](https://docs.lacunasoftware.com/api/Lacuna.Pki/CommitmentType)

---

### `ProofOfSender`

Proof of sender indicates that the entity providing that indication has sent the message(but not necessarily created it).

```csharp
public static readonly CommitmentType ProofOfSender
```

**Retorno**

[`CommitmentType`](https://docs.lacunasoftware.com/api/Lacuna.Pki/CommitmentType)

---

## Propriedades

### `Oid`

```csharp
public string Oid { get; }
```

**Retorno**

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

---

## Métodos

### `Equals(CommitmentType)`

```csharp
public bool Equals(CommitmentType other)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `other` | [`CommitmentType`](https://docs.lacunasoftware.com/api/Lacuna.Pki/CommitmentType) |  |

**Retorno**

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

---

### `Equals(object)`

```csharp
public override bool Equals(object obj)
```

**Parâmetros**

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

**Retorno**

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

---

### `GetHashCode()`

```csharp
public override int GetHashCode()
```

**Retorno**

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

---

### `ToString()`

```csharp
public override string ToString()
```

**Retorno**

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

---

## Operadores

### `operator !=(CommitmentType, CommitmentType)`

```csharp
public static bool operator !=(CommitmentType a, CommitmentType b)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `a` | [`CommitmentType`](https://docs.lacunasoftware.com/api/Lacuna.Pki/CommitmentType) |  |
| `b` | [`CommitmentType`](https://docs.lacunasoftware.com/api/Lacuna.Pki/CommitmentType) |  |

**Retorno**

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

---

### `operator ==(CommitmentType, CommitmentType)`

```csharp
public static bool operator ==(CommitmentType a, CommitmentType b)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `a` | [`CommitmentType`](https://docs.lacunasoftware.com/api/Lacuna.Pki/CommitmentType) |  |
| `b` | [`CommitmentType`](https://docs.lacunasoftware.com/api/Lacuna.Pki/CommitmentType) |  |

**Retorno**

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

---

## Membros herdados

[`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), [`GetType()`](https://learn.microsoft.com/dotnet/api/system.object.gettype), [`MemberwiseClone()`](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)
