Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mert.altin committed Nov 3, 2023
1 parent ab969ba commit cae252f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -2875,17 +2875,22 @@ Does not perform any other validation checks on the certificate.

### `x509.extensions`

The `X509Certificate` class provides access to various properties of X.509 certificates, including extensions. Here, we describe the `x509.extensions` property, which represents the extensions of the certificate.
The `X509Certificate` class provides access to various
properties of X.509 certificates, including extensions.
Here, we describe the `x509.extensions` property,
which represents the extensions of the certificate.

### x509.extensions

* Type: {Object}

The `x509.extensions` property returns an object representing the extensions of the certificate. These extensions provide additional information about the certificate.
The `x509.extensions` property returns an object representing
the extensions of the certificate. These extensions
provide additional information about the certificate.

Example:

```javascript
```cjs
const { X509Certificate } = require('crypto');

const certPem = '...'; // Replace with your X.509 certificate in PEM format
Expand Down

0 comments on commit cae252f

Please sign in to comment.