package conex

  1. Overview
  2. Docs
Establishing trust in community repositories

Install

Dune Dependency

Authors

Maintainers

Sources

conex-v0.11.0.tbz
sha256=9b64ab189a68ebb37daed618ce0c201f082469f4b4efa8cc9099442a169d924b
sha512=30caad9a0a8d45d24933652733349e251c0e8decb6ac4c7de18fc4ae8a621865f8af5b2d02a5c9fcca0cc122e6a443ba91f2f7a350f729633923f9c1b5cf913d

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.