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

# AuthenticationInfoAttribute

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

```csharp
public class AuthenticationInfoAttribute
```

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

## Propriedades

### `AuthInfo`

```csharp
public byte[] AuthInfo { get; }
```

**Retorno**

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

---

### `Identity`

```csharp
public GeneralName Identity { get; }
```

**Retorno**

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

---

### `Service`

```csharp
public GeneralName Service { get; }
```

**Retorno**

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

---

## Métodos

### `Decode(byte[])`

```csharp
public static AuthenticationInfoAttribute Decode(byte[] rawAttribute)
```

**Parâmetros**

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

**Retorno**

[`AuthenticationInfoAttribute`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Certificates.Attributes/AuthenticationInfoAttribute)

---

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