Home
last modified time | relevance | path

Searched refs:uri (Results 1 – 25 of 50) sorted by relevance

12

/openssl/providers/implementations/storemgmt/
H A Dfile_store.c67 char *uri; /* The URI we currently try to load */ member
114 OPENSSL_free(ctx->uri); in free_file_ctx()
123 static struct file_ctx_st *new_file_ctx(int type, const char *uri, in new_file_ctx() argument
129 && (uri == NULL || (ctx->uri = OPENSSL_strdup(uri)) != NULL)) { in new_file_ctx()
156 if ((ctx = new_file_ctx(IS_FILE, uri, provctx)) == NULL) { in file_open_stream()
173 if ((ctx = new_file_ctx(IS_DIR, uri, provctx)) == NULL) { in file_open_dir()
194 static void *file_open(void *provctx, const char *uri) in file_open() argument
203 const char *path, *p = uri, *q; in file_open()
212 path_data[path_data_n++].path = uri; in file_open()
280 ctx = file_open_dir(path, uri, provctx); in file_open()
[all …]
H A Dwinstore_store.c80 static void *winstore_open(void *provctx, const char *uri) in winstore_open() argument
84 if (!HAS_CASE_PREFIX(uri, "org.openssl.winstore:")) in winstore_open()
/openssl/test/
H A Dossl_store_test.c72 static int get_params(const char *uri, const char *type) in get_params() argument
79 ctx = OSSL_STORE_open_ex(uri, NULL, NULL, NULL, NULL, NULL, NULL, NULL); in get_params()
106 char uri[PATH_MAX]; in test_store_get_params() local
142 if (!TEST_true(BIO_snprintf(uri, sizeof(uri), urifmt, datadir, type))) in test_store_get_params()
145 TEST_info("Testing uri: %s", uri); in test_store_get_params()
146 if (!TEST_true(get_params(uri, type))) in test_store_get_params()
H A Dfake_rsaprov.c540 static void *fake_rsa_st_open_ex(void *provctx, const char *uri, in fake_rsa_st_open_ex() argument
548 if (strncmp(uri, fake_rsa_scheme, sizeof(fake_rsa_scheme) - 1) != 0) in fake_rsa_st_open_ex()
551 if (strncmp(uri, fake_rsa_openpwtest, in fake_rsa_st_open_ex()
586 static void *fake_rsa_st_open(void *provctx, const char *uri) in fake_rsa_st_open() argument
590 storectx = fake_rsa_st_open_ex(provctx, uri, NULL, NULL, NULL); in fake_rsa_st_open()
665 static int fake_rsa_st_delete(void *loaderctx, const char *uri, in fake_rsa_st_delete() argument
/openssl/crypto/x509/
H A Dx509_d2.c81 int X509_STORE_load_store_ex(X509_STORE *ctx, const char *uri, in X509_STORE_load_store_ex() argument
86 if (uri == NULL in X509_STORE_load_store_ex()
88 || X509_LOOKUP_add_store_ex(lookup, uri, libctx, propq) == 0) in X509_STORE_load_store_ex()
94 int X509_STORE_load_store(X509_STORE *ctx, const char *uri) in X509_STORE_load_store() argument
96 return X509_STORE_load_store_ex(ctx, uri, NULL, NULL); in X509_STORE_load_store()
H A Dv3_ncons.c43 static int nc_uri(ASN1_IA5STRING *uri, ASN1_IA5STRING *base);
782 static int nc_uri(ASN1_IA5STRING *uri, ASN1_IA5STRING *base) in nc_uri() argument
785 const char *hostptr = (char *)uri->data; in nc_uri()
786 const char *p = ia5memchr(uri, (char *)uri->data, ':'); in nc_uri()
791 || IA5_OFFSET_LEN(uri, p) < 3 in nc_uri()
801 p = ia5memchr(uri, hostptr, ':'); in nc_uri()
804 p = ia5memchr(uri, hostptr, '/'); in nc_uri()
807 hostlen = IA5_OFFSET_LEN(uri, hostptr); in nc_uri()
H A Dby_store.c16 static int cache_objects(X509_LOOKUP *lctx, const char *uri, in cache_objects() argument
24 if ((ctx = OSSL_STORE_open_ex(uri, libctx, propq, NULL, NULL, NULL, in cache_objects()
/openssl/apps/include/
H A Dapps.h124 X509 *load_cert_pass(const char *uri, int format, int maybe_stdin,
126 # define load_cert(uri, format, desc) load_cert_pass(uri, format, 1, NULL, desc) argument
127 X509_CRL *load_crl(const char *uri, int format, int maybe_stdin,
131 EVP_PKEY *load_key(const char *uri, int format, int maybe_stdin,
134 EVP_PKEY *load_pubkey(const char *uri, int format, int maybe_stdin,
136 EVP_PKEY *load_keyparams(const char *uri, int format, int maybe_stdin,
138 EVP_PKEY *load_keyparams_suppress(const char *uri, int format, int maybe_stdin,
142 int load_cert_certs(const char *uri,
150 int load_certs(const char *uri, int maybe_stdin, STACK_OF(X509) **certs,
152 int load_crls(const char *uri, STACK_OF(X509_CRL) **crls,
[all …]
/openssl/engines/
H A De_loader_attic.c329 "PKCS12 import", uri, in try_decode_PKCS12()
466 "PKCS8 decrypt pass phrase", uri, in try_decode_PKCS8Encrypted()
915 OPENSSL_free(ctx->uri); in OSSL_STORE_LOADER_CTX_free()
944 (const OSSL_STORE_LOADER *loader, const char *uri, in file_open_ex() argument
955 const char *path, *p = uri, *q; in file_open_ex()
961 path_data[path_data_n++].path = uri; in file_open_ex()
1027 ctx->uri = OPENSSL_strdup(uri); in file_open_ex()
1028 if (ctx->uri == NULL) in file_open_ex()
1061 (const OSSL_STORE_LOADER *loader, const char *uri, in file_open() argument
1297 const char *uri, int secure) in file_read_pem() argument
[all …]
H A De_loader_attic.txt21 ATTIC_R_URI_AUTHORITY_UNSUPPORTED:110:uri authority unsupported
/openssl/apps/lib/
H A Dapps.c481 #define IS_HTTP(uri) ((uri) != NULL && HAS_PREFIX(uri, OSSL_HTTP_PREFIX)) argument
482 #define IS_HTTPS(uri) ((uri) != NULL && HAS_PREFIX(uri, OSSL_HTTPS_PREFIX)) argument
491 if (IS_HTTPS(uri)) { in load_cert_pass()
513 if (IS_HTTPS(uri)) { in load_crl()
615 uri = allocated_uri = make_engine_uri(e, uri, desc); in load_key()
634 uri = allocated_uri = make_engine_uri(e, uri, desc); in load_pubkey()
955 uri != NULL ? uri : "<stdin>"); in load_key_certs_crls()
1010 if (uri == NULL) { in load_key_certs_crls()
1018 uri = "<stdin>"; in load_key_certs_crls()
1152 if (uri != NULL) in load_key_certs_crls()
[all …]
H A Dengine_loader.c66 const char *uri, in engine_open() argument
70 const char *p = uri, *q; in engine_open()
/openssl/include/openssl/
H A Dstore.h56 OSSL_STORE_open(const char *uri, const UI_METHOD *ui_method, void *ui_data,
60 OSSL_STORE_open_ex(const char *uri, OSSL_LIB_CTX *libctx, const char *propq,
105 int OSSL_STORE_delete(const char *uri, OSSL_LIB_CTX *libctx, const char *propq,
296 (const OSSL_STORE_LOADER *loader, const char *uri,
300 const char *uri, OSSL_LIB_CTX *libctx, const char *propq,
/openssl/doc/man1/
H A Dopenssl-verify.pod.in12 [B<-CRLfile> I<filename>|I<uri>]
16 [B<-trusted> I<filename>|I<uri>]
17 [B<-untrusted> I<filename>|I<uri>]
39 =item B<-CRLfile> I<filename>|I<uri>
59 =item B<-trusted> I<filename>|I<uri>
67 =item B<-untrusted> I<filename>|I<uri>
H A Dopenssl-spkac.pod.in19 [B<-key> I<filename>|I<uri>]
59 =item B<-key> I<filename>|I<uri>
61 Create an SPKAC file using the private key specified by I<filename> or I<uri>.
H A Dopenssl-cmp.pod.in27 [B<-newkey> I<filename>|I<uri>]
47 [B<-oldcert> I<filename>|I<uri>]
67 [B<-srvcert> I<filename>|I<uri>]
87 [B<-cert> I<filename>|I<uri>]
89 [B<-key> I<filename>|I<uri>]
111 [B<-tls_cert> I<filename>|I<uri>]
112 [B<-tls_key> I<filename>|I<uri>]
136 [B<-srv_cert> I<filename>|I<uri>]
137 [B<-srv_key> I<filename>|I<uri>]
141 [B<-ref_cert> I<filename>|I<uri>]
[all …]
H A Dopenssl-storeutl.pod.in31 I<uri>
82 Note that all options must be given before the I<uri> argument.
H A Dopenssl-x509.pod.in12 [B<-in> I<filename>|I<uri>]
20 [B<-key> I<filename>|I<uri>]
22 [B<-signkey> I<filename>|I<uri>]
71 [B<-CA> I<filename>|I<uri>]
73 [B<-CAkey> I<filename>|I<uri>]
111 =item B<-in> I<filename>|I<uri>
175 =item B<-key> I<filename>|I<uri>
191 =item B<-signkey> I<filename>|I<uri>
516 =item B<-CA> I<filename>|I<uri>
533 =item B<-CAkey> I<filename>|I<uri>
H A Dopenssl-s_server.pod.in27 [B<-key> I<filename>|I<uri>]
28 [B<-key2> I<filename>|I<uri>]
34 [B<-dkey> I<filename>|I<uri>]
63 [B<-chainCAstore> I<uri>]
66 [B<-verifyCAstore> I<uri>]
252 =item B<-key> I<filename>|I<uri>
257 =item B<-key2> I<filename>|I<uri>
272 =item B<-dcert> I<infile>, B<-dkey> I<filename>|I<uri>
363 =item B<-verifyCAstore> I<uri>
380 =item B<-chainCAstore> I<uri>
/openssl/crypto/store/
H A Dstore_lib.c63 OSSL_STORE_open_ex(const char *uri, OSSL_LIB_CTX *libctx, const char *propq, in OSSL_STORE_open_ex() argument
94 OPENSSL_strlcpy(scheme_copy, uri, sizeof(scheme_copy)); in OSSL_STORE_open_ex()
130 loader_ctx = loader->open_ex(loader, uri, libctx, propq, in OSSL_STORE_open_ex()
133 loader_ctx = loader->open(loader, uri, ui_method, ui_data); in OSSL_STORE_open_ex()
148 fetched_loader->p_open_ex(provctx, uri, params, in OSSL_STORE_open_ex()
187 OSSL_TRACE2(STORE, "Opened %s => %p\n", uri, (void *)loader_ctx); in OSSL_STORE_open_ex()
238 OSSL_STORE_CTX *OSSL_STORE_open(const char *uri, in OSSL_STORE_open() argument
243 return OSSL_STORE_open_ex(uri, NULL, NULL, ui_method, ui_data, NULL, in OSSL_STORE_open()
506 OPENSSL_strlcpy(scheme, uri, sizeof(scheme)); in OSSL_STORE_delete()
531 OSSL_TRACE1(STORE, "Performing URI delete %s\n", uri); in OSSL_STORE_delete()
[all …]
/openssl/doc/man3/
H A DOSSL_STORE_open.pod20 OSSL_STORE_CTX *OSSL_STORE_open(const char *uri, const UI_METHOD *ui_method,
25 OSSL_STORE_open_ex(const char *uri, OSSL_LIB_CTX *libctx, const char *propq,
33 int OSSL_STORE_delete(const char *uri, OSSL_LIB_CTX *libctx, const char *propq,
66 OSSL_STORE_open_ex() takes a uri or path I<uri>, password UI method
110 OSSL_STORE_delete() deletes the object identified by I<uri>.
H A DX509_LOOKUP.pod46 int X509_LOOKUP_add_store_ex(X509_LOOKUP *ctx, char *uri, OSSL_LIB_CTX *libctx,
48 int X509_LOOKUP_add_store(X509_LOOKUP *ctx, char *uri);
49 int X509_LOOKUP_load_store_ex(X509_LOOKUP *ctx, char *uri, OSSL_LIB_CTX *libctx,
51 int X509_LOOKUP_load_store(X509_LOOKUP *ctx, char *uri);
H A DOSSL_STORE_attach.pod21 I<bio> instead of a I<uri>, along with a I<scheme> to determine what loader
/openssl/apps/
H A Dstoreutl.c19 static int process(const char *uri, const UI_METHOD *uimeth, PW_CB_DATA *uidata,
346 static int process(const char *uri, const UI_METHOD *uimeth, PW_CB_DATA *uidata, in process() argument
354 if ((store_ctx = OSSL_STORE_open_ex(uri, libctx, app_get0_propq(), uimeth, uidata, in process()
357 BIO_printf(bio_err, "Couldn't open file or uri %s\n", uri); in process()
/openssl/doc/man7/
H A Dprovider-storemgmt.pod17 void *OSSL_FUNC_store_open(void *provctx, const char *uri);
30 void *OSSL_FUNC_store_open_ex(void *provctx, const char *uri,
35 int OSSL_FUNC_store_delete(void *provctx, const char *uri,
87 on the input I<uri>. The implementation is entirely responsible for the
127 OSSL_FUNC_store_delete() deletes the object identified by the I<uri>. The

Completed in 108 milliseconds

12