Package-level declarations
Types
A helper class with async functions to retrieve certain kinds of CSAF-related data.
This class is a compatibility wrapper around Result for Java.
This RetrievalContext holds all the necessary information that is needed to validate a validatable object. According to the requirements in the specification we probably need access to the following information:
This class represents a wrapper around a Aggregator document, that provides functionality for parsing the metadata about an aggregator from a location, including validation according to the specification.
This class represents a wrapper around a Csaf document, that provides functionality for fetching a document from a location, including validation according to the specification.
This class represents a "retrieved" provider (i.e., the roles "publisher", "provider" and "trusted provider"), including its metadata (in the form of Provider) as well as functionality to retrieve its documents.
Functions
This function needs to be implemented by each platform to provide a platform-specific HttpClientEngine for ktor.
A callback that can be used to set RetrievalContext.json.
A helper function to asynchronously obtain a Result from a code block that may succeed or throw a Throwable. Upon success, the resulting value of the code block will be return as a successful Result. Upon error, the thrown Throwable will be wrapped into the returned Result instead.
A callback that can be used to set RetrievalContext.httpResponse.