Functions | Variables
pcy_cache.c File Reference
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/thread.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#include "../internal.h"
#include "../x509/internal.h"
#include "internal.h"
Include dependency graph for pcy_cache.c:

Go to the source code of this file.

Functions

static int policy_cache_create (X509 *x, CERTIFICATEPOLICIES *policies, int crit)
 
X509_POLICY_DATApolicy_cache_find_data (const X509_POLICY_CACHE *cache, const ASN1_OBJECT *id)
 
void policy_cache_free (X509_POLICY_CACHE *cache)
 
static int policy_cache_new (X509 *x)
 
const X509_POLICY_CACHEpolicy_cache_set (X509 *x)
 
static int policy_cache_set_int (long *out, ASN1_INTEGER *value)
 
static int policy_data_cmp (const X509_POLICY_DATA **a, const X509_POLICY_DATA **b)
 

Variables

static struct CRYPTO_STATIC_MUTEX g_x509_policy_cache_lock
 

Function Documentation

◆ policy_cache_create()

static int policy_cache_create ( X509 x,
CERTIFICATEPOLICIES *  policies,
int  crit 
)
static

Definition at line 76 of file pcy_cache.c.

◆ policy_cache_find_data()

X509_POLICY_DATA* policy_cache_find_data ( const X509_POLICY_CACHE cache,
const ASN1_OBJECT id 
)

Definition at line 260 of file pcy_cache.c.

◆ policy_cache_free()

void policy_cache_free ( X509_POLICY_CACHE cache)

Definition at line 221 of file pcy_cache.c.

◆ policy_cache_new()

static int policy_cache_new ( X509 x)
static

Definition at line 125 of file pcy_cache.c.

◆ policy_cache_set()

const X509_POLICY_CACHE* policy_cache_set ( X509 x)

Definition at line 240 of file pcy_cache.c.

◆ policy_cache_set_int()

static int policy_cache_set_int ( long out,
ASN1_INTEGER value 
)
static

Definition at line 279 of file pcy_cache.c.

◆ policy_data_cmp()

static int policy_data_cmp ( const X509_POLICY_DATA **  a,
const X509_POLICY_DATA **  b 
)
static

Definition at line 273 of file pcy_cache.c.

Variable Documentation

◆ g_x509_policy_cache_lock

struct CRYPTO_STATIC_MUTEX g_x509_policy_cache_lock
static
Initial value:

Definition at line 237 of file pcy_cache.c.

CRYPTO_STATIC_MUTEX_INIT
#define CRYPTO_STATIC_MUTEX_INIT
Definition: third_party/boringssl-with-bazel/src/crypto/internal.h:536


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:25