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              type,    const    char    *
13       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           type
20                   is one of the gnutls_x509_subject_alt_name_t enumerations
21
22       const char * data_string
23                   The data to be set, a (0) terminated string
24

DESCRIPTION

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

RETURNS

36       On success, GNUTLS_E_SUCCESS (0)  is  returned,  otherwise  a  negative
37       error value.
38

REPORTING BUGS

40       Report bugs to <bugs@gnutls.org>.
41       Home page: http://www.gnutls.org
42
43
45       Copyright © 2001-2018 Free Software Foundation, Inc., and others.
46       Copying  and  distribution  of this file, with or without modification,
47       are permitted in any medium  without  royalty  provided  the  copyright
48       notice and this notice are preserved.
49

SEE ALSO

51       The  full  documentation  for gnutls is maintained as a Texinfo manual.
52       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
53       visit
54
55       http://www.gnutls.org/manual/
56
57gnutls                         gnutls3_.x65.059_crt_set_subject_alternative_name(3)
Impressum