[]
        
(Showing Draft Content)

X509CertificateAttrs

Type Alias: X509CertificateAttrs

type X509CertificateAttrs = object;

Contains properties of the X509 certificate.

Properties

algorithm

algorithm: string;

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


issuer

issuer: string;

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


serialNumber

serialNumber: Uint8Array;

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


subject

subject: string;

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


version

version: number;

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