gnutls_authz_send_x509_attr_cert — API function
#include <gnutls/gnutls.h>
int
gnutls_authz_send_x509_attr_cert( |
gnutls_session_t | session, |
const char * | data, | |
size_t | len) ; |
is a gnutls_session_t structure.
buffer with a X.509 attribute certificate.
length of buffer.
Send a X.509 attribute certificate as authorization data.
This function may only be called inside a send_callback
set by gnutls_authz_enable
().
Returns 0 on success, or an error code on failures. If the supplied data was too long (the authorization extension only support 64kb large attribute certificates), GNUTLS_E_INVALID_REQUEST is returned.
The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site, the command
info gnutls
should give you access to the complete manual.
COPYRIGHT |
---|
Copyright © 2006, 2007 Free Software Foundation. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. |