Table of Contents

Class CertificateGenerationParameters

Namespace
Steeltoe.Security.DataProtection.CredHub
Assembly
Steeltoe.Security.DataProtection.CredHubBase.dll
public class CertificateGenerationParameters : KeyParameters, ICredentialParameter
Inheritance
CertificateGenerationParameters
Implements
Inherited Members

Properties

AlternativeNames

Gets or sets alternative names of generated credential value

[JsonProperty("alternative_names")]
public List<string> AlternativeNames { get; set; }

Property Value

List<string>

CertificateAuthority

Gets or sets name of certificate authority to sign of generated credential value

[JsonProperty("ca")]
public string CertificateAuthority { get; set; }

Property Value

string

CommonName

Gets or sets common name of generated credential value

[JsonProperty("common_name")]
public string CommonName { get; set; }

Property Value

string

Country

Gets or sets country of generated credential value

public string Country { get; set; }

Property Value

string

Duration

Gets or sets duration in days of generated credential value

public int Duration { get; set; }

Property Value

int

ExtendedKeyUsage

Gets or sets extended key usage values

[JsonProperty("extended_key_usage")]
public List<ExtendedKeyUsage> ExtendedKeyUsage { get; set; }

Property Value

List<ExtendedKeyUsage>

IsCertificateAuthority

Gets or sets a value indicating whether whether to generate credential value as a certificate authority

[JsonProperty("is_ca")]
public bool IsCertificateAuthority { get; set; }

Property Value

bool

KeyUsage

Gets or sets key usage values

[JsonProperty("key_usage")]
public List<KeyUsage> KeyUsage { get; set; }

Property Value

List<KeyUsage>

Locality

Gets or sets locality/city of generated credential value

public string Locality { get; set; }

Property Value

string

Organization

Gets or sets organization of generated credential value

public string Organization { get; set; }

Property Value

string

OrganizationUnit

Gets or sets organization Unit of generated credential value

[JsonProperty("organization_unit")]
public string OrganizationUnit { get; set; }

Property Value

string

SelfSign

Gets or sets a value indicating whether whether to self-sign generated credential value

[JsonProperty("self_sign")]
public bool SelfSign { get; set; }

Property Value

bool

State

Gets or sets state/province of generated credential value

public string State { get; set; }

Property Value

string