---
name: "pskc_verify_x509crt"
section: "3"
platform: "linux"
package: "oath-toolkit"
version: "2.6.15-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pskc_verify_x509crt"
---

# pskc\_verify\_x509crt(3)

API function

## NAME

pskc\_verify\_x509crt - API function

## SYNOPSIS

**#include \<pskc.h\>**

**int pskc\_verify\_x509crt(pskc\_t \*** *container***, const char \*** *cert\_file***, int \*** *valid\_signature***);**

## ARGUMENTS

- pskc\_t \* container

  a **pskc\_t** handle, from **pskc\_init()**.

- const char \* cert\_file

  filename of file containing trusted X.509 certificate.

- int \* valid\_signature

  output variable with result of verification.

## DESCRIPTION

Verify signature in PSKC data against trusted X.509 certificate.

## RETURNS

On success, **PSKC\_OK** (zero) is returned, or an error code.

## REPORTING BUGS

Report bugs to \<oath-toolkit-help@nongnu.org\>. libpskc home page: https://oath-toolkit.codeberg.page/ General help using GNU software: http://www.gnu.org/gethelp/

## COPYRIGHT

Copyright © 2009-2026 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.
