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

# IUserCertificateStore

**Namespace:** `Lacuna.Pki.Stores`  
**Assembly:** `Lacuna.Pki`  
_Interface_

```csharp
public interface IUserCertificateStore
```

## Métodos

### `GetByIssuerAndSerialNumber(Name, BigInteger)`

```csharp
byte[] GetByIssuerAndSerialNumber(Name issuerName, BigInteger serialNumber)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `issuerName` | [`Name`](https://docs.lacunasoftware.com/api/Lacuna.Pki/Name) |  |
| `serialNumber` | [`BigInteger`](https://learn.microsoft.com/dotnet/api/system.numerics.biginteger) |  |

**Retorno**

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

---

### `GetByKeyIdentifier(byte[])`

```csharp
byte[] GetByKeyIdentifier(byte[] keyIdentifier)
```

**Parâmetros**

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

**Retorno**

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

---

### `GetBySubjectName(Name)`

```csharp
IEnumerable<byte[]> GetBySubjectName(Name subjectName)
```

**Parâmetros**

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

**Retorno**

[`IEnumerable<byte[]>`](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)

---
