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

# ReferencedCrlStoreFromSimpleStore

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

```csharp
public class ReferencedCrlStoreFromSimpleStore : IReferencedCrlStore
```

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

## Construtores

### `ReferencedCrlStoreFromSimpleStore(ISimpleStore)`

```csharp
public ReferencedCrlStoreFromSimpleStore(ISimpleStore simpleStore)
```

**Parâmetros**

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

---

## Métodos

### `GetCrl(DigestAlgorithm, byte[])`

Recovers a CRL based on its digest value. The digest algorithm it's based on signerInfo or policy message digest Algorithm

```csharp
public Crl GetCrl(DigestAlgorithm hashAlgorithm, byte[] crlHash)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `hashAlgorithm` | [`DigestAlgorithm`](https://docs.lacunasoftware.com/api/Lacuna.Pki/DigestAlgorithm) |  |
| `crlHash` | [`byte[]`](https://learn.microsoft.com/dotnet/api/system.byte) |  |

**Retorno**

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

---

### `PutCrl(DigestAlgorithm, byte[])`

```csharp
public void PutCrl(DigestAlgorithm hashAlgorithm, byte[] crl)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `hashAlgorithm` | [`DigestAlgorithm`](https://docs.lacunasoftware.com/api/Lacuna.Pki/DigestAlgorithm) |  |
| `crl` | [`byte[]`](https://learn.microsoft.com/dotnet/api/system.byte) |  |

---

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