Class CertificateAuthorityElement
Represents a configuration element containing built-in X.509 certificate authority configuration.
Inheritance
Namespace: Nevatech.Vsb.Agent.Configuration
Assembly: Nevatech.Vsb.Agent.dll
Syntax
public sealed class CertificateAuthorityElement : ConfigurationElement
Constructors
CertificateAuthorityElement()
Declaration
public CertificateAuthorityElement()
Fields
ExpirationMonthsAttributeName
Name of the attribute representing certificate's expiration period property in the configuration element.
Declaration
public const string ExpirationMonthsAttributeName = "expirationMonths"
Field Value
Type | Description |
---|---|
System.String |
KeySizeAttributeName
Name of the attribute representing address property in the configuration element.
Declaration
public const string KeySizeAttributeName = "keySize"
Field Value
Type | Description |
---|---|
System.String |
SigningCertificateElementName
Name of the element representing CA signing certificate property in the configuration element.
Declaration
public const string SigningCertificateElementName = "signingCertificate"
Field Value
Type | Description |
---|---|
System.String |
Properties
ExpirationMonths
Gets or sets generated certificate's expiration time period (in months). Value must be between 1 and 120 months. Default is 12.
Declaration
public int ExpirationMonths { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
KeySize
Gets or sets generated certificate's key size (in bits). Allowed values are 1024, 2048, and 4096. Default is 2048.
Declaration
public int KeySize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Properties
Gets collection of configuration element properties.
Declaration
protected override ConfigurationPropertyCollection Properties { get; }
Property Value
Type | Description |
---|---|
System.Configuration.ConfigurationPropertyCollection |
SigningCertificate
Gets or sets configuration element containing location of the X.509 certificate that certificate authority will use for signing issued certificates.
Declaration
public X509DefaultServiceCertificateElement SigningCertificate { get; }
Property Value
Type | Description |
---|---|
System.ServiceModel.Configuration.X509DefaultServiceCertificateElement |