52#ifndef QSC_X509_HOST_H
53#define QSC_X509_HOST_H
58QSC_CPLUSPLUS_ENABLED_START
156QSC_CPLUSPLUS_ENABLED_END
Contains common definitions for the Quantum Secure Cryptographic (QSC) library.
#define QSC_EXPORT_API
API export macro for Microsoft compilers when importing from a DLL.
Definition qsccommon.h:605
QSC_EXPORT_API bool qsc_x509_certificate_match_endpoint(const qsc_x509_certificate *certificate, const char *hostname, const uint8_t *address, size_t addresslen)
Match a network endpoint against a certificate.
Definition x509host.c:317
QSC_EXPORT_API bool qsc_x509_certificate_match_dns_name(const qsc_x509_certificate *certificate, const char *hostname)
Match a hostname against certificate DNS identifiers.
Definition x509host.c:207
QSC_EXPORT_API bool qsc_x509_dns_name_match(const char *pattern, const char *hostname)
Match a DNS hostname against a certificate pattern.
Definition x509host.c:169
QSC_EXPORT_API bool qsc_x509_certificate_match_hostname(const qsc_x509_certificate *certificate, const char *hostname)
Match a hostname against a certificate.
Definition x509host.c:300
QSC_EXPORT_API bool qsc_x509_certificate_match_ip_address(const qsc_x509_certificate *certificate, const uint8_t *address, size_t addresslen)
Match an IP address against certificate IP identifiers.
Definition x509host.c:265