API Reference
DANEAnalysis
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
- Property DomainHealthCheck.DaneAnalysis
- Property DaneRecordInfo.Raw
Accepted by parameters
- Method DaneNarrative.Build
- Method Converters.Convert
Constructors
public DANEAnalysis() #Methods
public Task AnalyzeDANERecords(IEnumerable<DnsAnswer> dnsResults, InternalLogger logger, CancellationToken cancellationToken = null) #TaskAnalyzes dane records.
Parameters
- dnsResults System.Collections.Generic.IEnumerable{DnsClientX.DnsAnswer}
- logger DomainDetective.InternalLogger
- cancellationToken System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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.