std1.0.0-beta-7 SafeC docs

std :: crypto::x509

Function std::x509_verify_signed_by

#include <std/crypto/x509.h> source · definition

int x509_verify_signed_by(
    []const unsigned char der,
    const &X509Parsed c,
    []const unsigned char issuer_der,
    const &X509Parsed issuer,
)

1 if the signature on cert (der/c) verifies with issuer's public key (issuer_der/issuer); 0 otherwise (bad signature, unsupported algorithm, SHA-1, or an RSA key under 1024 bits).