OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Functions | Variables
str_lib.c File Reference
#include <string.h>
#include <openssl/bn.h>
#include <openssl/err.h>
#include <openssl/engine.h>
#include <openssl/sha.h>
#include <openssl/x509.h>
#include "str_locl.h"

Go to the source code of this file.

Classes

struct  STORE_attr_info_st
 
struct  attr_list_ctx_st
 

Macros

#define check_store(s, fncode, fnname, fnerrcode)
 
#define ATTR_IS_SET(a, i)
 
#define SET_ATTRBIT(a, i)   ((a)->set[(i) / 8] |= (1 << ((i) % 8)))
 
#define CLEAR_ATTRBIT(a, i)   ((a)->set[(i) / 8] &= ~(1 << ((i) % 8)))
 

Functions

STORESTORE_new_method (const STORE_METHOD *method)
 
STORESTORE_new_engine (ENGINE *engine)
 
void STORE_free (STORE *store)
 
int STORE_ctrl (STORE *store, int cmd, long i, void *p, void(*f)(void))
 
int STORE_get_ex_new_index (long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)
 
int STORE_set_ex_data (STORE *r, int idx, void *arg)
 
voidSTORE_get_ex_data (STORE *r, int idx)
 
const STORE_METHODSTORE_get_method (STORE *store)
 
const STORE_METHODSTORE_set_method (STORE *store, const STORE_METHOD *meth)
 
X509STORE_get_certificate (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_store_certificate (STORE *s, X509 *data, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_modify_certificate (STORE *s, OPENSSL_ITEM search_attributes[], OPENSSL_ITEM add_attributes[], OPENSSL_ITEM modify_attributes[], OPENSSL_ITEM delete_attributes[], OPENSSL_ITEM parameters[])
 
int STORE_revoke_certificate (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_delete_certificate (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
voidSTORE_list_certificate_start (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
X509STORE_list_certificate_next (STORE *s, void *handle)
 
int STORE_list_certificate_end (STORE *s, void *handle)
 
int STORE_list_certificate_endp (STORE *s, void *handle)
 
EVP_PKEYSTORE_generate_key (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
EVP_PKEYSTORE_get_private_key (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_store_private_key (STORE *s, EVP_PKEY *data, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_modify_private_key (STORE *s, OPENSSL_ITEM search_attributes[], OPENSSL_ITEM add_attributes[], OPENSSL_ITEM modify_attributes[], OPENSSL_ITEM delete_attributes[], OPENSSL_ITEM parameters[])
 
int STORE_revoke_private_key (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_delete_private_key (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
voidSTORE_list_private_key_start (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
EVP_PKEYSTORE_list_private_key_next (STORE *s, void *handle)
 
int STORE_list_private_key_end (STORE *s, void *handle)
 
int STORE_list_private_key_endp (STORE *s, void *handle)
 
EVP_PKEYSTORE_get_public_key (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_store_public_key (STORE *s, EVP_PKEY *data, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_modify_public_key (STORE *s, OPENSSL_ITEM search_attributes[], OPENSSL_ITEM add_attributes[], OPENSSL_ITEM modify_attributes[], OPENSSL_ITEM delete_attributes[], OPENSSL_ITEM parameters[])
 
int STORE_revoke_public_key (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_delete_public_key (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
voidSTORE_list_public_key_start (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
EVP_PKEYSTORE_list_public_key_next (STORE *s, void *handle)
 
int STORE_list_public_key_end (STORE *s, void *handle)
 
int STORE_list_public_key_endp (STORE *s, void *handle)
 
X509_CRLSTORE_generate_crl (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
X509_CRLSTORE_get_crl (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_store_crl (STORE *s, X509_CRL *data, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_modify_crl (STORE *s, OPENSSL_ITEM search_attributes[], OPENSSL_ITEM add_attributes[], OPENSSL_ITEM modify_attributes[], OPENSSL_ITEM delete_attributes[], OPENSSL_ITEM parameters[])
 
int STORE_delete_crl (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
voidSTORE_list_crl_start (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
X509_CRLSTORE_list_crl_next (STORE *s, void *handle)
 
int STORE_list_crl_end (STORE *s, void *handle)
 
int STORE_list_crl_endp (STORE *s, void *handle)
 
int STORE_store_number (STORE *s, BIGNUM *data, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_modify_number (STORE *s, OPENSSL_ITEM search_attributes[], OPENSSL_ITEM add_attributes[], OPENSSL_ITEM modify_attributes[], OPENSSL_ITEM delete_attributes[], OPENSSL_ITEM parameters[])
 
BIGNUMSTORE_get_number (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_delete_number (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_store_arbitrary (STORE *s, BUF_MEM *data, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_modify_arbitrary (STORE *s, OPENSSL_ITEM search_attributes[], OPENSSL_ITEM add_attributes[], OPENSSL_ITEM modify_attributes[], OPENSSL_ITEM delete_attributes[], OPENSSL_ITEM parameters[])
 
BUF_MEMSTORE_get_arbitrary (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
int STORE_delete_arbitrary (STORE *s, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[])
 
STORE_OBJECTSTORE_OBJECT_new (void)
 
void STORE_OBJECT_free (STORE_OBJECT *data)
 
STORE_ATTR_INFOSTORE_ATTR_INFO_new (void)
 
int STORE_ATTR_INFO_free (STORE_ATTR_INFO *attrs)
 
char * STORE_ATTR_INFO_get0_cstr (STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code)
 
unsigned char * STORE_ATTR_INFO_get0_sha1str (STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code)
 
X509_NAMESTORE_ATTR_INFO_get0_dn (STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code)
 
BIGNUMSTORE_ATTR_INFO_get0_number (STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code)
 
int STORE_ATTR_INFO_set_cstr (STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code, char *cstr, size_t cstr_size)
 
int STORE_ATTR_INFO_set_sha1str (STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code, unsigned char *sha1str, size_t sha1str_size)
 
int STORE_ATTR_INFO_set_dn (STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code, X509_NAME *dn)
 
int STORE_ATTR_INFO_set_number (STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code, BIGNUM *number)
 
int STORE_ATTR_INFO_modify_cstr (STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code, char *cstr, size_t cstr_size)
 
int STORE_ATTR_INFO_modify_sha1str (STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code, unsigned char *sha1str, size_t sha1str_size)
 
int STORE_ATTR_INFO_modify_dn (STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code, X509_NAME *dn)
 
int STORE_ATTR_INFO_modify_number (STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code, BIGNUM *number)
 
voidSTORE_parse_attrs_start (OPENSSL_ITEM *attributes)
 
STORE_ATTR_INFOSTORE_parse_attrs_next (void *handle)
 
int STORE_parse_attrs_end (void *handle)
 
int STORE_parse_attrs_endp (void *handle)
 
int STORE_ATTR_INFO_compare (const STORE_ATTR_INFO *const *a, const STORE_ATTR_INFO *const *b)
 
int STORE_ATTR_INFO_in_range (STORE_ATTR_INFO *a, STORE_ATTR_INFO *b)
 
int STORE_ATTR_INFO_in (STORE_ATTR_INFO *a, STORE_ATTR_INFO *b)
 
int STORE_ATTR_INFO_in_ex (STORE_ATTR_INFO *a, STORE_ATTR_INFO *b)
 

Variables

const char *const STORE_object_type_string [STORE_OBJECT_TYPE_NUM+1]
 
const int STORE_param_sizes [STORE_PARAM_TYPE_NUM+1]
 
const int STORE_attr_sizes [STORE_ATTR_TYPE_NUM+1]
 

Macro Definition Documentation

#define ATTR_IS_SET (   a,
 
)
Value:
((i) > 0 && (i) < STORE_ATTR_TYPE_NUM \
&& ((a)->set[(i) / 8] & (1 << ((i) % 8))))

Definition at line 1276 of file str_lib.c.

#define check_store (   s,
  fncode,
  fnname,
  fnerrcode 
)
Value:
do \
{ \
if ((s) == NULL || (s)->meth == NULL) \
{ \
STOREerr((fncode), ERR_R_PASSED_NULL_PARAMETER); \
return 0; \
} \
if ((s)->meth->fnname == NULL) \
{ \
STOREerr((fncode), (fnerrcode)); \
return 0; \
} \
} \
while(0)

Definition at line 236 of file str_lib.c.

#define CLEAR_ATTRBIT (   a,
 
)    ((a)->set[(i) / 8] &= ~(1 << ((i) % 8)))

Definition at line 1279 of file str_lib.c.

#define SET_ATTRBIT (   a,
 
)    ((a)->set[(i) / 8] |= (1 << ((i) % 8)))

Definition at line 1278 of file str_lib.c.

Function Documentation

int STORE_ATTR_INFO_compare ( const STORE_ATTR_INFO *const *  a,
const STORE_ATTR_INFO *const *  b 
)

Definition at line 1742 of file str_lib.c.

int STORE_ATTR_INFO_free ( STORE_ATTR_INFO attrs)

Definition at line 1316 of file str_lib.c.

char* STORE_ATTR_INFO_get0_cstr ( STORE_ATTR_INFO attrs,
STORE_ATTR_TYPES  code 
)

Definition at line 1327 of file str_lib.c.

X509_NAME* STORE_ATTR_INFO_get0_dn ( STORE_ATTR_INFO attrs,
STORE_ATTR_TYPES  code 
)

Definition at line 1356 of file str_lib.c.

BIGNUM* STORE_ATTR_INFO_get0_number ( STORE_ATTR_INFO attrs,
STORE_ATTR_TYPES  code 
)

Definition at line 1370 of file str_lib.c.

unsigned char* STORE_ATTR_INFO_get0_sha1str ( STORE_ATTR_INFO attrs,
STORE_ATTR_TYPES  code 
)

Definition at line 1341 of file str_lib.c.

int STORE_ATTR_INFO_in ( STORE_ATTR_INFO a,
STORE_ATTR_INFO b 
)

Definition at line 1765 of file str_lib.c.

int STORE_ATTR_INFO_in_ex ( STORE_ATTR_INFO a,
STORE_ATTR_INFO b 
)

Definition at line 1783 of file str_lib.c.

int STORE_ATTR_INFO_in_range ( STORE_ATTR_INFO a,
STORE_ATTR_INFO b 
)

Definition at line 1751 of file str_lib.c.

int STORE_ATTR_INFO_modify_cstr ( STORE_ATTR_INFO attrs,
STORE_ATTR_TYPES  code,
char *  cstr,
size_t  cstr_size 
)

Definition at line 1466 of file str_lib.c.

int STORE_ATTR_INFO_modify_dn ( STORE_ATTR_INFO attrs,
STORE_ATTR_TYPES  code,
X509_NAME dn 
)

Definition at line 1500 of file str_lib.c.

int STORE_ATTR_INFO_modify_number ( STORE_ATTR_INFO attrs,
STORE_ATTR_TYPES  code,
BIGNUM number 
)

Definition at line 1517 of file str_lib.c.

int STORE_ATTR_INFO_modify_sha1str ( STORE_ATTR_INFO attrs,
STORE_ATTR_TYPES  code,
unsigned char *  sha1str,
size_t  sha1str_size 
)

Definition at line 1483 of file str_lib.c.

STORE_ATTR_INFO* STORE_ATTR_INFO_new ( void  )

Definition at line 1281 of file str_lib.c.

int STORE_ATTR_INFO_set_cstr ( STORE_ATTR_INFO attrs,
STORE_ATTR_TYPES  code,
char *  cstr,
size_t  cstr_size 
)

Definition at line 1384 of file str_lib.c.

int STORE_ATTR_INFO_set_dn ( STORE_ATTR_INFO attrs,
STORE_ATTR_TYPES  code,
X509_NAME dn 
)

Definition at line 1426 of file str_lib.c.

int STORE_ATTR_INFO_set_number ( STORE_ATTR_INFO attrs,
STORE_ATTR_TYPES  code,
BIGNUM number 
)

Definition at line 1446 of file str_lib.c.

int STORE_ATTR_INFO_set_sha1str ( STORE_ATTR_INFO attrs,
STORE_ATTR_TYPES  code,
unsigned char *  sha1str,
size_t  sha1str_size 
)

Definition at line 1404 of file str_lib.c.

int STORE_ctrl ( STORE store,
int  cmd,
long  i,
void p,
void(*)(void f 
)

Definition at line 191 of file str_lib.c.

int STORE_delete_arbitrary ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 1212 of file str_lib.c.

int STORE_delete_certificate ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 351 of file str_lib.c.

int STORE_delete_crl ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 961 of file str_lib.c.

int STORE_delete_number ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 1122 of file str_lib.c.

int STORE_delete_private_key ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 572 of file str_lib.c.

int STORE_delete_public_key ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 767 of file str_lib.c.

void STORE_free ( STORE store)

Definition at line 181 of file str_lib.c.

X509_CRL* STORE_generate_crl ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 854 of file str_lib.c.

EVP_PKEY* STORE_generate_key ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 438 of file str_lib.c.

BUF_MEM* STORE_get_arbitrary ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 1189 of file str_lib.c.

X509* STORE_get_certificate ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 254 of file str_lib.c.

X509_CRL* STORE_get_crl ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 880 of file str_lib.c.

void* STORE_get_ex_data ( STORE r,
int  idx 
)

Definition at line 217 of file str_lib.c.

int STORE_get_ex_new_index ( long  argl,
void argp,
CRYPTO_EX_new new_func,
CRYPTO_EX_dup dup_func,
CRYPTO_EX_free free_func 
)

Definition at line 205 of file str_lib.c.

const STORE_METHOD* STORE_get_method ( STORE store)

Definition at line 222 of file str_lib.c.

BIGNUM* STORE_get_number ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 1099 of file str_lib.c.

EVP_PKEY* STORE_get_private_key ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 464 of file str_lib.c.

EVP_PKEY* STORE_get_public_key ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 659 of file str_lib.c.

int STORE_list_certificate_end ( STORE s,
void handle 
)

Definition at line 410 of file str_lib.c.

int STORE_list_certificate_endp ( STORE s,
void handle 
)

Definition at line 424 of file str_lib.c.

X509* STORE_list_certificate_next ( STORE s,
void handle 
)

Definition at line 386 of file str_lib.c.

void* STORE_list_certificate_start ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 367 of file str_lib.c.

int STORE_list_crl_end ( STORE s,
void handle 
)

Definition at line 1020 of file str_lib.c.

int STORE_list_crl_endp ( STORE s,
void handle 
)

Definition at line 1034 of file str_lib.c.

X509_CRL* STORE_list_crl_next ( STORE s,
void handle 
)

Definition at line 996 of file str_lib.c.

void* STORE_list_crl_start ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 977 of file str_lib.c.

int STORE_list_private_key_end ( STORE s,
void handle 
)

Definition at line 631 of file str_lib.c.

int STORE_list_private_key_endp ( STORE s,
void handle 
)

Definition at line 645 of file str_lib.c.

EVP_PKEY* STORE_list_private_key_next ( STORE s,
void handle 
)

Definition at line 607 of file str_lib.c.

void* STORE_list_private_key_start ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 588 of file str_lib.c.

int STORE_list_public_key_end ( STORE s,
void handle 
)

Definition at line 826 of file str_lib.c.

int STORE_list_public_key_endp ( STORE s,
void handle 
)

Definition at line 840 of file str_lib.c.

EVP_PKEY* STORE_list_public_key_next ( STORE s,
void handle 
)

Definition at line 802 of file str_lib.c.

void* STORE_list_public_key_start ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 783 of file str_lib.c.

int STORE_modify_arbitrary ( STORE s,
OPENSSL_ITEM  search_attributes[],
OPENSSL_ITEM  add_attributes[],
OPENSSL_ITEM  modify_attributes[],
OPENSSL_ITEM  delete_attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 1171 of file str_lib.c.

int STORE_modify_certificate ( STORE s,
OPENSSL_ITEM  search_attributes[],
OPENSSL_ITEM  add_attributes[],
OPENSSL_ITEM  modify_attributes[],
OPENSSL_ITEM  delete_attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 317 of file str_lib.c.

int STORE_modify_crl ( STORE s,
OPENSSL_ITEM  search_attributes[],
OPENSSL_ITEM  add_attributes[],
OPENSSL_ITEM  modify_attributes[],
OPENSSL_ITEM  delete_attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 943 of file str_lib.c.

int STORE_modify_number ( STORE s,
OPENSSL_ITEM  search_attributes[],
OPENSSL_ITEM  add_attributes[],
OPENSSL_ITEM  modify_attributes[],
OPENSSL_ITEM  delete_attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 1081 of file str_lib.c.

int STORE_modify_private_key ( STORE s,
OPENSSL_ITEM  search_attributes[],
OPENSSL_ITEM  add_attributes[],
OPENSSL_ITEM  modify_attributes[],
OPENSSL_ITEM  delete_attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 534 of file str_lib.c.

int STORE_modify_public_key ( STORE s,
OPENSSL_ITEM  search_attributes[],
OPENSSL_ITEM  add_attributes[],
OPENSSL_ITEM  modify_attributes[],
OPENSSL_ITEM  delete_attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 729 of file str_lib.c.

STORE* STORE_new_engine ( ENGINE engine)

Definition at line 133 of file str_lib.c.

STORE* STORE_new_method ( const STORE_METHOD method)

Definition at line 105 of file str_lib.c.

void STORE_OBJECT_free ( STORE_OBJECT data)

Definition at line 1234 of file str_lib.c.

STORE_OBJECT* STORE_OBJECT_new ( void  )

Definition at line 1228 of file str_lib.c.

int STORE_parse_attrs_end ( void handle)

Definition at line 1644 of file str_lib.c.

int STORE_parse_attrs_endp ( void handle)

Definition at line 1660 of file str_lib.c.

STORE_ATTR_INFO* STORE_parse_attrs_next ( void handle)

Definition at line 1555 of file str_lib.c.

void* STORE_parse_attrs_start ( OPENSSL_ITEM attributes)

Definition at line 1539 of file str_lib.c.

int STORE_revoke_certificate ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 335 of file str_lib.c.

int STORE_revoke_private_key ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 552 of file str_lib.c.

int STORE_revoke_public_key ( STORE s,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 747 of file str_lib.c.

int STORE_set_ex_data ( STORE r,
int  idx,
void arg 
)

Definition at line 212 of file str_lib.c.

const STORE_METHOD* STORE_set_method ( STORE store,
const STORE_METHOD meth 
)

Definition at line 227 of file str_lib.c.

int STORE_store_arbitrary ( STORE s,
BUF_MEM data,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 1138 of file str_lib.c.

int STORE_store_certificate ( STORE s,
X509 data,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 280 of file str_lib.c.

int STORE_store_crl ( STORE s,
X509_CRL data,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 906 of file str_lib.c.

int STORE_store_number ( STORE s,
BIGNUM data,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 1048 of file str_lib.c.

int STORE_store_private_key ( STORE s,
EVP_PKEY data,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 490 of file str_lib.c.

int STORE_store_public_key ( STORE s,
EVP_PKEY data,
OPENSSL_ITEM  attributes[],
OPENSSL_ITEM  parameters[] 
)

Definition at line 685 of file str_lib.c.

Variable Documentation

const int STORE_attr_sizes[STORE_ATTR_TYPE_NUM+1]
Initial value:
=
{
0,
-1,
sizeof(X509_NAME *),
sizeof(BIGNUM *),
sizeof(X509_NAME *),
SHA_DIGEST_LENGTH,
-1,
-1,
}

Definition at line 89 of file str_lib.c.

const char* const STORE_object_type_string[STORE_OBJECT_TYPE_NUM+1]
Initial value:
=
{
0,
"X.509 Certificate",
"X.509 CRL",
"Private Key",
"Public Key",
"Number",
"Arbitrary Data"
}

Definition at line 69 of file str_lib.c.

const int STORE_param_sizes[STORE_PARAM_TYPE_NUM+1]
Initial value:
=
{
0,
sizeof(int),
sizeof(size_t),
-1,
0
}

Definition at line 80 of file str_lib.c.