Contents

nw_proxy_config_create_oblivious_http(_:_:_:_:)

Initializes an Oblivious HTTP proxy configuration using a relay and a gateway.

Declaration

func nw_proxy_config_create_oblivious_http(_ relay: nw_relay_hop_t, _ relay_resource_path: UnsafePointer<CChar>, _ gateway_key_config: UnsafePointer<UInt8>, _ gateway_key_config_length: Int) -> nw_proxy_config_t

Parameters

  • relay:

    The Oblivious HTTP relay hop.

  • relay_resource_path:

    The HTTP path to use for requests to the Oblivious HTTP relay that will forward requests to the gateway.

  • gateway_key_config:

    The Draft Ietf Ohai Ohttp 08.html#name Key Configuration Encoding for the Oblivious HTTP gateway.

  • gateway_key_config_length:

    The length of the key configuration buffer in gateway_key_config.

Return Value

An initialized proxy configuration object.

Discussion

Oblivious HTTP provides per-message encryption to a gateway through a relay.

See Also

Creating Proxy Configurations