Table of Contents

Class SslCertificateEnhancedKeyUsage

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a usage that is permitted for an SSL certificate.

public class SslCertificateEnhancedKeyUsage : GlobalSerializableClassicBase, IComparable<SslCertificateEnhancedKeyUsage>
Inheritance
SslCertificateEnhancedKeyUsage
Implements

Constructors

SslCertificateEnhancedKeyUsage()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.SslCertificateEnhancedKeyUsage class.

public SslCertificateEnhancedKeyUsage()

Properties

Name

Gets or sets the usage friendly name - for example "Server Authentication".

public string Name { get; set; }

Property Value

string

Oid

Gets or sets the OID of the certificate usage - for example "1.3.6.1.5.5.7.3.1".

public string Oid { get; set; }

Property Value

string

Methods

CompareTo(SslCertificateEnhancedKeyUsage)

Compares two SSL certificate usages to allow sorting by name.

public int CompareTo(SslCertificateEnhancedKeyUsage other)

Parameters

other SslCertificateEnhancedKeyUsage

The CENTREL.XIA.Configuration.Types.SslCertificateEnhancedKeyUsage to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.SslCertificateEnhancedKeyUsage objects.

ToString()

Returns this SSL certificate usage as a human readable string - for example "Server Authentication (1.3.6.1.5.5.7.3.1)".

public override string ToString()

Returns

string

This SSL certificate usage as a human readable string.