Sha256: 223bff897b40bd550cca1a8d6c2eda7e6c1d8bcfc1455fff53d9e811bdee3df2

Contents?: true

Size: 1.75 KB

Versions: 4

Compression:

Stored size: 1.75 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_privkey_sign_raw_data" 3 "3.2.19" "gnutls" "gnutls"
.SH NAME
gnutls_privkey_sign_raw_data \- API function
.SH SYNOPSIS
.B #include <gnutls/compat.h>
.sp
.BI "int gnutls_privkey_sign_raw_data(gnutls_privkey_t " key ", unsigned " flags ", const gnutls_datum_t * " data ", gnutls_datum_t * " signature ");"
.SH ARGUMENTS
.IP "gnutls_privkey_t key" 12
Holds the key
.IP "unsigned flags" 12
should be zero
.IP "const gnutls_datum_t * data" 12
holds the data to be signed
.IP "gnutls_datum_t * signature" 12
will contain the signature allocate with \fBgnutls_malloc()\fP
.SH "DESCRIPTION"
This function will sign the given data using a signature algorithm
supported by the private key. Note that this is a low\-level function
and does not apply any preprocessing or hash on the signed data. 
For example on an RSA key the input  \fIdata\fP should be of the DigestInfo
PKCS \fB1\fP 1.5 format. Use it only if you know what are you doing.

Note this function is equivalent to using the \fBGNUTLS_PRIVKEY_SIGN_FLAG_TLS1_RSA\fP
flag with \fBgnutls_privkey_sign_hash()\fP.
.SH "RETURNS"
On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned, otherwise a
negative error value.
.SH "SINCE"
3.1.10
.SH "REPORTING BUGS"
Report bugs to <bugs@gnutls.org>.
.br
Home page: http://www.gnutls.org

.SH COPYRIGHT
Copyright \(co 2001-2014 Free Software Foundation, Inc.
.br
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.
.SH "SEE ALSO"
The full documentation for
.B gnutls
is maintained as a Texinfo manual.
If the /usr/share/doc/gnutls/
directory does not contain the HTML form visit
.B
.IP http://www.gnutls.org/manual/
.PP

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glib2-2.2.5-x64-mingw32 vendor/local/share/man/man3/gnutls_privkey_sign_raw_data.3
glib2-2.2.5-x86-mingw32 vendor/local/share/man/man3/gnutls_privkey_sign_raw_data.3
glib2-2.2.4-x64-mingw32 vendor/local/share/man/man3/gnutls_privkey_sign_raw_data.3
glib2-2.2.4-x86-mingw32 vendor/local/share/man/man3/gnutls_privkey_sign_raw_data.3