Class SslInfo
- Namespace
- Fluxzy
- Assembly
- Fluxzy.Core.dll
Represent a SSL information
public class SslInfo
- Inheritance
-
SslInfo
- Inherited Members
Constructors
SslInfo(SslStream, bool)
Building from Schannel
public SslInfo(SslStream sslStream, bool dumpCertificate)
Parameters
SslInfo(SslProtocols, string?, string?, string?, string?, string, string, HashAlgorithmType, CipherAlgorithmType, TlsCipherSuite, string?, string?, DateTime?, DateTime?, string?, DateTime?, DateTime?, string?)
[JsonConstructor]
public SslInfo(SslProtocols sslProtocol, string? remoteCertificateIssuer, string? remoteCertificateSubject, string? localCertificateSubject, string? localCertificateIssuer, string negotiatedApplicationProtocol, string keyExchangeAlgorithm, HashAlgorithmType hashAlgorithm, CipherAlgorithmType cipherAlgorithm, TlsCipherSuite negotiatedCipherSuite, string? localCertificatePem, string? remoteCertificatePem, DateTime? remoteCertificateNotBefore, DateTime? remoteCertificateNotAfter, string? remoteCertificateSerialNumber, DateTime? localCertificateNotBefore, DateTime? localCertificateNotAfter, string? localCertificateSerialNumber)
Parameters
sslProtocolSslProtocolsremoteCertificateIssuerstringremoteCertificateSubjectstringlocalCertificateSubjectstringlocalCertificateIssuerstringnegotiatedApplicationProtocolstringkeyExchangeAlgorithmstringhashAlgorithmHashAlgorithmTypecipherAlgorithmCipherAlgorithmTypenegotiatedCipherSuiteTlsCipherSuitelocalCertificatePemstringremoteCertificatePemstringremoteCertificateNotBeforeDateTime?remoteCertificateNotAfterDateTime?remoteCertificateSerialNumberstringlocalCertificateNotBeforeDateTime?localCertificateNotAfterDateTime?localCertificateSerialNumberstring
Properties
CipherAlgorithm
public CipherAlgorithmType CipherAlgorithm { get; }
Property Value
HashAlgorithm
public HashAlgorithmType HashAlgorithm { get; }
Property Value
KeyExchangeAlgorithm
public string KeyExchangeAlgorithm { get; }
Property Value
LocalCertificate
public byte[]? LocalCertificate { get; set; }
Property Value
- byte[]
LocalCertificateIssuer
public string? LocalCertificateIssuer { get; }
Property Value
LocalCertificateNotAfter
public DateTime? LocalCertificateNotAfter { get; }
Property Value
LocalCertificateNotBefore
public DateTime? LocalCertificateNotBefore { get; }
Property Value
LocalCertificatePem
public string? LocalCertificatePem { get; }
Property Value
LocalCertificateSerialNumber
public string? LocalCertificateSerialNumber { get; }
Property Value
LocalCertificateSubject
public string? LocalCertificateSubject { get; }
Property Value
NegotiatedApplicationProtocol
public string NegotiatedApplicationProtocol { get; }
Property Value
NegotiatedCipherSuite
public TlsCipherSuite NegotiatedCipherSuite { get; }
Property Value
RemoteCertificate
public byte[]? RemoteCertificate { get; set; }
Property Value
- byte[]
RemoteCertificateIssuer
public string? RemoteCertificateIssuer { get; }
Property Value
RemoteCertificateNotAfter
public DateTime? RemoteCertificateNotAfter { get; }
Property Value
RemoteCertificateNotBefore
public DateTime? RemoteCertificateNotBefore { get; }
Property Value
RemoteCertificatePem
public string? RemoteCertificatePem { get; }
Property Value
RemoteCertificateSerialNumber
public string? RemoteCertificateSerialNumber { get; }
Property Value
RemoteCertificateSubject
public string? RemoteCertificateSubject { get; }
Property Value
SslProtocol
public SslProtocols SslProtocol { get; }