interface BuildOptions {
    freshness?: number;
    name: Name;
    publicKeySpki: Uint8Array;
    signer: Signer;
    validity: ValidityPeriod;
}

Properties

freshness?: number

Certificate packet FreshnessPeriod.

1 hour

name: Name

Certificate name.

publicKeySpki: Uint8Array

Public key in SubjectPublicKeyInfo (SPKI) binary format.

signer: Signer

Issuer signing key.

validity: ValidityPeriod

ValidityPeriod.