summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_crt_get_signature_algorithm
blob: 7f060e88da30697bd787bb7fbf6b7499e38feb42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@deftypefun {int} {gnutls_x509_crt_get_signature_algorithm} (gnutls_x509_crt_t @var{cert})
@var{cert}: should contain a @code{gnutls_x509_crt_t}  type

This function will return a value of the @code{gnutls_sign_algorithm_t} 
enumeration that is the signature algorithm that has been used to
sign this certificate.

Since 3.6.0 this function never returns a negative error code.
Error cases and unknown/unsupported signature algorithms are
mapped to @code{GNUTLS_SIGN_UNKNOWN} .

@strong{Returns:} a @code{gnutls_sign_algorithm_t}  value
@end deftypefun