Blame doc/functions/gnutls_x509_crt_set_authority_info_access
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_crt_set_authority_info_access} (gnutls_x509_crt_t @var{crt}, int @var{what}, gnutls_datum_t * @var{data})
|
|
Packit Service |
4684c1 |
@var{crt}: Holds the certificate
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{what}: what data to get, a @code{gnutls_info_access_what_t} type.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{data}: output data to be freed with @code{gnutls_free()} .
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function sets the Authority Information Access (AIA)
|
|
Packit Service |
4684c1 |
extension, see RFC 5280 section 4.2.2.1 for more information.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
The type of data stored in @code{data} is specified via @code{what} which
|
|
Packit Service |
4684c1 |
should be @code{gnutls_info_access_what_t} values.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
If @code{what} is @code{GNUTLS_IA_OCSP_URI} , @code{data} will hold the OCSP URI.
|
|
Packit Service |
4684c1 |
If @code{what} is @code{GNUTLS_IA_CAISSUERS_URI} , @code{data} will hold the caIssuers
|
|
Packit Service |
4684c1 |
URI.
|
|
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 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|