1pskc_verify_x509crt(3) libpskc pskc_verify_x509crt(3)
2
3
4
6 pskc_verify_x509crt - API function
7
9 #include <pskc.h>
10
11 int pskc_verify_x509crt(pskc_t * container, const char * cert_file, int
12 * valid_signature);
13
15 pskc_t * container
16 a pskc_t handle, from pskc_init().
17
18 const char * cert_file
19 filename of file containing trusted X.509 certificate.
20
21 int * valid_signature
22 output variable with result of verification.
23
25 Verify signature in PSKC data against trusted X.509 certificate.
26
28 On success, PSKC_OK (zero) is returned, or an error code.
29
31 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
32 http://www.gnu.org/software/libpskc/ General help using GNU software:
33 http://www.gnu.org/gethelp/
34
36 Copyright © 2012-2016 Simon Josefsson.
37 Copying and distribution of this file, with or without modification,
38 are permitted in any medium without royalty provided the copyright
39 notice and this notice are preserved.
40
41
42
43libpskc 2.6.2 pskc_verify_x509crt(3)