resolveTlsa
external fun resolveTlsa(hostname: String, callback: (err: ErrnoException?, @R|kotlin/ParameterName|(name = String(addresses)) ERROR CLASS: Symbol not found for js.array.ReadonlyArray<node/dns/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:
certUsage
selector
match
data
{
certUsage: 3,
selector: 1,
match: 1,
data: [ArrayBuffer]
}
Content copied to clipboard
Since
v23.9.0, v22.15.0
suspend external fun resolveTlsa(hostname: String): ERROR CLASS: Symbol not found for js.array.ReadonlyArray<node/dns/TlsaRecord>(source)