Home | History | Annotate | Download | only in store

Lines Matching refs:STORE

1 /* crypto/store/str_lib.c -*- mode:C; c-file-style: "eay" -*- */
105 STORE *STORE_new_method(const STORE_METHOD *method)
107 STORE *ret;
115 ret=(STORE *)OPENSSL_malloc(sizeof(STORE));
133 STORE *STORE_new_engine(ENGINE *engine)
135 STORE *ret = NULL;
181 void STORE_free(STORE *store)
183 if (store == NULL)
185 if (store->meth->clean)
186 store->meth->clean(store);
187 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_STORE, store, &store->ex_data);
188 OPENSSL_free(store);
191 int STORE_ctrl(STORE *store, int cmd, long i, void *p, void (*f)(void))
193 if (store == NULL)
198 if (store->meth->ctrl)
199 return store->meth->ctrl(store, cmd, i, p, f);
212 int STORE_set_ex_data(STORE *r, int idx, void *arg)
217 void *STORE_get_ex_data(STORE *r, int idx)
222 const STORE_METHOD *STORE_get_method(STORE *store)
224 return store->meth;
227 const STORE_METHOD *STORE_set_method(STORE *store, const STORE_METHOD *meth)
229 store->meth=meth;
230 return store->meth;
254 X509 *STORE_get_certificate(STORE *s, OPENSSL_ITEM attributes[],
280 int STORE_store_certificate(STORE *s, X509 *data, OPENSSL_ITEM attributes[],
317 int STORE_modify_certificate(STORE *s, OPENSSL_ITEM search_attributes[],
335 int STORE_revoke_certificate(STORE *s, OPENSSL_ITEM attributes[],
351 int STORE_delete_certificate(STORE *s, OPENSSL_ITEM attributes[],
367 void *STORE_list_certificate_start(STORE *s, OPENSSL_ITEM attributes[],
386 X509 *STORE_list_certificate_next(STORE *s, void *handle)
410 int STORE_list_certificate_end(STORE *s, void *handle)
424 int STORE_list_certificate_endp(STORE *s, void *handle)
438 EVP_PKEY *STORE_generate_key(STORE *s, OPENSSL_ITEM attributes[],
464 EVP_PKEY *STORE_get_private_key(STORE *s, OPENSSL_ITEM attributes[],
490 int STORE_store_private_key(STORE *s, EVP_PKEY *data, OPENSSL_ITEM attributes[],
534 int STORE_modify_private_key(STORE *s, OPENSSL_ITEM search_attributes[],
552 int STORE_revoke_private_key(STORE *s, OPENSSL_ITEM attributes[],
572 int STORE_delete_private_key(STORE *s, OPENSSL_ITEM attributes[],
588 void *STORE_list_private_key_start(STORE *s, OPENSSL_ITEM attributes[],
607 EVP_PKEY *STORE_list_private_key_next(STORE *s, void *handle)
631 int STORE_list_private_key_end(STORE *s, void *handle)
645 int STORE_list_private_key_endp(STORE *s, void *handle)
659 EVP_PKEY *STORE_get_public_key(STORE *s, OPENSSL_ITEM attributes[],
685 int STORE_store_public_key(STORE *s, EVP_PKEY *data, OPENSSL_ITEM attributes[],
729 int STORE_modify_public_key(STORE *s, OPENSSL_ITEM search_attributes[],
747 int STORE_revoke_public_key(STORE *s, OPENSSL_ITEM attributes[],
767 int STORE_delete_public_key(STORE *s, OPENSSL_ITEM attributes[],
783 void *STORE_list_public_key_start(STORE *s, OPENSSL_ITEM attributes[],
802 EVP_PKEY *STORE_list_public_key_next(STORE *s, void *handle)
826 int STORE_list_public_key_end(STORE *s, void *handle)
840 int STORE_list_public_key_endp(STORE *s, void *handle)
854 X509_CRL *STORE_generate_crl(STORE *s, OPENSSL_ITEM attributes[],
880 X509_CRL *STORE_get_crl(STORE *s, OPENSSL_ITEM attributes[],
906 int STORE_store_crl(STORE *s, X509_CRL *data, OPENSSL_ITEM attributes[],
943 int STORE_modify_crl(STORE *s, OPENSSL_ITEM search_attributes[],
961 int STORE_delete_crl(STORE *s, OPENSSL_ITEM attributes[],
977 void *STORE_list_crl_start(STORE *s, OPENSSL_ITEM attributes[],
996 X509_CRL *STORE_list_crl_next(STORE *s, void *handle)
1020 int STORE_list_crl_end(STORE *s, void *handle)
1034 int STORE_list_crl_endp(STORE *s, void *handle)
1048 int STORE_store_number(STORE *s, BIGNUM *data, OPENSSL_ITEM attributes[],
1081 int STORE_modify_number(STORE *s, OPENSSL_ITEM search_attributes[],
1099 BIGNUM *STORE_get_number(STORE *s, OPENSSL_ITEM attributes[],
1122 int STORE_delete_number(STORE *s, OPENSSL_ITEM attributes[],
1138 int STORE_store_arbitrary(STORE *s, BUF_MEM *data, OPENSSL_ITEM attributes[],
1171 int STORE_modify_arbitrary(STORE *s, OPENSSL_ITEM search_attributes[],
1189 BUF_MEM *STORE_get_arbitrary(STORE *s, OPENSSL_ITEM attributes[],
1212 int STORE_delete_arbitrary(STORE *s, OPENSSL_ITEM attributes[],