gnutls_x509_privkey_verify_data(3)

gnutls_x509_privkey_verify_data3

Verify the signed data using private key

Usage

#include <gnutls/x509.h>

int gnutls_x509_privkey_verify_data(gnutls_x509_privkey_t key, unsigned int flags, const gnutls_datum_t * data, const gnutls_datum_t * signature);

Arguments

gnutls_x509_privkey_t key

Holds the key

unsigned int flags

should be 0 for now

const gnutls_datum_t * data

holds the data to be signed

const gnutls_datum_t * signature

contains the signature

Overview

This function will verify the given signed data, using the parameters in the private key.

Returns

In case of a verification failure 0 is returned, and 1 on success.

Releases

3 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0

Reporting bugs

Report bugs to <[email protected]>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/

From gnutls-doc 2.8.6-1+squeeze3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.