SysTutorials

Linux Manual Pages › Section 3

pskc_get_signed_p(3)

pskc_get_signed_p – API function

Synopsis

#include <pskc.h>
int pskc_get_signed_p(pskc_t *container);

Arguments

pskc_t * container
a pskc_t handle, from pskc_init().

Description

Check whether the container is signed or not (note that it does not validate the signature, merely checks whether there is one).

Returns

a non-0 value if the container contains a Signature element, 0 if there is no Signature element.

Reporting Bugs

Report bugs to <oath-toolkit-help [at] nongnu.org>. libpskc home page: http://www.gnu.org/software/libpskc/ General help using GNU software: http://www.gnu.org/gethelp/

Copyright

Copyright © 2012 Simon Josefsson.
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.