---
title: "Certificates"
description: "Overview of the PKI SDK PKCertificate class, which views and manipulates X509 certificate information from BER, DER, Base64 or PEM encodings."
canonical: "https://docs.lacunasoftware.com/en-us/articles/pki-sdk/certificates"
locale: "en"
product: "PKI SDK"
last_updated: "2026-07-14"
---

# Certificates

The class @Lacuna.Pki.PKCertificate provides viewing and manipulation of X509 certificate information. The class supports the loading of certificates with BER, DER, Base64 or PEM encoding.

```cs
// Para certificados com encoded bytes em BER, DER, Base64 ou PEM
PKCertificate PKCertificate.Decode(byte[] certContent);

// Para certificados com encoding Base64 ou PEM
PKCertificate PKCertificate.Decode(string certContent);
```

For more examples of how to upload a certificate and start using it in our SDK, check out the following topic:
[Decoding certificates](https://docs.lacunasoftware.com/en-us/articles/pki-sdk/certificates/decoding)

## See too

* @Lacuna.Pki.PKCertificate
