Table of Contents

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

string

Country

The country of the certificate

public string? Country { get; set; }

Property Value

string

DaysBeforeExpiration

Number of days before the certificate expires

public int DaysBeforeExpiration { get; set; }

Property Value

int

KeySize

The key size of the certificate

public int KeySize { get; set; }

Property Value

int

Locality

The locality of the certificate

public string? Locality { get; set; }

Property Value

string

Organization

The organization of the certificate

public string? Organization { get; set; }

Property Value

string

OrganizationUnit

The organization unit of the certificate

public string? OrganizationUnit { get; set; }

Property Value

string

P12Password

A password to protect the generated p12 file

public string? P12Password { get; set; }

Property Value

string

State

The state of the certificate

public string? State { get; set; }

Property Value

string

Methods

Format()

Get the certificate subject formatted

public string Format()

Returns

string