



@deftypefun {int} {gnutls_x509_crt_check_issuer} (gnutls_x509_crt_t @var{cert}, gnutls_x509_crt_t @var{issuer})
@var{cert}: is the certificate to be checked

@var{issuer}: is the certificate of a possible issuer

This function will check if the given certificate was issued by the
given issuer. It checks the DN fields and the authority
key identifier and subject key identifier fields match.

@strong{Returns:} It will return true (1) if the given certificate is issued
by the given issuer, and false (0) if not.  A negative error code is
returned in case of an error.
@end deftypefun
