# X509CertificateAttrs

## Content

# Type Alias: X509CertificateAttrs

```ts
type X509CertificateAttrs = object;
```

Contains properties of the X509 certificate.

## Properties

### algorithm

```ts
algorithm: string;
```

The algorithm the CA used to sign the certificate (e.g., SHA256withRSA, ECDSA).

***

### issuer

```ts
issuer: string;
```

The entity (usually a CA) that issued the certificate. Represented as a Distinguished Name (DN).

***

### serialNumber

```ts
serialNumber: Uint8Array;
```

A unique identifier assigned by the issuing Certificate Authority (CA).

***

### subject

```ts
subject: string;
```

The identity the certificate represents (person, organization, or domain), also as a DN.

***

### version

```ts
version: number;
```

The certificate format version (1, 2, 3). Most modern certificates are v3 (3).
