X509CertificateGenerator
Generator of X509 certificates
Constructors
new X509CertificateGenerator()
new X509CertificateGenerator():
X509CertificateGenerator
Returns
Methods
create()
static
create(params
,crypto
):Promise
<X509Certificate
>
Creates a certificate signed by private key
Parameters
• params: X509CertificateCreateParams
Parameters
• crypto: Crypto
= ...
Crypto provider. Default is from CryptoProvider
Returns
Promise
<X509Certificate
>
createSelfSigned()
static
createSelfSigned(params
,crypto
):Promise
<X509Certificate
>
Creates a self-signed certificate
Parameters
• params: X509CertificateCreateSelfSignedParams
Parameters
• crypto: Crypto
= ...
Crypto provider. Default is from CryptoProvider
Returns
Promise
<X509Certificate
>