CertificateManager.CsrOptions constructor
Options for creating a Certificate Signing Request (CSR).
public CsrOptions(IEnumerable<string> DnsNames, KeyType KeyType = KeyType.Rsa,
int KeyLength = 2048, string? Country = null, string? Org = null, string? OrgUnit = null,
string? CommonName = null)
parameter | description |
---|---|
DnsNames | The DNS names to include in the CSR’s Subject Alternative Name (SAN) extension. |
KeyType | The type of cryptographic key to use (RSA or ECDSA). |
KeyLength | The length of the cryptographic key in bits. |
Country | The country code for the subject distinguished name. |
Org | The organization name for the subject distinguished name. |
OrgUnit | The organizational unit for the subject distinguished name. |
CommonName | The common name for the subject distinguished name. |
Remarks
This record is used to specify options for creating a Certificate Signing Request (CSR).
See Also
- enum KeyType
- record CsrOptions
- namespace Kestrun.Certificates