1pskc_sign_x509(3)                   libpskc                  pskc_sign_x509(3)
2
3
4

NAME

6       pskc_sign_x509 - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       int  pskc_sign_x509(pskc_t  *  container,  const char * key_file, const
12       char * cert_file);
13

ARGUMENTS

15       pskc_t * container
16                   a pskc_t handle, from pskc_init().
17
18       const char * key_file
19                   filename of file containing private key.
20
21       const char * cert_file
22                   filename of file containing  corresponding  X.509  certifi‐
23                   cate.
24

DESCRIPTION

26       Sign PSKC data using X.509 certificate and private key.
27

RETURNS

29       On success, PSKC_OK (zero) is returned, or an error code.
30

REPORTING BUGS

32       Report  bugs  to  <oath-toolkit-help@nongnu.org>.   libpskc  home page:
33       http://www.gnu.org/software/libpskc/ General help using  GNU  software:
34       http://www.gnu.org/gethelp/
35
37       Copyright © 2012-2016 Simon Josefsson.
38       Copying  and  distribution  of this file, with or without modification,
39       are permitted in any medium  without  royalty  provided  the  copyright
40       notice and this notice are preserved.
41
42
43
44libpskc                              2.6.2                   pskc_sign_x509(3)
Impressum