API Reference
MailTlsServerInfo
Provides mail tls server info functionality.
Inheritance
- Object
- MailTlsServerInfo
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property MailTlsInfo.Servers
Constructors
public MailTlsServerInfo() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String Key { get; set; } #Server key in the form host:port.
public Boolean StartTlsAdvertised { get; set; } #True when STARTTLS was advertised or implicit TLS used.
public GradeLevel Grade { get; set; } #Computed letter grade for TLS posture.
public Boolean CertificateValid { get; set; } #True when the leaf certificate is valid (date, host, basic checks).
public Boolean ChainValid { get; set; } #True when chain validates without errors.
public Int32 DaysToExpire { get; set; } #Days until certificate expiration (negative when expired).
public Boolean IsExpired { get; set; } #True when the certificate is expired.
public String Protocol { get; set; } #Negotiated TLS protocol.
public Boolean SupportsTls13 { get; set; } #True when server supports TLS 1.3.
public Boolean Tls13Used { get; set; } #True when TLS 1.3 was used for the connection.
public Boolean HostnameMatch { get; set; } #True when certificate hostname matches the server name.
public String CipherAlgorithm { get; set; } #Negotiated cipher algorithm.
public Int32 CipherStrength { get; set; } #Negotiated cipher strength in bits.
public String CipherSuite { get; set; } #Negotiated cipher suite identifier.
public String KeyExchangeAlgorithm { get; set; } #Key exchange algorithm.
public Int32 DhKeyBits { get; set; } #Diffie-Hellman key size (bits) when applicable.
public String CertificateSubject { get; set; } #Certificate subject (CN/SAN summary).
public String CertificateIssuer { get; set; } #Certificate issuer (legacy field).
public Nullable<DateTime> CertificateNotAfter { get; set; } #Certificate expiration time (legacy field).
public Nullable<Boolean> OcspStaplingPresent { get; set; } #Indicator of OCSP stapling (if detected).
public String Issuer { get; set; } #Certificate issuer (alias of CertificateIssuer).
public Nullable<DateTime> ValidFrom { get; set; } #Certificate validity start (NotBefore).
public Nullable<DateTime> ValidTo { get; set; } #Certificate validity end (NotAfter).
public String Thumbprint { get; set; } #Certificate thumbprint.