fetchSecurityTxtCsafUrls

suspend fun fetchSecurityTxtCsafUrls(domain: String, responseCallback: (<Error class: unknown class>) -> Unit? = null): <Error class: unknown class>

Fetch the CSAF fields from a security.txt as specified in CSAF 7.1.8.

Return

A list of https-URL values (as Strings) obtained from CSAF fields in security.txt, wrapped in a Result monad, if successful. A failed Result wrapping the thrown Throwable in case of an error.

Parameters

domain

The domain from which to obtain the security.txt.

responseCallback

An optional callback to further evaluate the HttpResponse.