interface SelfSignOptions {
    freshness?: number;
    privateKey: NamedSigner;
    publicKey: PublicKey;
    validity?: ValidityPeriod;
}

Properties

freshness?: number

Certificate packet FreshnessPeriod.

1 hour

privateKey: NamedSigner

Private key corresponding to public key.

publicKey: PublicKey

Public key to appear in certificate.

validity?: ValidityPeriod

ValidityPeriod

ValidityPeriod.MAX