Home
last modified time | relevance | path

Searched refs:X509_REQ (Results 1 – 25 of 49) 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)
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()
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 …]
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/boringssl/src/crypto/x509/
Dx_req.c101 ASN1_SEQUENCE_ref(X509_REQ, 0) = {
102 ASN1_SIMPLE(X509_REQ, req_info, X509_REQ_INFO),
103 ASN1_SIMPLE(X509_REQ, sig_alg, X509_ALGOR),
104 ASN1_SIMPLE(X509_REQ, signature, ASN1_BIT_STRING)
105 } ASN1_SEQUENCE_END_ref(X509_REQ, X509_REQ)
107 IMPLEMENT_ASN1_FUNCTIONS(X509_REQ)
109 IMPLEMENT_ASN1_DUP_FUNCTION(X509_REQ)
Dx509_req.c69 X509_REQ *X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_to_X509_REQ()
71 X509_REQ *ret; in X509_to_X509_REQ()
111 EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req) in X509_REQ_get_pubkey()
118 int X509_REQ_check_private_key(X509_REQ *x, EVP_PKEY *k) in X509_REQ_check_private_key()
183 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req) in STACK_OF()
217 int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts, in X509_REQ_add_extensions_nid()
254 int X509_REQ_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts) in X509_REQ_add_extensions()
261 int X509_REQ_get_attr_count(const X509_REQ *req) in X509_REQ_get_attr_count()
266 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos) in X509_REQ_get_attr_by_NID()
271 int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, ASN1_OBJECT *obj, in X509_REQ_get_attr_by_OBJ()
[all …]
Dx_all.c80 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r) in X509_REQ_verify()
101 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_REQ_sign()
107 int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx) in X509_REQ_sign_ctx()
186 X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req) in d2i_X509_REQ_fp()
188 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_REQ), fp, req); in d2i_X509_REQ_fp()
191 int i2d_X509_REQ_fp(FILE *fp, X509_REQ *req) in i2d_X509_REQ_fp()
193 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_REQ), fp, req); in i2d_X509_REQ_fp()
197 X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req) in d2i_X509_REQ_bio()
199 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509_REQ), bp, req); in d2i_X509_REQ_bio()
202 int i2d_X509_REQ_bio(BIO *bp, X509_REQ *req) in i2d_X509_REQ_bio()
[all …]
Dx509rset.c62 int X509_REQ_set_version(X509_REQ *x, long version) in X509_REQ_set_version()
69 int X509_REQ_set_subject_name(X509_REQ *x, X509_NAME *name) in X509_REQ_set_subject_name()
76 int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey) in X509_REQ_set_pubkey()
Dt_req.c67 int X509_REQ_print_fp(FILE *fp, X509_REQ *x) { in X509_REQ_print_fp()
78 int X509_REQ_print_ex(BIO *bio, X509_REQ *x, unsigned long nmflags, in X509_REQ_print_ex()
242 int X509_REQ_print(BIO *bio, X509_REQ *req) { in X509_REQ_print()
Dx509_r2x.c66 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 …]
/third_party/boringssl/src/include/openssl/
Dx509.h568 OPENSSL_EXPORT int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r);
585 OPENSSL_EXPORT int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md);
586 OPENSSL_EXPORT int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx);
597 OPENSSL_EXPORT int X509_REQ_digest(const X509_REQ *data,const EVP_MD *type,
614 OPENSSL_EXPORT X509_REQ *d2i_X509_REQ_fp(FILE *fp,X509_REQ **req);
615 OPENSSL_EXPORT int i2d_X509_REQ_fp(FILE *fp,X509_REQ *req);
648 OPENSSL_EXPORT X509_REQ *d2i_X509_REQ_bio(BIO *bp,X509_REQ **req);
649 OPENSSL_EXPORT int i2d_X509_REQ_bio(BIO *bp,X509_REQ *req);
684 OPENSSL_EXPORT X509_REQ *X509_REQ_dup(X509_REQ *req);
713 OPENSSL_EXPORT X509_REQ * X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
[all …]
/third_party/boringssl/src/crypto/pem/
Dpem_all.c124 IMPLEMENT_PEM_rw(X509_REQ, X509_REQ, PEM_STRING_X509_REQ, X509_REQ) in IMPLEMENT_PEM_rw() argument
126 IMPLEMENT_PEM_write(X509_REQ_NEW, X509_REQ, PEM_STRING_X509_REQ_OLD, X509_REQ) in IMPLEMENT_PEM_rw()
/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);
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>.
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_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);
/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 …]
/third_party/openssl/test/
Dx509_check_cert_pkey_test.c32 X509_REQ *x509_req = NULL; in test_x509_check_cert_pkey()

12