Class CertificateBuilderOptions
- Namespace
- Fluxzy.Certificates
- Assembly
- Fluxzy.Core.dll
Certificate builder options
public class CertificateBuilderOptions
- Inheritance
-
CertificateBuilderOptions
- Inherited Members
Constructors
CertificateBuilderOptions(string)
public CertificateBuilderOptions(string commonName)
Parameters
commonName
string
Properties
CommonName
The common name of the certificate
public string CommonName { get; }
Property Value
Country
The country of the certificate
public string? Country { get; set; }
Property Value
DaysBeforeExpiration
Number of days before the certificate expires
public int DaysBeforeExpiration { get; set; }
Property Value
KeySize
The key size of the certificate
public int KeySize { get; set; }
Property Value
Locality
The locality of the certificate
public string? Locality { get; set; }
Property Value
Organization
The organization of the certificate
public string? Organization { get; set; }
Property Value
OrganizationUnit
The organization unit of the certificate
public string? OrganizationUnit { get; set; }
Property Value
P12Password
A password to protect the generated p12 file
public string? P12Password { get; set; }
Property Value
State
The state of the certificate
public string? State { get; set; }
Property Value
Methods
Format()
Get the certificate subject formatted
public string Format()