Domain Detective

API Reference

Interface

ICtCertificateTransparencyProvider

Namespace DomainDetective
Assembly DomainDetective
Modifiers abstract

Defines a reusable certificate transparency provider for certificate and domain discovery work.

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Methods

public abstract Task<CtCertificateQueryResult> QueryAsync(CtCertificateQuery query, CtProviderRuntimeState runtimeState = null, CancellationToken cancellationToken = null) #
Returns: Task<CtCertificateQueryResult>

Executes a normalized CT query.

Parameters

query DomainDetective.CtCertificateQuery requiredposition: 0
Query requested by the caller.
runtimeState DomainDetective.CtProviderRuntimeState = null optionalposition: 1
Optional persisted provider runtime state.
cancellationToken System.Threading.CancellationToken = null optionalposition: 2
Cancellation token.

Properties

public abstract String ProviderId { get; } #

Stable provider identifier.

public abstract CtProviderProfile Profile { get; } #

Provider profile describing capabilities and safe default limits.

Extension Methods

public static IAsyncEnumerable<CtCertificateQueryResult> QueryPagesAsync(ICtCertificateTransparencyProvider provider, CtCertificateQuery query, CtProviderRuntimeState runtimeState = null, Nullable<Int32> maxPages = null, CancellationToken cancellationToken = null) #
Returns: IAsyncEnumerable<CtCertificateQueryResult>

Queries a CT provider page-by-page until no continuation token is returned or the optional page limit is reached.

Parameters

provider DomainDetective.ICtCertificateTransparencyProvider requiredposition: 0
Provider to query.
query DomainDetective.CtCertificateQuery requiredposition: 1
Initial query.
runtimeState DomainDetective.CtProviderRuntimeState = null optionalposition: 2
Optional persisted provider runtime state.
maxPages System.Nullable{System.Int32} = null optionalposition: 3
Optional safety cap for provider pages. Null means no explicit cap.
cancellationToken System.Threading.CancellationToken = null optionalposition: 4
Cancellation token.
{{ include "footer" }}