type alias CertificateInfo

The HTTPS certificate in <certificateInfo>.

Properties

optional
enable: number

Nonzero when a custom certificate is in use; written in replies only.

optional
certName: string

Certificate file name, up to 255 characters.

optional
keyName: string

Private key file name, up to 255 characters.

optional
key: string

Private key contents, up to 20479 characters; read from requests only.

optional
cert: string

Certificate contents, up to 20479 characters; read from requests only.

optional
option: "import" | "clear"

What to do with the certificate; the parser ignores any other value. Read from requests only.

Usage

import { type CertificateInfo } from "protocol/params/mod.ts";