tpm2-tss 4.2.0
TPM Software stack 2.0 TCG spec compliant implementation
ifapi_curl.h
1/* SPDX-FileCopyrightText: 2022, Intel */
2/* SPDX-License-Identifier: BSD-2-Clause */
3#ifndef IFAPI_CURL_H
4#define IFAPI_CURL_H
5
6#include <stddef.h> // for size_t
7
8#include "tss2_common.h" // for TSS2_RC
9#include <openssl/x509.h> // for X509 and X509_CRL
10
11TSS2_RC
12ifapi_curl_verify_ek_cert(char *root_cert_pem, char *intermed_cert_pem, char *ek_cert_pem);
13
14int ifapi_get_curl_buffer(unsigned char *url, unsigned char **buffer, size_t *cert_size);
15
16TSS2_RC
17ifapi_get_crl_from_cert(X509 *cert, X509_CRL **crl);
18
19#endif /* IFAPI_CURL_H */
TSS2_RC ifapi_curl_verify_ek_cert(char *root_cert_pem, char *intermed_cert_pem, char *ek_cert_pem)
Definition ifapi_curl.c:167
int ifapi_get_curl_buffer(unsigned char *url, unsigned char **buffer, size_t *cert_size)
Definition ifapi_curl.c:386