Interface X509CertificateCreateWithKeyParams

Parameters for X509 Certificate generation with private key

interface X509CertificateCreateWithKeyParams {
    extensions?: Extension[];
    issuer?: X509CertificateCreateParamsName;
    notAfter?: Date;
    notBefore?: Date;
    publicKey: PublicKeyType;
    serialNumber?: string;
    signingAlgorithm?: Algorithm | EcdsaParams;
    signingKey: CryptoKey;
    subject?: X509CertificateCreateParamsName;
}

Hierarchy

Properties

extensions?: Extension[]

List of extensions

notAfter?: Date

Date after which certificate can't be used. Default is 1 year from now

notBefore?: Date

Date before which certificate can't be used. Default is current date

publicKey: PublicKeyType
serialNumber?: string

Hexadecimal serial number. If not specified, random value will be generated

signingAlgorithm?: Algorithm | EcdsaParams

Signing algorithm. Default is SHA-256 with key algorithm

signingKey: CryptoKey

Generated using TypeDoc