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

Properties

freshness?: number

Certificate packet FreshnessPeriod.

1 hour

privateKey: NamedSigner<any>

Private key corresponding to public key.

publicKey: PublicKey

Public key to appear in certificate.

validity?: ValidityPeriod

ValidityPeriod

ValidityPeriod.MAX