CertificateManager.SelfSignedOptions record
Options for creating a self-signed certificate.
public record SelfSignedOptions
Public Members
name | description |
---|---|
SelfSignedOptions(…) | Options for creating a self-signed certificate. |
DnsNames { get; set; } | The DNS names to include in the certificate’s Subject Alternative Name (SAN) extension. |
Ephemeral { get; set; } | If true, the certificate will not be stored in the Windows certificate store. |
Exportable { get; set; } | If true, the private key can be exported from the certificate. |
KeyLength { get; set; } | The length of the cryptographic key in bits. |
KeyType { get; set; } | The type of cryptographic key to use (RSA or ECDSA). |
Purposes { get; set; } | The key purposes (Extended Key Usage) for the certificate. |
ValidDays { get; set; } | The number of days the certificate will be valid. |
Remarks
This record is used to specify options for creating a self-signed certificate.
See Also
- class CertificateManager
- namespace Kestrun.Certificates