Home | History | Annotate | Download | only in store

Lines Matching refs:STORE

1 /* crypto/store/store.h -*- mode:C; c-file-style: "eay" -*- */
65 #error STORE is disabled.
80 /* typedef struct store_st STORE; */
89 STORE *STORE_new_method(const STORE_METHOD *method);
90 STORE *STORE_new_engine(ENGINE *engine);
91 void STORE_free(STORE *ui);
96 be used to get information from a STORE. */
97 int STORE_ctrl(STORE *store, int cmd, long i, void *p, void (*f)(void));
117 int STORE_set_ex_data(STORE *r,int idx,void *arg);
118 void *STORE_get_ex_data(STORE *r, int idx);
121 const STORE_METHOD *STORE_get_method(STORE *store);
122 const STORE_METHOD *STORE_set_method(STORE *store, const STORE_METHOD *meth);
130 /* This is the directory store. It does everything except revoking and updating,
133 /* This is the file store. It does everything except revoking and updating,
135 to it with the store operation, and it will only get cached certificates. */
139 /* Store functions take a type code for the type of data they should store
155 /* Some store functions take a parameter list. Those parameters come with
172 /* Store functions take attribute lists. Those attributes come with codes.
207 /* Engine store functions will return a structure that contains all the necessary
236 X509 *STORE_get_certificate(STORE *e, OPENSSL_ITEM attributes[],
238 int STORE_store_certificate(STORE *e, X509 *data, OPENSSL_ITEM attributes[],
240 int STORE_modify_certificate(STORE *e, OPENSSL_ITEM search_attributes[],
243 int STORE_revoke_certificate(STORE *e, OPENSSL_ITEM attributes[],
245 int STORE_delete_certificate(STORE *e, OPENSSL_ITEM attributes[],
247 void *STORE_list_certificate_start(STORE *e, OPENSSL_ITEM attributes[],
249 X509 *STORE_list_certificate_next(STORE *e, void *handle);
250 int STORE_list_certificate_end(STORE *e, void *handle);
251 int STORE_list_certificate_endp(STORE *e, void *handle);
252 EVP_PKEY *STORE_generate_key(STORE *e, OPENSSL_ITEM attributes[],
254 EVP_PKEY *STORE_get_private_key(STORE *e, OPENSSL_ITEM attributes[],
256 int STORE_store_private_key(STORE *e, EVP_PKEY *data,
258 int STORE_modify_private_key(STORE *e, OPENSSL_ITEM search_attributes[],
261 int STORE_revoke_private_key(STORE *e, OPENSSL_ITEM attributes[],
263 int STORE_delete_private_key(STORE *e, OPENSSL_ITEM attributes[],
265 void *STORE_list_private_key_start(STORE *e, OPENSSL_ITEM attributes[],
267 EVP_PKEY *STORE_list_private_key_next(STORE *e, void *handle);
268 int STORE_list_private_key_end(STORE *e, void *handle);
269 int STORE_list_private_key_endp(STORE *e, void *handle);
270 EVP_PKEY *STORE_get_public_key(STORE *e, OPENSSL_ITEM attributes[],
272 int STORE_store_public_key(STORE *e, EVP_PKEY *data, OPENSSL_ITEM attributes[],
274 int STORE_modify_public_key(STORE *e, OPENSSL_ITEM search_attributes[],
277 int STORE_revoke_public_key(STORE *e, OPENSSL_ITEM attributes[],
279 int STORE_delete_public_key(STORE *e, OPENSSL_ITEM attributes[],
281 void *STORE_list_public_key_start(STORE *e, OPENSSL_ITEM attributes[],
283 EVP_PKEY *STORE_list_public_key_next(STORE *e, void *handle);
284 int STORE_list_public_key_end(STORE *e, void *handle);
285 int STORE_list_public_key_endp(STORE *e, void *handle);
286 X509_CRL *STORE_generate_crl(STORE *e, OPENSSL_ITEM attributes[],
288 X509_CRL *STORE_get_crl(STORE *e, OPENSSL_ITEM attributes[],
290 int STORE_store_crl(STORE *e, X509_CRL *data, OPENSSL_ITEM attributes[],
292 int STORE_modify_crl(STORE *e, OPENSSL_ITEM search_attributes[],
295 int STORE_delete_crl(STORE *e, OPENSSL_ITEM attributes[],
297 void *STORE_list_crl_start(STORE *e, OPENSSL_ITEM attributes[],
299 X509_CRL *STORE_list_crl_next(STORE *e, void *handle);
300 int STORE_list_crl_end(STORE *e, void *handle);
301 int STORE_list_crl_endp(STORE *e, void *handle);
302 int STORE_store_number(STORE *e, BIGNUM *data, OPENSSL_ITEM attributes[],
304 int STORE_modify_number(STORE *e, OPENSSL_ITEM search_attributes[],
307 BIGNUM *STORE_get_number(STORE *e, OPENSSL_ITEM attributes[],
309 int STORE_delete_number(STORE *e, OPENSSL_ITEM attributes[],
311 int STORE_store_arbitrary(STORE *e, BUF_MEM *data, OPENSSL_ITEM attributes[],
313 int STORE_modify_arbitrary(STORE *e, OPENSSL_ITEM search_attributes[],
316 BUF_MEM *STORE_get_arbitrary(STORE *e, OPENSSL_ITEM attributes[],
318 int STORE_delete_arbitrary(STORE *e, OPENSSL_ITEM attributes[],
326 /* These callback types are use for store handlers */
327 typedef int (*STORE_INITIALISE_FUNC_PTR)(STORE *);
328 typedef void (*STORE_CLEANUP_FUNC_PTR)(STORE *);
329 typedef STORE_OBJECT *(*STORE_GENERATE_OBJECT_FUNC_PTR)(STORE *, STORE_OBJECT_TYPES type, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[]);
330 typedef STORE_OBJECT *(*STORE_GET_OBJECT_FUNC_PTR)(STORE *, STORE_OBJECT_TYPES type, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[]);
331 typedef void *(*STORE_START_OBJECT_FUNC_PTR)(STORE *, STORE_OBJECT_TYPES type, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[]);
332 typedef STORE_OBJECT *(*STORE_NEXT_OBJECT_FUNC_PTR)(STORE *, void *handle);
333 typedef int (*STORE_END_OBJECT_FUNC_PTR)(STORE *, void *handle);
334 typedef int (*STORE_HANDLE_OBJECT_FUNC_PTR)(STORE *, STORE_OBJECT_TYPES type, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[]);
335 typedef int (*STORE_STORE_OBJECT_FUNC_PTR)(STORE *, STORE_OBJECT_TYPES type, STORE_OBJECT *data, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[]);
336 typedef int (*STORE_MODIFY_OBJECT_FUNC_PTR)(STORE *, STORE_OBJECT_TYPES type, OPENSSL_ITEM search_attributes[], OPENSSL_ITEM add_attributes[], OPENSSL_ITEM modify_attributes[], OPENSSL_ITEM delete_attributes[], OPENSSL_ITEM parameters[]);
337 typedef int (*STORE_GENERIC_FUNC_PTR)(STORE *, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[]);
338 typedef int (*STORE_CTRL_FUNC_PTR)(STORE *, int cmd, long l, void *p, void (*f)(void));
434 /* Error codes for the STORE functions. */