1gnutls_x509_crt_get_serial(3)       gnutls       gnutls_x509_crt_get_serial(3)
2
3
4

NAME

6       gnutls_x509_crt_get_serial  -  This  function returns the certificate's
7       serial number
8

SYNOPSIS

10       #include <gnutls/x509.h>
11
12       int gnutls_x509_crt_get_serial(gnutls_x509_crt_t cert, void  *  result,
13       size_t * result_size);
14

ARGUMENTS

16       gnutls_x509_crt_t cert
17                   should contain a gnutls_x509_crt_t structure
18
19       void * result
20                   The place where the serial number will be copied
21
22       size_t * result_size
23                   Holds the size of the result field.
24

DESCRIPTION

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

REPORTING BUGS

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

SEE ALSO

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