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

# XmlPoliciesForGeneration

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

Static class with a collection of XML policies commonly used for signature generation.

```csharp
public static class XmlPoliciesForGeneration
```

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

## Métodos

### `GetNFePadraoNacional()`

```csharp
public static IXmlPolicyMapper GetNFePadraoNacional()
```

**Retorno**

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

---

### `GetPkiBrazilAdrArquivamento()`

```csharp
public static IXmlPolicyMapper GetPkiBrazilAdrArquivamento()
```

**Retorno**

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

---

### `GetPkiBrazilAdrBasica(bool)`

```csharp
public static IXmlPolicyMapper GetPkiBrazilAdrBasica(bool includeSigningTime = true)
```

**Parâmetros**

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

**Retorno**

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

---

### `GetPkiBrazilAdrCompleta()`

```csharp
public static IXmlPolicyMapper GetPkiBrazilAdrCompleta()
```

**Retorno**

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

---

### `GetPkiBrazilAdrTempo()`

```csharp
public static IXmlPolicyMapper GetPkiBrazilAdrTempo()
```

**Retorno**

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

---

### `GetXadesBasic(ITrustArbitrator)`

```csharp
public static IXmlPolicyMapper GetXadesBasic(ITrustArbitrator trustArbitrator = null)
```

**Parâmetros**

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

**Retorno**

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

---

### `GetXmlDSigBasic(ITrustArbitrator)`

```csharp
public static IXmlPolicyMapper GetXmlDSigBasic(ITrustArbitrator trustArbitrator = null)
```

**Parâmetros**

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

**Retorno**

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

---

## 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)
