1gnutls_x509_crq_set_subject_alt_othgenrgunntaulmtsel_(sx35)09_crq_set_subject_alt_othername(3)
2
3
4

NAME

6       gnutls_x509_crq_set_subject_alt_othername - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int   gnutls_x509_crq_set_subject_alt_othername(gnutls_x509_crq_t  crq,
12       const char * oid, const void * data, unsigned int  data_size,  unsigned
13       int flags);
14

ARGUMENTS

16       gnutls_x509_crq_t crq
17                   a certificate request of type gnutls_x509_crq_t
18
19       const char * oid
20                   is the othername OID
21
22       const void * data
23                   The data to be set
24
25       unsigned int data_size
26                   The size of data to be set
27
28       unsigned int flags
29                   GNUTLS_FSAN_SET     to     clear     previous    data    or
30                   GNUTLS_FSAN_APPEND to append.
31

DESCRIPTION

33       This function will set the subject alternative name certificate  exten‐
34       sion.  It can set the following types:
35
36       The values set must be binary values and must be properly DER encoded.
37

RETURNS

39       On  success,  GNUTLS_E_SUCCESS  (0)  is  returned, otherwise a negative
40       error value.
41

SINCE

43       3.5.0
44

REPORTING BUGS

46       Report bugs to <bugs@gnutls.org>.
47       Home page: https://www.gnutls.org
48
49
51       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
52       Copying and distribution of this file, with  or  without  modification,
53       are  permitted  in  any  medium  without royalty provided the copyright
54       notice and this notice are preserved.
55

SEE ALSO

57       The full documentation for gnutls is maintained as  a  Texinfo  manual.
58       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
59       visit
60
61       https://www.gnutls.org/manual/
62
63gnutls                            gn3u.t6l.s1_1x509_crq_set_subject_alt_othername(3)
Impressum