API
import X509 from '@markssl/x509'
packCsr
X509.packCsr(asn1pubkey: string, domains: string[])
Generates a certificate signing request (CSR) for the given public key and domains.
packPkcs1
X509.packPkcs1(jwk: Required<JsonWebKey>)
Generates a PKCS#1 private key for the given JWK.
packCsrPublicKey
X509.packCsrPublicKey(jwk: Required<JsonWebKey>)
Generates a PKCS#1 public key for the given JWK.