package hpke

  1. Overview
  2. Docs
Idiomatic RFC 9180 Hybrid Public Key Encryption for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.2.0.tar.gz
md5=31903fa28f87008bc54ed69aa6067f9f
sha512=0421f20c0a6a3767f0af428dc8ba458a8a660b1a23cedf0d8c4b0cd22d54533f4cd38f513f55c7b1e22d7e8d76df625feceb0bbf88db4f8bacc1c2cada5878cf

doc/hpke/Hpke/Error/index.html

Module Hpke.ErrorSource

Sourcetype t =
  1. | Unsupported_algorithm of int
  2. | Invalid_public_key of string
  3. | Invalid_private_key of string
  4. | Invalid_encapsulation of string
  5. | Key_mismatch
  6. | Derive_key_pair_failure
  7. | Invalid_psk of string
  8. | Invalid_length of string
  9. | Message_limit_reached
  10. | Plaintext_too_long
  11. | Export_length_out_of_range
  12. | Concurrent_use
  13. | Open_error
  14. | Internal_error of string

Errors returned by the public API. Error strings describe classes of invalid input and never contain key material.

Sourceval pp : Format.formatter -> t -> unit