Lines Matching refs:X509_REQ

280 typedef struct X509_req_st X509_REQ;  typedef
514 int X509_REQ_verify_ex(X509_REQ *a, EVP_PKEY *r, OSSL_LIB_CTX *libctx,
516 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r);
533 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md);
534 int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx);
547 int X509_REQ_digest(const X509_REQ *data, const EVP_MD *type,
567 X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req);
568 int i2d_X509_REQ_fp(FILE *fp, const X509_REQ *req);
613 X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req);
614 int i2d_X509_REQ_bio(BIO *bp, const X509_REQ *req);
662 DECLARE_ASN1_DUP_FUNCTION(X509_REQ)
691 X509_REQ *X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
692 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey);
730 DECLARE_ASN1_FUNCTIONS(X509_REQ)
731 X509_REQ *X509_REQ_new_ex(OSSL_LIB_CTX *libctx, const char *propq);
772 void X509_REQ_set0_distinguishing_id(X509_REQ *x, ASN1_OCTET_STRING *d_id);
773 ASN1_OCTET_STRING *X509_REQ_get0_distinguishing_id(X509_REQ *x);
875 long X509_REQ_get_version(const X509_REQ *req);
876 int X509_REQ_set_version(X509_REQ *x, long version);
877 X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req);
878 int X509_REQ_set_subject_name(X509_REQ *req, const X509_NAME *name);
879 void X509_REQ_get0_signature(const X509_REQ *req, const ASN1_BIT_STRING **psig,
881 void X509_REQ_set0_signature(X509_REQ *req, ASN1_BIT_STRING *psig);
882 int X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg);
883 int X509_REQ_get_signature_nid(const X509_REQ *req);
884 int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp);
885 int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);
886 EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req);
887 EVP_PKEY *X509_REQ_get0_pubkey(X509_REQ *req);
888 X509_PUBKEY *X509_REQ_get_X509_PUBKEY(X509_REQ *req);
892 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req);
893 int X509_REQ_add_extensions_nid(X509_REQ *req,
895 int X509_REQ_add_extensions(X509_REQ *req, const STACK_OF(X509_EXTENSION) *ext);
896 int X509_REQ_get_attr_count(const X509_REQ *req);
897 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos);
898 int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, const ASN1_OBJECT *obj,
900 X509_ATTRIBUTE *X509_REQ_get_attr(const X509_REQ *req, int loc);
901 X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req, int loc);
902 int X509_REQ_add1_attr(X509_REQ *req, X509_ATTRIBUTE *attr);
903 int X509_REQ_add1_attr_by_OBJ(X509_REQ *req,
906 int X509_REQ_add1_attr_by_NID(X509_REQ *req,
909 int X509_REQ_add1_attr_by_txt(X509_REQ *req,
953 int X509_REQ_check_private_key(X509_REQ *x509, EVP_PKEY *pkey);
1003 int X509_REQ_print_fp(FILE *bp, X509_REQ *req);
1017 int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflag,
1019 int X509_REQ_print(BIO *bp, X509_REQ *req);