Class SqlCertificate
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a SQL Server certificate.
public class SqlCertificate : BaseTypeSection, IComparable<SqlCertificate>
- Inheritance
-
SqlCertificate
- Implements
Constructors
SqlCertificate()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlCertificate class.
public SqlCertificate()
Properties
ActiveForServiceBrokerDialog
Gets or sets whether the certificate is active for service broker dialog.
public BooleanOption ActiveForServiceBrokerDialog { get; set; }
Property Value
CertificateName
Gets or sets the name of the certificate.
public string CertificateName { get; set; }
Property Value
ExpiryDate
Gets or sets the date and time until which this certificate is valid.
public DateTime ExpiryDate { get; set; }
Property Value
Identifier
Gets or sets the unique identifier of certificate. This is for internal system use only.
public Guid Identifier { get; set; }
Property Value
IsValid
Gets whether the certificate is currently valid.
public bool IsValid { get; }
Property Value
Issuer
Gets or sets the issuer of the certificate.
public string Issuer { get; set; }
Property Value
LastBackupDate
Gets or sets the date and time of the last backup.
public DateTime LastBackupDate { get; set; }
Property Value
OwnerName
Gets or sets the name of the owner.
public string OwnerName { get; set; }
Property Value
PrivateKeyEncryptionType
Gets or sets the private key encryption type.
public SqlPrivateKeyEncryptionType PrivateKeyEncryptionType { get; set; }
Property Value
SerialNumber
Gets or sets the serial number of the certificate.
public string SerialNumber { get; set; }
Property Value
Subject
Gets or sets the subject of the certificate.
public string Subject { get; set; }
Property Value
Thumbprint
Gets or sets the thumbprint of the certificate.
public string Thumbprint { get; set; }
Property Value
ValidFrom
Gets or sets the date from which the certificate is valid.
public DateTime ValidFrom { get; set; }
Property Value
Methods
CompareTo(SqlCertificate)
Compares two CENTREL.XIA.Configuration.Types.SqlCertificate objects to allow sorting alphabetically by name.
public int CompareTo(SqlCertificate other)
Parameters
otherSqlCertificateThe CENTREL.XIA.Configuration.Types.SqlCertificate to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.SqlCertificate objects.
ToString()
Returns the name of the certificate.
public override string ToString()
Returns
- string
The name of the certificate.