package conex

  1. Overview
  2. Docs
Establishing trust in community repositories

Install

Dune Dependency

Authors

Maintainers

Sources

conex-v0.11.1.tbz
sha256=997966693236d1ab2930ff8bb24cce175e88279b99aaacd39fa022d5e45dd3b1
sha512=af207a3e6f35c81745d36fa8759846ed7ac357e9d8dfe0a7f3e0918e2a7f709d48d21ff15d6ee7b399a72c52d9c920cea478b1c7d7ad0d693637983f6dcb8033

doc/conex.openssl/Conex_openssl/V/index.html

Module Conex_openssl.VSource

Sourceval check_version : unit -> (unit, string) result

check_openssl () checks the openssl version (required: >= 1.0.0).

include Conex_verify.S_RSA_BACK
Sourceval verify_rsa_pss : key:string -> data:string -> signature:string -> Conex_resource.identifier -> (unit, [> Conex_verify.error ]) result

verify_rsa_pss ~key ~data ~signature returns Ok () on success, otherwise a verification_error. Currently, SHA256 is used as hash algorithm.

Sourceval sha256 : string -> string

sha356 str computes the SHA256 digest of str and converts it to hex.

OCaml

Innovation. Community. Security.