resolveTlsa
external fun resolveTlsa(hostname: String, callback: (err: ErrnoException?, ReadonlyArray<TlsaRecord>) -> Unit)(source)
Uses the DNS protocol to resolve certificate associations (TLSA records) for the hostname. The records argument passed to the callback function is an array of objects with these properties:
certUsageselectormatchdata
{
certUsage: 3,
selector: 1,
match: 1,
data: [ArrayBuffer]
}Content copied to clipboard
Since
v23.9.0, v22.15.0