Show / Hide Table of Contents

    Class CertificateAuthorityElement

    Represents a configuration element containing built-in X.509 certificate authority configuration.

    Inheritance
    Object
    CertificateAuthorityElement
    Namespace: Nevatech.Vsb.Repository.Configuration
    Assembly: Nevatech.Vsb.Repository.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
    String

    KeySizeAttributeName

    Name of the attribute representing address property in the configuration element.

    Declaration
    public const string KeySizeAttributeName = "keySize"
    Field Value
    Type Description
    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
    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
    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
    Int32

    Properties

    Gets collection of configuration element properties.

    Declaration
    protected override ConfigurationPropertyCollection Properties { get; }
    Property Value
    Type Description
    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
    X509DefaultServiceCertificateElement
    Back to top Nevatech Sentinet 6.5 Online Documentation