package ohttp
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Oblivious HTTP (RFC 9458) for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.1.2.tar.gz
md5=6a31dba01d9ee06d1b0115516439d8b0
sha512=c2739c32cf8d44b36ca565052f6b14feaf99a029115e8d94dcd469bd363f7dacd8e401a4ca07c0a3555f0fe5572a37516b489ddd945ee9acae4ceafc29e7dadb
doc/ohttp/Ohttp/Gateway/Key/index.html
Module Gateway.KeySource
An HPKE private key with the key configuration that advertises it.
RFC 9458 Section 6.4: a gateway's keys must not be valid for any other protocol that uses HPKE with the same labels.
Source
val generate :
rng:Mirage_crypto_rng.g ->
key_id:int ->
?symmetric:Suite.symmetric list ->
Hpke.Kem.id ->
(t, Error.t) resultsymmetric defaults to Suite.default_symmetric.
Source
val derive :
key_id:int ->
?symmetric:Suite.symmetric list ->
Hpke.Kem.id ->
ikm:string ->
(t, Error.t) resultThe key that RFC 9180 DeriveKeyPair derives from ikm, which must be secret and hold at least as much entropy as a private key. Other implementations derive the same key from the same input.
Source
val of_private_key :
key_id:int ->
?symmetric:Suite.symmetric list ->
Hpke.Private_key.t ->
(t, Error.t) result sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>