Home
last modified time | relevance | path

Searched refs:X509_REQ (Results 1 – 25 of 67) sorted by relevance

123

/third_party/openssl/crypto/x509/
Dx_req.c51 X509_REQ *ret = (X509_REQ *)*pval; in req_cb()
67 X509_REQ *old = exarg; in req_cb()
121 ASN1_SEQUENCE_ref(X509_REQ, req_cb) = {
122 ASN1_EMBED(X509_REQ, req_info, X509_REQ_INFO),
123 ASN1_EMBED(X509_REQ, sig_alg, X509_ALGOR),
124 ASN1_SIMPLE(X509_REQ, signature, ASN1_BIT_STRING)
125 } ASN1_SEQUENCE_END_ref(X509_REQ, X509_REQ)
127 IMPLEMENT_ASN1_FUNCTIONS(X509_REQ)
129 IMPLEMENT_ASN1_DUP_FUNCTION(X509_REQ)
131 void X509_REQ_set0_distinguishing_id(X509_REQ *x, ASN1_OCTET_STRING *d_id)
[all …]
Dx509_req.c22 X509_REQ *X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_to_X509_REQ()
24 X509_REQ *ret; in X509_to_X509_REQ()
63 EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req) in X509_REQ_get_pubkey()
70 EVP_PKEY *X509_REQ_get0_pubkey(X509_REQ *req) in X509_REQ_get0_pubkey()
77 X509_PUBKEY *X509_REQ_get_X509_PUBKEY(X509_REQ *req) in X509_REQ_get_X509_PUBKEY()
82 int X509_REQ_check_private_key(X509_REQ *x, EVP_PKEY *k) in X509_REQ_check_private_key()
139 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req) in STACK_OF()
170 int X509_REQ_add_extensions_nid(X509_REQ *req, in X509_REQ_add_extensions_nid()
188 int X509_REQ_add_extensions(X509_REQ *req, const STACK_OF(X509_EXTENSION) *exts) in X509_REQ_add_extensions()
195 int X509_REQ_get_attr_count(const X509_REQ *req) in X509_REQ_get_attr_count()
[all …]
Dx_all.c41 int X509_REQ_verify_ex(X509_REQ *a, EVP_PKEY *r, OSSL_LIB_CTX *libctx, in X509_REQ_verify_ex()
49 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r) in X509_REQ_verify()
112 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_REQ_sign()
124 int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx) in X509_REQ_sign_ctx()
264 X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req) in d2i_X509_REQ_fp()
266 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_REQ), fp, req); in d2i_X509_REQ_fp()
269 int i2d_X509_REQ_fp(FILE *fp, const X509_REQ *req) in i2d_X509_REQ_fp()
271 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_REQ), fp, req); in i2d_X509_REQ_fp()
275 X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req) in d2i_X509_REQ_bio()
285 return ASN1_item_d2i_bio_ex(ASN1_ITEM_rptr(X509_REQ), bp, req, libctx, propq); in d2i_X509_REQ_bio()
[all …]
Dx509rset.c18 int X509_REQ_set_version(X509_REQ *x, long version) in X509_REQ_set_version()
26 int X509_REQ_set_subject_name(X509_REQ *x, const X509_NAME *name) in X509_REQ_set_subject_name()
34 int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey) in X509_REQ_set_pubkey()
Dt_req.c21 int X509_REQ_print_fp(FILE *fp, X509_REQ *x) in X509_REQ_print_fp()
37 int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags, in X509_REQ_print_ex()
211 int X509_REQ_print(BIO *bp, X509_REQ *x) in X509_REQ_print()
Dx509_r2x.c20 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) in X509_REQ_to_X509()
Dv3_conf.c368 X509_REQ *req) in X509V3_EXT_REQ_add_nconf()
446 void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subj, X509_REQ *req, in X509V3_set_ctx()
572 const char *section, X509_REQ *req) in X509V3_EXT_REQ_add_conf()
/third_party/openssl/ohos_lite/include/openssl/
Dx509.h93 typedef struct X509_req_st X509_REQ; typedef
352 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r);
372 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md);
373 int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx);
387 int X509_REQ_digest(const X509_REQ *data, const EVP_MD *type,
397 X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req);
398 int i2d_X509_REQ_fp(FILE *fp, X509_REQ *req);
435 X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req);
436 int i2d_X509_REQ_bio(BIO *bp, X509_REQ *req);
473 X509_REQ *X509_REQ_dup(X509_REQ *req);
[all …]
Dx509v3.h85 X509_REQ *subject_req;
572 X509_REQ *req);
584 const char *section, X509_REQ *req);
601 X509_REQ *req, X509_CRL *crl, int flags);
682 STACK_OF(OPENSSL_STRING) *X509_REQ_get1_email(X509_REQ *x);
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dx509.rs100 pub enum X509_REQ {}
103 pub struct X509_REQ {
151 pub fn X509_REQ_sign(x: *mut X509_REQ, pkey: *mut EVP_PKEY, md: *const EVP_MD) -> c_int; in X509_REQ_sign() argument
157 pub fn i2d_X509_REQ_bio(b: *mut BIO, x: #[const_ptr_if(ossl300)] X509_REQ) -> c_int;
201 pub fn X509_to_X509_REQ(x: *mut X509, pkey: *mut EVP_PKEY, md: *const EVP_MD) -> *mut X509_REQ; in X509_to_X509_REQ() argument
245 pub fn X509_REQ_new() -> *mut X509_REQ; in X509_REQ_new()
246 pub fn X509_REQ_free(x: *mut X509_REQ); in X509_REQ_free() argument
248 a: *mut *mut X509_REQ, in d2i_X509_REQ() argument
251 ) -> *mut X509_REQ; in d2i_X509_REQ() argument
255 pub fn i2d_X509_REQ(x: #[const_ptr_if(ossl300)] X509_REQ, buf: *mut *mut u8) -> c_int;
[all …]
Dpem.rs16 … pub fn PEM_write_bio_X509_REQ(bio: *mut BIO, x509: #[const_ptr_if(ossl300)] X509_REQ) -> c_int;
89 out: *mut *mut X509_REQ, in PEM_read_bio_X509_REQ() argument
92 ) -> *mut X509_REQ; in PEM_read_bio_X509_REQ() argument
/third_party/openssl/include/openssl/
Dx509.h.in110 typedef struct X509_req_st X509_REQ; typedef
320 int X509_REQ_verify_ex(X509_REQ *a, EVP_PKEY *r, OSSL_LIB_CTX *libctx,
322 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r);
339 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md);
340 int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx);
353 int X509_REQ_digest(const X509_REQ *data, const EVP_MD *type,
373 X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req);
374 int i2d_X509_REQ_fp(FILE *fp, const X509_REQ *req);
419 X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req);
420 int i2d_X509_REQ_bio(BIO *bp, const X509_REQ *req);
[all …]
/third_party/openssl/crypto/pem/
Dpem_all.c37 IMPLEMENT_PEM_rw(X509_REQ, X509_REQ, PEM_STRING_X509_REQ, X509_REQ) in IMPLEMENT_PEM_rw() argument
39 IMPLEMENT_PEM_write(X509_REQ_NEW, X509_REQ, PEM_STRING_X509_REQ_OLD, X509_REQ) in IMPLEMENT_PEM_rw()
/third_party/openssl/doc/man3/
DX509_get_pubkey.pod19 EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req);
20 EVP_PKEY *X509_REQ_get0_pubkey(X509_REQ *req);
21 int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);
22 X509_PUBKEY *X509_REQ_get_X509_PUBKEY(X509_REQ *x);
DX509_get0_distinguishing_id.pod15 ASN1_OCTET_STRING *X509_REQ_get0_distinguishing_id(X509_REQ *x);
16 void X509_REQ_set0_distinguishing_id(X509_REQ *x, ASN1_OCTET_STRING *distid);
52 X509_set0_distinguishing_id() except that they deal with B<X509_REQ>
DX509_get0_signature.pod17 void X509_REQ_set0_signature(X509_REQ *req, ASN1_BIT_STRING *psig);
18 int X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg);
22 void X509_REQ_get0_signature(const X509_REQ *crl,
25 int X509_REQ_get_signature_nid(const X509_REQ *crl);
DPEM_read_bio_PrivateKey.pod116 X509_REQ *PEM_read_bio_X509_REQ(BIO *bp, X509_REQ **x,
118 X509_REQ *PEM_read_X509_REQ(FILE *fp, X509_REQ **x,
120 int PEM_write_bio_X509_REQ(BIO *bp, X509_REQ *x);
121 int PEM_write_X509_REQ(FILE *fp, X509_REQ *x);
122 int PEM_write_bio_X509_REQ_NEW(BIO *bp, X509_REQ *x);
123 int PEM_write_X509_REQ_NEW(FILE *fp, X509_REQ *x);
212 and a property query string I<propq>. The B<X509>, B<X509_REQ> and B<X509_CRL>
217 B<X509_REQ> or B<X509_CRL> object using L<X509_new_ex(3)>, L<X509_REQ_new_ex(3)>
293 The B<X509_REQ> and B<X509_REQ_NEW> functions process a PKCS#10
294 certificate request using an X509_REQ structure. The B<X509_REQ>
[all …]
DX509_check_private_key.pod15 int X509_REQ_check_private_key(X509_REQ *x, EVP_PKEY *k);
23 except that B<x> represents a certificate request of structure B<X509_REQ>.
DX509_verify.pod17 int X509_REQ_verify_ex(X509_REQ *a, EVP_PKEY *pkey, OSSL_LIB_CTX *libctx,
19 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r);
DX509_get_version.pod16 long X509_REQ_get_version(const X509_REQ *req);
17 int X509_REQ_set_version(X509_REQ *x, long version);
DX509_sign.pod17 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md);
18 int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx);
DX509_get_subject_name.pod27 X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req);
28 int X509_REQ_set_subject_name(X509_REQ *req, const X509_NAME *name);
/third_party/openssl/apps/include/
Dapps.h109 int copy_extensions(X509 *x, X509_REQ *req, int copy_type);
113 X509_REQ *load_csr(const char *file, int format, const char *desc);
251 int x509_req_ctrl_string(X509_REQ *x, const char *value);
258 int do_X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const char *md,
260 int do_X509_REQ_verify(X509_REQ *x, EVP_PKEY *pkey,
/third_party/openssl/test/testutil/
Dload.c92 X509_REQ *load_csr_der(const char *file, OSSL_LIB_CTX *libctx) in load_csr_der()
94 X509_REQ *csr = NULL; in load_csr_der()
/third_party/openssl/apps/
Dreq.c50 static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, X509_NAME *fsubj,
52 static int prompt_info(X509_REQ *req,
56 static int auto_info(X509_REQ *req, STACK_OF(CONF_VALUE) *sk,
59 static int add_attribute_object(X509_REQ *req, char *text, const char *def,
244 X509_REQ *req = NULL; in req_main()
1064 static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, X509_NAME *fsubj, in make_REQ()
1122 static int prompt_info(X509_REQ *req, in prompt_info()
1289 static int auto_info(X509_REQ *req, STACK_OF(CONF_VALUE) *dn_sk, in auto_info()
1376 static int add_attribute_object(X509_REQ *req, char *text, const char *def, in add_attribute_object()

123