Home
last modified time | relevance | path

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

12

/third_party/openssl/crypto/x509/
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()
153 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req) in STACK_OF()
183 int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts, in X509_REQ_add_extensions_nid()
200 int X509_REQ_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts) in X509_REQ_add_extensions()
207 int X509_REQ_get_attr_count(const X509_REQ *req) in X509_REQ_get_attr_count()
[all …]
Dx_req.c60 ASN1_SEQUENCE_ref(X509_REQ, 0) = {
61 ASN1_EMBED(X509_REQ, req_info, X509_REQ_INFO),
62 ASN1_EMBED(X509_REQ, sig_alg, X509_ALGOR),
63 ASN1_SIMPLE(X509_REQ, signature, ASN1_BIT_STRING)
64 } ASN1_SEQUENCE_END_ref(X509_REQ, X509_REQ)
66 IMPLEMENT_ASN1_FUNCTIONS(X509_REQ)
68 IMPLEMENT_ASN1_DUP_FUNCTION(X509_REQ)
Dx_all.c30 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r) in X509_REQ_verify()
66 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_REQ_sign()
72 int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx) in X509_REQ_sign_ctx()
176 X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req) in d2i_X509_REQ_fp()
178 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_REQ), fp, req); in d2i_X509_REQ_fp()
181 int i2d_X509_REQ_fp(FILE *fp, X509_REQ *req) in i2d_X509_REQ_fp()
183 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_REQ), fp, req); in i2d_X509_REQ_fp()
187 X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req) in d2i_X509_REQ_bio()
189 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509_REQ), bp, req); in d2i_X509_REQ_bio()
192 int i2d_X509_REQ_bio(BIO *bp, X509_REQ *req) in i2d_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, 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()
/third_party/openssl/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);
Dpem.h292 DECLARE_PEM_rw(X509_REQ, X509_REQ)
293 DECLARE_PEM_write(X509_REQ_NEW, X509_REQ)
/third_party/openssl/crypto/pem/
Dpem_all.c32 IMPLEMENT_PEM_rw(X509_REQ, X509_REQ, PEM_STRING_X509_REQ, X509_REQ) in IMPLEMENT_PEM_rw() argument
34 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_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);
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);
19 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r);
DPEM_read_bio_PrivateKey.pod137 X509_REQ *PEM_read_bio_X509_REQ(BIO *bp, X509_REQ **x,
139 X509_REQ *PEM_read_X509_REQ(FILE *fp, X509_REQ **x,
141 int PEM_write_bio_X509_REQ(BIO *bp, X509_REQ *x);
142 int PEM_write_X509_REQ(FILE *fp, X509_REQ *x);
143 int PEM_write_bio_X509_REQ_NEW(BIO *bp, X509_REQ *x);
144 int PEM_write_X509_REQ_NEW(FILE *fp, X509_REQ *x);
244 The B<X509_REQ> and B<X509_REQ_NEW> functions process a PKCS#10
245 certificate request using an X509_REQ structure. The B<X509_REQ>
248 (as required by some CAs). The B<X509_REQ> read functions will
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_get_subject_name.pod20 X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req);
21 int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name);
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_digest.pod25 int X509_REQ_digest(const X509_REQ *data, const EVP_MD *type,
/third_party/openssl/apps/
Dreq.c50 static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, char *dn, int mutlirdn,
52 static int build_subject(X509_REQ *req, const char *subj, unsigned long chtype,
54 static int prompt_info(X509_REQ *req,
58 static int auto_info(X509_REQ *req, STACK_OF(CONF_VALUE) *sk,
61 static int add_attribute_object(X509_REQ *req, char *text, const char *def,
225 X509_REQ *req = NULL; in req_main()
989 static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, char *subj, int multirdn, in make_REQ()
1053 static int build_subject(X509_REQ *req, const char *subject, unsigned long chtype, in build_subject()
1069 static int prompt_info(X509_REQ *req, in prompt_info()
1239 static int auto_info(X509_REQ *req, STACK_OF(CONF_VALUE) *dn_sk, in auto_info()
[all …]
Dapps.h458 int copy_extensions(X509 *x, X509_REQ *req, int copy_type);
556 int do_X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md,
/third_party/openssl/test/
Dx509_check_cert_pkey_test.c32 X509_REQ *x509_req = NULL; in test_x509_check_cert_pkey()
/third_party/openssl/crypto/x509v3/
Dv3_conf.c354 X509_REQ *req) in X509V3_EXT_REQ_add_nconf()
432 void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subj, X509_REQ *req, in X509V3_set_ctx()
506 const char *section, X509_REQ *req) in X509V3_EXT_REQ_add_conf()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_openssl.c3087 X509_REQ *csr; in crypto_csr_verify()
3095 pkey = X509_REQ_get_pubkey((X509_REQ *)csr); in crypto_csr_verify()
3099 if (X509_REQ_verify((X509_REQ *)csr, pkey) != 1) in crypto_csr_verify()
3111 X509_REQ_free((X509_REQ *)csr); in crypto_csr_deinit()
3117 if (!X509_REQ_set_pubkey((X509_REQ *)csr, (EVP_PKEY *)key)) in crypto_csr_set_ec_public_key()
3150 n = X509_REQ_get_subject_name((X509_REQ *) csr); in crypto_csr_set_name()
3183 if (!X509_REQ_add1_attr_by_NID((X509_REQ *) csr, nid, attr_type, value, in crypto_csr_set_attribute()
3209 loc = X509_REQ_get_attr_by_NID((X509_REQ *) csr, nid, -1); in crypto_csr_get_attribute()
3213 attrib = X509_REQ_get_attr((X509_REQ *) csr, loc); in crypto_csr_get_attribute()
3252 if (!X509_REQ_sign((X509_REQ *) csr, (EVP_PKEY *) key, sign_md)) in crypto_csr_sign()
[all …]
/third_party/openssl/crypto/asn1/
Dasn1_item_list.h162 ASN1_ITEM_ref(X509_REQ),
/third_party/openssl/doc/man7/
Dx509.pod23 X509_REQ is used to express such a certificate request.

12