CreateCsrInput
Input for createCertificateSigningRequest.
ts
interface CreateCsrInput {
readonly subject: NameInput;
readonly publicKey: CryptoKey;
readonly signerPrivateKey: CryptoKey;
readonly extensions?: CertificateExtensionsInput;
readonly signature?: SignatureProfileInput;
}Properties
readonlysubject:NameInput— Distinguished name for the CSR subject (e.g.{ commonName: 'example.com' }).readonlypublicKey:CryptoKey— WebCrypto public key to embed in the CSR's SubjectPublicKeyInfo.readonlysignerPrivateKey:CryptoKey— WebCrypto private key used to self-sign the CSR (proves key possession).readonlyextensions?:CertificateExtensionsInput— Requested X.509v3 extensions to include in the CSR attributes.readonlysignature?:SignatureProfileInput— Override the signature algorithm profile (hash, salt length, etc.).