RIM Store#

Utilities for fetching Remote Integrity Manifest (RIM) files from various sources.

Functions#

nvat_rc_t nvat_rim_store_create_filesystem(nvat_rim_store_t *out_store, const char *base_path)

Create a RIM store backed by the local filesystem.

nvat_rc_t nvat_rim_store_create_remote(nvat_rim_store_t *out_store, const char *base_url, const nvat_http_options_t http_options)

Create a remote RIM store backed by the NVIDIA RIM service .

void nvat_rim_store_free(nvat_rim_store_t *rim_store)

Typedefs#

Functions#

nvat_rc_t nvat_rim_store_create_filesystem(
nvat_rim_store_t *out_store,
const char *base_path,
)#

Create a RIM store backed by the local filesystem.

Ownership: On success, the caller assumes ownership of the allocated nvat_rim_store_t. The client is refcounted and safe to share between multiple verifier components.

nvat_rc_t nvat_rim_store_create_remote(
nvat_rim_store_t *out_store,
const char *base_url,
const nvat_http_options_t http_options,
)#

Create a remote RIM store backed by the NVIDIA RIM service.

If the base_url is empty, the RIM store will use the default NVIDIA RIM service base URL to fetch RIMs.

Ownership: On success, the caller assumes ownership of the allocated nvat_rim_store_t. The client is refcounted and safe to share between multiple verifier components.

Parameters:
  • base_url – If NULL, the default base URL of the NVIDIA RIM Service is used.

  • http_options – If NULL, default HTTP options will be used.

void nvat_rim_store_free(nvat_rim_store_t *rim_store)#

Typedefs#

typedef struct nvat_rim_store_st *nvat_rim_store_t#