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

# XmlSignedEntity

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

```csharp
public class XmlSignedEntity
```

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

## Propriedades

### `Element`

```csharp
public XmlElement Element { get; }
```

**Retorno**

[`XmlElement`](https://learn.microsoft.com/dotnet/api/system.xml.xmlelement)

---

### `Signatures`

```csharp
public List<XmlSignature> Signatures { get; }
```

**Retorno**

[`List<XmlSignature>`](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)

---

### `Type`

```csharp
public XmlSignedEntityTypes Type { get; set; }
```

**Retorno**

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

---

## Métodos

### `ValidateAllSignatures(IXmlPolicyMapper, DateTimeOffset?)`

```csharp
public Dictionary<XmlSignature, ValidationResults> ValidateAllSignatures(IXmlPolicyMapper policyMapper, DateTimeOffset? dateReference = null)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `policyMapper` | [`IXmlPolicyMapper`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Xml/IXmlPolicyMapper) |  |
| `dateReference` | [`DateTimeOffset?`](https://learn.microsoft.com/dotnet/api/system.datetimeoffset) |  |

**Retorno**

[`Dictionary<XmlSignature, ValidationResults>`](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)

---

### `ValidateAllSignatures(IXmlPolicyMapperBySignature, DateTimeOffset?)`

```csharp
public Dictionary<XmlSignature, ValidationResults> ValidateAllSignatures(IXmlPolicyMapperBySignature policyMapper, DateTimeOffset? dateReference = null)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `policyMapper` | [`IXmlPolicyMapperBySignature`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Xml/IXmlPolicyMapperBySignature) |  |
| `dateReference` | [`DateTimeOffset?`](https://learn.microsoft.com/dotnet/api/system.datetimeoffset) |  |

**Retorno**

[`Dictionary<XmlSignature, ValidationResults>`](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)

---

### `ValidateAllSignatures(XmlPolicySpec, DateTimeOffset?)`

```csharp
public Dictionary<XmlSignature, ValidationResults> ValidateAllSignatures(XmlPolicySpec policy, DateTimeOffset? dateReference = null)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `policy` | [`XmlPolicySpec`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Xml/XmlPolicySpec) |  |
| `dateReference` | [`DateTimeOffset?`](https://learn.microsoft.com/dotnet/api/system.datetimeoffset) |  |

**Retorno**

[`Dictionary<XmlSignature, ValidationResults>`](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)

---

## Membros herdados

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