# OpcCertificateIdentity Class

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Members</dt>
<dd><a href="./members">OpcCertificateIdentity Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Represents the identity of a user which is described by a certificate.

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public class OpcCertificateIdentity : OpcUserIdentity
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Class OpcCertificateIdentity
    Inherits OpcUserIdentity
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [OpcIdentity](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcidentity/) → [OpcUserIdentity](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcuseridentity/) → **OpcCertificateIdentity**

## Constructors

| Name | Description |
|---|---|
| [OpcCertificateIdentity](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificateidentity/members#opccertificateidentity) | Initializes a new instance of the OpcCertificateIdentity class using the `certificate` specified. |

## Properties

| Name | Description |
|---|---|
| [Certificate](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificateidentity/members#certificate) | Gets the certificate which describes the identity. |

## Methods

| Name | Description |
|---|---|
| [Impersonate](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificateidentity/members#impersonate)<span class="api-meta">override</span> | Impersonates the user represented by the identity. |
| [Matches](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificateidentity/members#matches)<span class="api-meta">virtual</span> | Determines whether the `certificate` specified is the certificate of the identity. |

Inherits members from [OpcUserIdentity](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcuseridentity/members), [OpcIdentity](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcidentity/members).

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
