Show / Hide Table of Contents

Class DotEndPoint

Provides the information to make a secure connection to a DNS over TLS server.

Inheritance
Object
DotEndPoint
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Makaretu.Dns
Assembly: Makaretu.Dns.Unicast.dll
Syntax
public class DotEndPoint

Fields

| Improve this Doc View Source

Address

The IP address.

Declaration
public IPAddress Address
Field Value
Type Description
IPAddress

Can be IPv4 and IPv6.

| Improve this Doc View Source

Hostname

The name of the host.

Declaration
public string Hostname
Field Value
Type Description
String
Remarks

Used to verify the TLS handshake. Also known as Server Name Indication (SNI).

| Improve this Doc View Source

Pins

The SPKI Fingerprint of a valid certificate.

Declaration
public string[] Pins
Field Value
Type Description
String[]

The base-64 encoding of the SPKI Fingerprint.

Remarks

The fingerprint is the SHA-256 hash of the DER-encoded ASN.1 representation of the SPKI of an X.509 certificate.

note

Checking of PINS is not implemented, see https://github.com/richardschneider/net-udns/issues/5.

| Improve this Doc View Source

Port

The TCP port.

Declaration
public int Port
Field Value
Type Description
Int32

Defaults to 853.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX