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

# XmlPolicySpec.GenerationSpec

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

```csharp
public class XmlPolicySpec.GenerationSpec
```

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

## Construtores

### `GenerationSpec()`

```csharp
public GenerationSpec()
```

---

## Propriedades

### `ArchiveTimestamp`

```csharp
public GenerationRequirementLevels ArchiveTimestamp { get; set; }
```

**Retorno**

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

---

### `IncludeCertificateValues`

Whether or not to include a CertificateValues property.

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

**Retorno**

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

---

### `IncludeCompleteCertificateReferences`

Whether or not to include the CompleteCertificateRefs property.

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

**Retorno**

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

---

### `IncludeCompleteRevocationReferences`

Whether or not to include the CompleteRevocationRefs property.

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

**Retorno**

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

---

### `IncludeKeyValue`

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

**Retorno**

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

---

### `IncludeRevocationValues`

Whether or not to include a RevocationValues property.

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

**Retorno**

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

---

### `IncludeSignaturePolicyIdentifierProperty`

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

**Retorno**

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

---

### `IncludeSigningCertificateProperty`

```csharp
public InclusionLevel IncludeSigningCertificateProperty { get; set; }
```

**Retorno**

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

---

### `IncludeSigningTimeProperty`

Whether or not to include the SigningTime XAdES signed property containing the time taken from the local machine.

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

**Retorno**

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

---

### `IncludeX509Data`

```csharp
[Obsolete("The name of this property is misleading. It has been renamed to X509DataCertificates. See also X509DataFields.")]
public InclusionLevel IncludeX509Data { get; set; }
```

**Retorno**

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

---

### `OmitSignatureElementIds`

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

**Retorno**

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

---

### `SigAndRefsTimestamp`

```csharp
public GenerationRequirementLevels SigAndRefsTimestamp { get; set; }
```

**Retorno**

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

---

### `SignatureTimestamp`

```csharp
public GenerationRequirementLevels SignatureTimestamp { get; set; }
```

**Retorno**

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

---

### `X509DataCertificates`

```csharp
public InclusionLevel X509DataCertificates { get; set; }
```

**Retorno**

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

---

### `X509DataFields`

```csharp
public X509DataFields X509DataFields { get; set; }
```

**Retorno**

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

---

### `XmlTransformations`

```csharp
public List<XmlTransformation> XmlTransformations { get; set; }
```

**Retorno**

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

---

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