1pskc_set_key_algorithm(3)           libpskc          pskc_set_key_algorithm(3)
2
3
4

NAME

6       pskc_set_key_algorithm - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       void pskc_set_key_algorithm(pskc_key_t * key, const char * keyalg);
12

ARGUMENTS

14       pskc_key_t * key
15                   a pskc_key_t handle, from pskc_get_keypackage().
16
17       const char * keyalg
18                   the key algorithm string to set.
19

DESCRIPTION

21       Set  the PSKC KeyPackage Key Algorithm attribute value.  This may be an
22       URN, for example "urn:ietf:params:xml:ns:keyprov:pskc:hotp".
23
24       The pointer is stored in container, not a copy of the data, so you must
25       not  deallocate  the  data  before another call to this function or the
26       last call to any function using container.
27

SINCE

29       2.2.0
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_set_key_algorithm(3)
Impressum