package conex

  1. Overview
  2. Docs

Module type Conex_verify.S_RSA_BACKSource

The verification backend, to be implemented by a crypto provider

Sourceval verify_rsa_pss : key:string -> data:string -> signature:string -> Conex_resource.identifier -> (unit, [> 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.