1gnutls_x509_crt_set_subject_altegrnnuattligsvn_eux_t5nl0as9m_ec(r3t)_set_subject_alternative_name(3)
2
3
4

NAME

6       gnutls_x509_crt_set_subject_alternative_name - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int gnutls_x509_crt_set_subject_alternative_name(gnutls_x509_crt_t crt,
12       gnutls_x509_subject_alt_name_t
13       type, const char * data_string);
14

ARGUMENTS

16       gnutls_x509_crt_t crt
17                   a certificate of type gnutls_x509_crt_t
18
19       gnutls_x509_subject_alt_name_t
20       type
21                   is one of the gnutls_x509_subject_alt_name_t enumerations
22
23       const char * data_string
24                   The data to be set, a zero terminated string
25

DESCRIPTION

27       This function will set the subject alternative name certificate  exten‐
28       sion. This function assumes that data can be expressed as a null termi‐
29       nated string.
30
31       The name of the function is unfortunate since it  is  incosistent  with
32       gnutls_x509_crt_get_subject_alt_name().
33

RETURNS

35       On  success,  GNUTLS_E_SUCCESS  is returned, otherwise a negative error
36       value.
37

REPORTING BUGS

39       Report   bugs   to    <bug-gnutls@gnu.org>.     GnuTLS    home    page:
40       http://www.gnu.org/software/gnutls/  General  help  using GNU software:
41       http://www.gnu.org/gethelp/
42
44       Copyright © 2008 Free Software Foundation.
45       Copying and distribution of this file, with  or  without  modification,
46       are  permitted  in  any  medium  without royalty provided the copyright
47       notice and this notice are preserved.
48

SEE ALSO

50       The full documentation for gnutls is maintained as  a  Texinfo  manual.
51       If  the  info  and gnutls programs are properly installed at your site,
52       the command
53
54              info gnutls
55
56       should give you access to the complete manual.
57
58
59
60gnutls                         gnut2l.s1_2x.560.91_crt_set_subject_alternative_name(3)
Impressum