Blame doc/functions/gnutls_x509_crt_set_crq

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_x509_crt_set_crq} (gnutls_x509_crt_t @var{crt}, gnutls_x509_crq_t @var{crq})
Packit Service 4684c1
@var{crt}: a certificate of type @code{gnutls_x509_crt_t} 
Packit Service 4684c1
Packit Service 4684c1
@var{crq}: holds a certificate request
Packit Service 4684c1
Packit Service 4684c1
This function will set the name and public parameters as well as
Packit Service 4684c1
the extensions from the given certificate request to the certificate. 
Packit Service 4684c1
Only RSA keys are currently supported.
Packit Service 4684c1
Packit Service 4684c1
Note that this function will only set the  @code{crq} if it is self
Packit Service 4684c1
signed and the signature is correct. See @code{gnutls_x509_crq_sign2()} .
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
Packit Service 4684c1
negative error value.
Packit Service 4684c1
@end deftypefun