diff options
Diffstat (limited to 'doc/functions/gnutls_x509_crq_set_pubkey')
-rw-r--r-- | doc/functions/gnutls_x509_crq_set_pubkey | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/functions/gnutls_x509_crq_set_pubkey b/doc/functions/gnutls_x509_crq_set_pubkey new file mode 100644 index 0000000..0e1ab07 --- /dev/null +++ b/doc/functions/gnutls_x509_crq_set_pubkey @@ -0,0 +1,17 @@ + + + + +@deftypefun {int} {gnutls_x509_crq_set_pubkey} (gnutls_x509_crq_t @var{crq}, gnutls_pubkey_t @var{key}) +@var{crq}: should contain a @code{gnutls_x509_crq_t} type + +@var{key}: holds a public key + +This function will set the public parameters from the given public +key to the request. The @code{key} can be deallocated after that. + +@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a +negative error value. + +@strong{Since:} 2.12.0 +@end deftypefun |