Conex_openssl.VSourcecheck_openssl () checks the openssl version (required: >= 1.0.0).
include Conex_verify.S_BACKval verify_rsa_pss :
key:string ->
data:string ->
signature:string ->
Conex_resource.identifier ->
(unit, [> Conex_verify.error ]) resultverify_rsa_pss ~key ~data ~signature returns Ok () on success, otherwise a verification_error. Currently, SHA256 is used as hash algorithm.
val verify_ed25519 :
key:string ->
data:string ->
signature:string ->
Conex_resource.identifier ->
(unit, [> Conex_verify.error ]) resultverify_ed25519 ~key ~data ~signature returns Ok () on success, otherwise a verification_error.
sha256 str computes the SHA256 digest of str and converts it to hex.