Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gnutls_x509_crt_set_serial(3) [centos man page]

gnutls_x509_crt_set_serial(3)					      gnutls					     gnutls_x509_crt_set_serial(3)

NAME
gnutls_x509_crt_set_serial - API function SYNOPSIS
#include <gnutls/x509.h> int gnutls_x509_crt_set_serial(gnutls_x509_crt_t cert, const void * serial, size_t serial_size); ARGUMENTS
gnutls_x509_crt_t cert a certificate of type gnutls_x509_crt_t const void * serial The serial number size_t serial_size Holds the size of the serial field. DESCRIPTION
This function will set the X.509 certificate's serial number. While the serial number is an integer, it is often handled as an opaque field by several CAs. For this reason this function accepts any kind of data as a serial number. To be consistent with the X.509/PKIX spec- ifications the provided serial should be a big-endian positive number (i.e. it's leftmost bit should be zero). RETURNS
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. REPORTING BUGS
Report bugs to <bug-gnutls@gnu.org>. General guidelines for reporting bugs: http://www.gnu.org/gethelp/ GnuTLS home page: http://www.gnu.org/software/gnutls/ COPYRIGHT
Copyright (C) 2012 Free Software Foundation, Inc.. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. SEE ALSO
The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site, the command info gnutls should give you access to the complete manual. As an alternative you may obtain the manual from: http://www.gnu.org/software/gnutls/manual/ gnutls 3.1.15 gnutls_x509_crt_set_serial(3)

Check Out this Related Man Page

gnutls_x509_crt_get_serial(3)					      gnutls					     gnutls_x509_crt_get_serial(3)

NAME
gnutls_x509_crt_get_serial - This function returns the certificate's serial number SYNOPSIS
#include <gnutls/x509.h> int gnutls_x509_crt_get_serial(gnutls_x509_crt_t cert, void * result, size_t * result_size); ARGUMENTS
gnutls_x509_crt_t cert should contain a gnutls_x509_crt_t structure void * result The place where the serial number will be copied size_t * result_size Holds the size of the result field. DESCRIPTION
This function will return the X.509 certificate's serial number. This is obtained by the X509 Certificate serialNumber field. Serial is not always a 32 or 64bit number. Some CAs use large serial numbers, thus it may be wise to handle it as something opaque. RETURNS
On success, GNUTLS_E_SUCCESS is returned, otherwise a negative error value.and a negative value in case of an error. REPORTING BUGS
Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/ COPYRIGHT
Copyright (C) 2008 Free Software Foundation. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. SEE ALSO
The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site, the command info gnutls should give you access to the complete manual. gnutls 2.8.6 gnutls_x509_crt_get_serial(3)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

serial number for E3500

just wanted to know the serial number of my machine E3500 with Solaris 8 installed.Does any one who what's the command that i can use when the OS is running?( not with the Banner Command!) (3 Replies)
Discussion started by: i2admin
3 Replies

2. UNIX for Dummies Questions & Answers

serial no. format problem

Hello guyz.. just want to know whether my doubt can be solve or not..maybe it my company using yyyymmddxx for serial no format..and it cause problems.. first, my adjustments for moving n deleting domain name exceeded xxx per day, and it will cause and effect the yyyymmdd digits. can... (6 Replies)
Discussion started by: unknown2205
6 Replies

3. AIX

how to find serial number

hi how to find ( server machine )serial number throught the command in AIX thanks for your replay (3 Replies)
Discussion started by: chomca
3 Replies

4. Solaris

Serial number

Hi Solarizer ;) I have face the difficulties of gathering information about the serial number of sun machine. i think its can do so easy while the machine is just one or two. But i have to administrate hundreds of sun machine. Any body knows how to gather this information by the command ? ... (4 Replies)
Discussion started by: tpx99
4 Replies

5. Solaris

Finding server serial number

Hi All, I wnat to know how to find out the Server serial number in command prompt? I am using sneep command but it throughing unknown. Thanks and Regards, (8 Replies)
Discussion started by: lbreddy
8 Replies

6. UNIX for Dummies Questions & Answers

how to add a colume with serial # in a file

I am working on a file, I need add a column with serial # in a file, the column will be the first column. and the serial # will be decide by each raw, say if I have 6 raws, I need serial # from 1 to 6 in the first column. Anyone know how to add that. I really appreciate. Thanks (2 Replies)
Discussion started by: sunsnow86
2 Replies

7. Shell Programming and Scripting

Help about bind serial number

Hello folks. Please let me understand the bind serial number. I am confuse. 13011321 ---------- Post updated at 08:32 AM ---------- Previous update was at 07:55 AM ---------- Thanks problem is solved. (1 Reply)
Discussion started by: learnbash
1 Replies