kodi
Functions
x509.c File Reference

Certificate processing. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "os_port.h"
#include "crypto_misc.h"
Include dependency graph for x509.c:

Functions

int x509_new (const uint8_t *cert, int *len, X509_CTX **ctx)
 Construct a new x509 object. More...
 
void x509_free (X509_CTX *x509_ctx)
 Free an X.509 object's resources.
 

Detailed Description

Certificate processing.

Function Documentation

◆ x509_new()

int x509_new ( const uint8_t *  cert,
int *  len,
X509_CTX **  ctx 
)

Construct a new x509 object.

Returns
0 if ok. < 0 if there was a problem.