1gnutls_x509_crt_set_serial(3)       gnutls       gnutls_x509_crt_set_serial(3)
2
3
4

NAME

6       gnutls_x509_crt_set_serial  -  This function will set the certificate's
7       serial number
8

SYNOPSIS

10       #include <gnutls/x509.h>
11
12       int gnutls_x509_crt_set_serial(gnutls_x509_crt_t  cert,  const  void  *
13       serial, size_t serial_size);
14

ARGUMENTS

16       gnutls_x509_crt_t cert
17                   should contain a gnutls_x509_crt_t structure
18
19       const void * serial
20                   The serial number
21
22       size_t serial_size
23                   Holds the size of the serial field.
24

DESCRIPTION

26       This  function  will set the X.509 certificate's serial number.  Serial
27       is not always a 32 or 64bit number. Some CAs use large serial  numbers,
28       thus it may be wise to handle it as something opaque.
29
30       Returns 0 on success, or a negative value in case of an error.
31

REPORTING BUGS

33       Report bugs to <bug-gnutls@gnu.org>.
34
36       Copyright © 2006 Free Software Foundation.
37       Permission  is  granted  to make and distribute verbatim copies of this
38       manual provided the copyright notice and  this  permission  notice  are
39       preserved on all copies.
40

SEE ALSO

42       The  full  documentation  for gnutls is maintained as a Texinfo manual.
43       If the info and gnutls programs are properly installed  at  your  site,
44       the command
45
46              info gnutls
47
48       should give you access to the complete manual.
49
50
51
52gnutls                               1.6.3       gnutls_x509_crt_set_serial(3)
Impressum