Class PrivateKey
Options to control private keys used for the Certificate.
Namespace: Neon.Kube.Resources.CertManager
Assembly: Neon.Kube.Resources.dll
Syntax
public class PrivateKey
Constructors
PrivateKey()
Initializes a new instance of the PrivateKey class.
Declaration
public PrivateKey()
Properties
Algorithm
The private key algorithm of the corresponding private key for this certificate.
Declaration
[JsonProperty(PropertyName = "algorithm", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[JsonConverter(typeof(JsonStringEnumMemberConverter))]
public KeyAlgorithm Algorithm { get; set; }
Property Value
| Type | Description |
|---|---|
| KeyAlgorithm |
Encoding
The private key cryptography standards (PKCS) encoding for this certificate's private key to be encoded in.
If provided, allowed values are PKCS1 and PKCS8 standing for PKCS#1 and PKCS#8, respectively.
Defaults to PKCS1 if not specified.
Declaration
[JsonProperty(PropertyName = "encoding", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[JsonConverter(typeof(JsonStringEnumMemberConverter))]
public KeyEncoding Encoding { get; set; }
Property Value
| Type | Description |
|---|---|
| KeyEncoding |
RotationPolicy
RotationPolicy controls how private keys should be regenerated when a re-issuance is being processed. Default is 'Never' for backward compatibility.
Declaration
[JsonProperty(PropertyName = "rotationPolicy", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[JsonConverter(typeof(JsonStringEnumMemberConverter))]
public RotationPolicy RotationPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| RotationPolicy |
Size
The private key algorithm of the corresponding private key for this certificate.
Declaration
[JsonProperty(PropertyName = "size", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public int? Size { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |