Name
gnutls_authz_send_saml_assertion — API function
Synopsis
#include <gnutls/gnutls.h>
int
gnutls_authz_send_saml_assertion( |
gnutls_session_t
|
session, |
| |
const char * |
data, |
| |
size_t |
len); |
ARGUMENTS
- gnutls_session_t
session
-
is a gnutls_session_t
structure.
- const
char * data
-
buffer with a SAML assertion.
- size_t
len
-
length of buffer.
DESCRIPTION
Send a SAML assertion as authorization data. This function
may only be called inside a send_callback set by
gnutls_authz_enable().
RETURNS
Returns 0 on success, or an error code on failures. If the
supplied data was too long (the authorization extension only
support 64kb large SAML assertions), GNUTLS_E_INVALID_REQUEST is returned.
REPORTING BUGS
Report bugs to <bug-gnutls@gnu.org>.
SEE ALSO
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
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.
|