Skip to main content

X509CertificateCreateWithKeyParams

Parameters for X509 Certificate generation with private key

Extends

Properties

extensions?

optional extensions: Extension[]

List of extensions

Inherited from

X509CertificateCreateCommonParams.extensions


issuer?

optional issuer: X509CertificateCreateParamsName

Inherited from

X509CertificateCreateCommonParams.issuer


notAfter?

optional notAfter: Date

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

Inherited from

X509CertificateCreateCommonParams.notAfter


notBefore?

optional notBefore: Date

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

Inherited from

X509CertificateCreateCommonParams.notBefore


publicKey

publicKey: PublicKeyType


serialNumber?

optional serialNumber: string

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

Inherited from

X509CertificateCreateCommonParams.serialNumber


signingAlgorithm?

optional signingAlgorithm: Algorithm | EcdsaParams

Signing algorithm. Default is SHA-256 with key algorithm

Inherited from

X509CertificateCreateCommonParams.signingAlgorithm


signingKey

signingKey: CryptoKey


subject?

optional subject: X509CertificateCreateParamsName

Inherited from

X509CertificateCreateCommonParams.subject