Home
last modified time | relevance | path

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

123

/openssl/crypto/x509/
H A 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)
165 X509_REQ *req = NULL; in X509_REQ_new_ex()
[all …]
H A Dx509_req.c24 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(const 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()
165 int X509_REQ_add_extensions_nid(X509_REQ *req, in X509_REQ_add_extensions_nid()
215 int X509_REQ_get_attr_count(const X509_REQ *req) in X509_REQ_get_attr_count()
262 int X509_REQ_add1_attr_by_OBJ(X509_REQ *req, in X509_REQ_add1_attr_by_OBJ()
277 int X509_REQ_add1_attr_by_NID(X509_REQ *req, in X509_REQ_add1_attr_by_NID()
292 int X509_REQ_add1_attr_by_txt(X509_REQ *req, in X509_REQ_add1_attr_by_txt()
307 long X509_REQ_get_version(const X509_REQ *req) in X509_REQ_get_version()
[all …]
H A Dx509rset.c18 int X509_REQ_set_version(X509_REQ *x, long version) in X509_REQ_set_version()
28 int X509_REQ_set_subject_name(X509_REQ *x, const X509_NAME *name) in X509_REQ_set_subject_name()
36 int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey) in X509_REQ_set_pubkey()
H A Dx_all.c56 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r) in X509_REQ_verify()
141 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_REQ_sign()
153 int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx) in X509_REQ_sign_ctx()
308 X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req) in d2i_X509_REQ_fp()
310 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_REQ), fp, req); in d2i_X509_REQ_fp()
313 int i2d_X509_REQ_fp(FILE *fp, const X509_REQ *req) in i2d_X509_REQ_fp()
315 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_REQ), fp, req); in i2d_X509_REQ_fp()
319 X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req) in d2i_X509_REQ_bio()
333 int i2d_X509_REQ_bio(BIO *bp, const X509_REQ *req) in i2d_X509_REQ_bio()
335 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(X509_REQ), bp, req); in i2d_X509_REQ_bio()
[all …]
H A 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()
H A Dx509_r2x.c20 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) in X509_REQ_to_X509()
/openssl/doc/man3/
H A DX509_REQ_get_attr.pod16 int X509_REQ_get_attr_count(const X509_REQ *req);
17 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos);
18 int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, const ASN1_OBJECT *obj,
20 X509_ATTRIBUTE *X509_REQ_get_attr(const X509_REQ *req, int loc);
21 X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req, int loc);
22 int X509_REQ_add1_attr(X509_REQ *req, X509_ATTRIBUTE *attr);
23 int X509_REQ_add1_attr_by_OBJ(X509_REQ *req,
26 int X509_REQ_add1_attr_by_NID(X509_REQ *req,
29 int X509_REQ_add1_attr_by_txt(X509_REQ *req,
H A 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);
H A DX509_REQ_get_extensions.pod13 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(const X509_REQ *req);
14 int X509_REQ_add_extensions(X509_REQ *req, const STACK_OF(X509_EXTENSION) *exts);
15 int X509_REQ_add_extensions_nid(X509_REQ *req,
H A 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>
H A DX509_get0_signature.pod19 void X509_REQ_set0_signature(X509_REQ *req, ASN1_BIT_STRING *psig);
20 int X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg);
24 void X509_REQ_get0_signature(const X509_REQ *crl,
27 int X509_REQ_get_signature_nid(const X509_REQ *crl);
H A DX509_check_private_key.pod15 int X509_REQ_check_private_key(X509_REQ *req, EVP_PKEY *pkey);
23 except that I<req> represents a certificate request of structure B<X509_REQ>.
H A DPEM_read_bio_PrivateKey.pod125 X509_REQ *PEM_read_bio_X509_REQ(BIO *bp, X509_REQ **x,
127 X509_REQ *PEM_read_X509_REQ(FILE *fp, X509_REQ **x,
129 int PEM_write_bio_X509_REQ(BIO *bp, X509_REQ *x);
130 int PEM_write_X509_REQ(FILE *fp, X509_REQ *x);
131 int PEM_write_bio_X509_REQ_NEW(BIO *bp, X509_REQ *x);
132 int PEM_write_X509_REQ_NEW(FILE *fp, X509_REQ *x);
221 and a property query string I<propq>. The B<X509>, B<X509_REQ> and B<X509_CRL>
226 B<X509_REQ> or B<X509_CRL> object using L<X509_new_ex(3)>, L<X509_REQ_new_ex(3)>
305 The B<X509_REQ> and B<X509_REQ_NEW> functions process a PKCS#10
306 certificate request using an X509_REQ structure. The B<X509_REQ>
[all …]
H A DX509_get_version.pod17 long X509_REQ_get_version(const X509_REQ *req);
18 int X509_REQ_set_version(X509_REQ *x, long version);
H A 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);
H A DX509_sign.pod18 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md);
19 int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx);
H A DX509_get_subject_name.pod28 X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req);
29 int X509_REQ_set_subject_name(X509_REQ *req, const X509_NAME *name);
/openssl/include/openssl/
H A Dx509.h.in121 typedef struct X509_req_st X509_REQ; typedef
338 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r);
389 X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req);
437 X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req);
488 DECLARE_ASN1_DUP_FUNCTION(X509_REQ)
556 DECLARE_ASN1_FUNCTIONS(X509_REQ)
712 EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req);
729 int X509_REQ_add1_attr_by_OBJ(X509_REQ *req,
732 int X509_REQ_add1_attr_by_NID(X509_REQ *req,
735 int X509_REQ_add1_attr_by_txt(X509_REQ *req,
[all …]
/openssl/crypto/pem/
H A 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()
/openssl/apps/include/
H A Dapps.h117 int copy_extensions(X509 *x, X509_REQ *req, int copy_type);
121 X509_REQ *load_csr(const char *file, int format, const char *desc);
122 X509_REQ *load_csr_autofmt(const char *infile, int format,
259 int x509_req_ctrl_string(X509_REQ *x, const char *value);
267 int do_X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const char *md,
269 int do_X509_REQ_verify(X509_REQ *x, EVP_PKEY *pkey,
/openssl/test/testutil/
H A 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()
/openssl/test/
H A Dx509_req_test.c29 X509_REQ *req = NULL; in test_x509_req_detect_invalid_version()
H A Dx509_check_cert_pkey_test.c32 X509_REQ *x509_req = NULL; in test_x509_check_cert_pkey()
/openssl/apps/
H A Dreq.c51 static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, X509_NAME *fsubj,
53 static int prompt_info(X509_REQ *req,
57 static int auto_info(X509_REQ *req, STACK_OF(CONF_VALUE) *sk,
60 static int add_attribute_object(X509_REQ *req, char *text, const char *def,
254 X509_REQ *req = NULL; in req_main()
1076 static int make_REQ(X509_REQ *req, EVP_PKEY *pkey, X509_NAME *fsubj, in make_REQ()
1128 static int prompt_info(X509_REQ *req, in prompt_info()
1277 static int auto_info(X509_REQ *req, STACK_OF(CONF_VALUE) *dn_sk, in auto_info()
1364 static int add_attribute_object(X509_REQ *req, char *text, const char *def, in add_attribute_object()
/openssl/apps/lib/
H A Dapp_x509.c134 int x509_req_ctrl_string(X509_REQ *x, const char *value) in x509_req_ctrl_string()

Completed in 47 milliseconds

123