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 incosistent with
31       gnutls_x509_crt_get_subject_alt_name().
32

RETURNS

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

REPORTING BUGS

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

SEE ALSO

49       The  full  documentation  for gnutls is maintained as a Texinfo manual.
50       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
51       visit
52
53       http://www.gnutls.org/manual/
54
55gnutls                         gnutl3s._3x.52099_crt_set_subject_alternative_name(3)
Impressum