poser
A C framework for POsix SERvices
Loading...
Searching...
No Matches
certinfo.h File Reference

declarations for the PSC_CertInfo class More...

#include <poser/decl.h>
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef int(* PSC_CertValidator) (void *receiver, const PSC_CertInfo *info)
 Custom certificate validator.
 

Detailed Description

declarations for the PSC_CertInfo class

Typedef Documentation

◆ PSC_CertValidator

typedef int(* PSC_CertValidator) (void *receiver, const PSC_CertInfo *info)

Custom certificate validator.

This can be used for custom logic whether a specific certificate should be accepted or not.

Parameters
receiverthe object handling the validation
infometadata of the certificate to check
Returns
1 if acceptable, 0 if not