Blame doc/functions/gnutls_x509_crt_get_signature_oid

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_x509_crt_get_signature_oid} (gnutls_x509_crt_t @var{cert}, char * @var{oid}, size_t * @var{oid_size})
Packit Service 4684c1
@var{cert}: should contain a @code{gnutls_x509_crt_t}  type
Packit Service 4684c1
Packit Service 4684c1
@var{oid}: a pointer to a buffer to hold the OID (may be null)
Packit Service 4684c1
Packit Service 4684c1
@var{oid_size}: initially holds the size of  @code{oid} 
Packit Service 4684c1
Packit Service 4684c1
This function will return the OID of the signature algorithm
Packit Service 4684c1
that has been used to sign this certificate. This is function
Packit Service 4684c1
is useful in the case @code{gnutls_x509_crt_get_signature_algorithm()} 
Packit Service 4684c1
returned @code{GNUTLS_SIGN_UNKNOWN} .
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} zero or a negative error code on error.
Packit Service 4684c1
Packit Service 4684c1
@strong{Since:} 3.5.0
Packit Service 4684c1
@end deftypefun