OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
x509_lu.c File Reference
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/lhash.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

Go to the source code of this file.

Functions

X509_LOOKUPX509_LOOKUP_new (X509_LOOKUP_METHOD *method)
 
void X509_LOOKUP_free (X509_LOOKUP *ctx)
 
int X509_LOOKUP_init (X509_LOOKUP *ctx)
 
int X509_LOOKUP_shutdown (X509_LOOKUP *ctx)
 
int X509_LOOKUP_ctrl (X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret)
 
int X509_LOOKUP_by_subject (X509_LOOKUP *ctx, int type, X509_NAME *name, X509_OBJECT *ret)
 
int X509_LOOKUP_by_issuer_serial (X509_LOOKUP *ctx, int type, X509_NAME *name, ASN1_INTEGER *serial, X509_OBJECT *ret)
 
int X509_LOOKUP_by_fingerprint (X509_LOOKUP *ctx, int type, unsigned char *bytes, int len, X509_OBJECT *ret)
 
int X509_LOOKUP_by_alias (X509_LOOKUP *ctx, int type, char *str, int len, X509_OBJECT *ret)
 
X509_STOREX509_STORE_new (void)
 
void X509_STORE_free (X509_STORE *vfy)
 
X509_LOOKUPX509_STORE_add_lookup (X509_STORE *v, X509_LOOKUP_METHOD *m)
 
int X509_STORE_get_by_subject (X509_STORE_CTX *vs, int type, X509_NAME *name, X509_OBJECT *ret)
 
int X509_STORE_add_cert (X509_STORE *ctx, X509 *x)
 
int X509_STORE_add_crl (X509_STORE *ctx, X509_CRL *x)
 
void X509_OBJECT_up_ref_count (X509_OBJECT *a)
 
void X509_OBJECT_free_contents (X509_OBJECT *a)
 
int X509_OBJECT_idx_by_subject (STACK_OF(X509_OBJECT)*h, int type, X509_NAME *name)
 
X509_OBJECTX509_OBJECT_retrieve_by_subject (STACK_OF(X509_OBJECT)*h, int type, X509_NAME *name)
 
 STACK_OF (X509)
 
 STACK_OF (X509_CRL)
 
X509_OBJECTX509_OBJECT_retrieve_match (STACK_OF(X509_OBJECT)*h, X509_OBJECT *x)
 
int X509_STORE_CTX_get1_issuer (X509 **issuer, X509_STORE_CTX *ctx, X509 *x)
 
int X509_STORE_set_flags (X509_STORE *ctx, unsigned long flags)
 
int X509_STORE_set_depth (X509_STORE *ctx, int depth)
 
int X509_STORE_set_purpose (X509_STORE *ctx, int purpose)
 
int X509_STORE_set_trust (X509_STORE *ctx, int trust)
 
int X509_STORE_set1_param (X509_STORE *ctx, X509_VERIFY_PARAM *param)
 
void X509_STORE_set_verify_cb (X509_STORE *ctx, int(*verify_cb)(int, X509_STORE_CTX *))
 

Function Documentation

STACK_OF ( X509  )

Definition at line 488 of file x509_lu.c.

STACK_OF ( X509_CRL  )

Definition at line 537 of file x509_lu.c.

int X509_LOOKUP_by_alias ( X509_LOOKUP ctx,
int  type,
char *  str,
int  len,
X509_OBJECT ret 
)

Definition at line 148 of file x509_lu.c.

int X509_LOOKUP_by_fingerprint ( X509_LOOKUP ctx,
int  type,
unsigned char *  bytes,
int  len,
X509_OBJECT ret 
)

Definition at line 140 of file x509_lu.c.

int X509_LOOKUP_by_issuer_serial ( X509_LOOKUP ctx,
int  type,
X509_NAME name,
ASN1_INTEGER serial,
X509_OBJECT ret 
)

Definition at line 131 of file x509_lu.c.

int X509_LOOKUP_by_subject ( X509_LOOKUP ctx,
int  type,
X509_NAME name,
X509_OBJECT ret 
)

Definition at line 122 of file x509_lu.c.

int X509_LOOKUP_ctrl ( X509_LOOKUP ctx,
int  cmd,
const char *  argc,
long  argl,
char **  ret 
)

Definition at line 112 of file x509_lu.c.

void X509_LOOKUP_free ( X509_LOOKUP ctx)

Definition at line 85 of file x509_lu.c.

int X509_LOOKUP_init ( X509_LOOKUP ctx)

Definition at line 94 of file x509_lu.c.

X509_LOOKUP* X509_LOOKUP_new ( X509_LOOKUP_METHOD method)

Definition at line 65 of file x509_lu.c.

int X509_LOOKUP_shutdown ( X509_LOOKUP ctx)

Definition at line 103 of file x509_lu.c.

void X509_OBJECT_free_contents ( X509_OBJECT a)

Definition at line 413 of file x509_lu.c.

int X509_OBJECT_idx_by_subject ( STACK_OF(X509_OBJECT)*  h,
int  type,
X509_NAME name 
)

Definition at line 473 of file x509_lu.c.

X509_OBJECT* X509_OBJECT_retrieve_by_subject ( STACK_OF(X509_OBJECT)*  h,
int  type,
X509_NAME name 
)

Definition at line 479 of file x509_lu.c.

X509_OBJECT* X509_OBJECT_retrieve_match ( STACK_OF(X509_OBJECT)*  h,
X509_OBJECT x 
)

Definition at line 583 of file x509_lu.c.

void X509_OBJECT_up_ref_count ( X509_OBJECT a)

Definition at line 400 of file x509_lu.c.

int X509_STORE_add_cert ( X509_STORE ctx,
X509 x 
)

Definition at line 334 of file x509_lu.c.

int X509_STORE_add_crl ( X509_STORE ctx,
X509_CRL x 
)

Definition at line 367 of file x509_lu.c.

X509_LOOKUP* X509_STORE_add_lookup ( X509_STORE v,
X509_LOOKUP_METHOD m 
)

Definition at line 257 of file x509_lu.c.

int X509_STORE_CTX_get1_issuer ( X509 **  issuer,
X509_STORE_CTX ctx,
X509 x 
)

Definition at line 624 of file x509_lu.c.

void X509_STORE_free ( X509_STORE vfy)

Definition at line 232 of file x509_lu.c.

int X509_STORE_get_by_subject ( X509_STORE_CTX vs,
int  type,
X509_NAME name,
X509_OBJECT ret 
)

Definition at line 289 of file x509_lu.c.

X509_STORE* X509_STORE_new ( void  )

Definition at line 178 of file x509_lu.c.

int X509_STORE_set1_param ( X509_STORE ctx,
X509_VERIFY_PARAM param 
)

Definition at line 704 of file x509_lu.c.

int X509_STORE_set_depth ( X509_STORE ctx,
int  depth 
)

Definition at line 688 of file x509_lu.c.

int X509_STORE_set_flags ( X509_STORE ctx,
unsigned long  flags 
)

Definition at line 683 of file x509_lu.c.

int X509_STORE_set_purpose ( X509_STORE ctx,
int  purpose 
)

Definition at line 694 of file x509_lu.c.

int X509_STORE_set_trust ( X509_STORE ctx,
int  trust 
)

Definition at line 699 of file x509_lu.c.

void X509_STORE_set_verify_cb ( X509_STORE ctx,
int(*)(int, X509_STORE_CTX *)  verify_cb 
)

Definition at line 709 of file x509_lu.c.