API Reference
Interface
ICtCertificateTransparencyProvider
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
- Query requested by the caller.
- runtimeState DomainDetective.CtProviderRuntimeState = null
- Optional persisted provider runtime state.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Properties
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
- Provider to query.
- query DomainDetective.CtCertificateQuery
- Initial query.
- runtimeState DomainDetective.CtProviderRuntimeState = null
- Optional persisted provider runtime state.
- maxPages System.Nullable{System.Int32} = null
- Optional safety cap for provider pages. Null means no explicit cap.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.