Domain Detective

API Reference

Class

DANEAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements

Analyzes DANE (TLSA) records for a domain. HTTPS service type (port 443) is assumed when none is provided. RFC 6698: The DNS-Based Authentication of Named Entities (DANE) Transport Layer Security (TLS) Protocol: TLSA https://datatracker.ietf.org/doc/html/rfc6698

Inheritance

  • Object
  • DANEAnalysis

Remarks

DANE policies are evaluated by querying TLSA records for the specified host and port combination.

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

Accepted by parameters

Constructors

Methods

public Task AnalyzeDANERecords(IEnumerable<DnsAnswer> dnsResults, InternalLogger logger, CancellationToken cancellationToken = null) #
Returns: Task

Analyzes dane records.

Parameters

dnsResults System.Collections.Generic.IEnumerable{DnsClientX.DnsAnswer} requiredposition: 0
logger DomainDetective.InternalLogger requiredposition: 1
cancellationToken System.Threading.CancellationToken = null optionalposition: 2
public Void Reset() #
Returns: Void

Executes the reset operation.

Properties

public String Subject { get; set; } #

Gets or sets the subject value.

public Func<String, DnsRecordType, Task<DnsAnswer[]>> QueryDnsOverride { get; set; } #

Optional override for DNS queries.

public List<DANERecordAnalysis> AnalysisResults { get; set; } #

Gets or sets the analysis results value.

public Int32 NumberOfRecords { get; set; } #

Gets or sets the number of records value.

public Boolean HasDuplicateRecords { get; set; } #

Gets or sets the has duplicate records value.

public Boolean HasInvalidRecords { get; set; } #

Gets or sets the has invalid records value.

public List<String> QueriedNames { get; set; } #

Fully qualified TLSA owner names that were queried (e.g., _443._tcp.example.com).

public List<Int32> QueriedPorts { get; set; } #

Ports that were probed for TLSA lookups.

public List<ServiceType> QueriedServiceTypes { get; set; } #

Service types that were probed.

public IReadOnlyList<StandardReference> RfcReferences { get; } #

Relevant standards for DANE analysis.

public virtual List<Assessment> Assessments { get; } #

Structured assessments captured during DANE analysis.

public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #

Represents the recommendations value.

{{ include "footer" }}