poser
A C framework for POsix SERvices
Loading...
Searching...
No Matches
certinfo.h
Go to the documentation of this file.
1#ifndef POSER_CORE_CERTINFO_H
2#define POSER_CORE_CERTINFO_H
3
7#include <poser/decl.h>
8#include <stdint.h>
9
15C_CLASS_DECL(PSC_CertInfo);
16
24typedef int (*PSC_CertValidator)(void *receiver, const PSC_CertInfo *info);
25
33DECLEXPORT const uint8_t *
35 CMETHOD ATTR_RETNONNULL ATTR_PURE;
36
43DECLEXPORT const char *
45 CMETHOD ATTR_RETNONNULL ATTR_PURE;
46
55DECLEXPORT const char *
57 CMETHOD ATTR_RETNONNULL ATTR_PURE;
58
59#endif
int(* PSC_CertValidator)(void *receiver, const PSC_CertInfo *info)
Custom certificate validator.
Definition: certinfo.h:24
Metadata of an X.509 certificate.
const char * PSC_CertInfo_fingerprintStr(const PSC_CertInfo *self)
Fingerprint string of the certificate.
const char * PSC_CertInfo_subject(const PSC_CertInfo *self)
Subject name of the certificate.
const uint8_t * PSC_CertInfo_fingerprint(const PSC_CertInfo *self)
Fingerprint of the certificate.