Blame doc/functions/gnutls_x509_crq_sign
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_crq_sign} (gnutls_x509_crq_t @var{crq}, gnutls_x509_privkey_t @var{key})
|
|
Packit Service |
4684c1 |
@var{crq}: should contain a @code{gnutls_x509_crq_t} type
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{key}: holds a private key
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function is the same a @code{gnutls_x509_crq_sign2()} with no flags,
|
|
Packit Service |
4684c1 |
and an appropriate hash algorithm. The hash algorithm used may
|
|
Packit Service |
4684c1 |
vary between versions of GnuTLS, and it is tied to the security
|
|
Packit Service |
4684c1 |
level of the issuer's public key.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
A known limitation of this function is, that a newly-signed request will not
|
|
Packit Service |
4684c1 |
be fully functional (e.g., for signature verification), until it
|
|
Packit Service |
4684c1 |
is exported an re-imported.
|
|
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
|