Lines Matching refs:X509
266 DECLARE_STACK_OF(X509)
267 DECLARE_ASN1_SET_OF(X509)
274 int (*check_trust)(struct x509_trust_st *, X509 *, int);
283 X509 *forward;
284 X509 *reverse;
465 X509 *x509;
499 STACK_OF(X509) *certs;
603 OPENSSL_EXPORT int X509_verify(X509 *a, EVP_PKEY *r);
619 OPENSSL_EXPORT int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
620 OPENSSL_EXPORT int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx);
627 OPENSSL_EXPORT int X509_pubkey_digest(const X509 *data,const EVP_MD *type,
629 OPENSSL_EXPORT int X509_digest(const X509 *data,const EVP_MD *type,
640 OPENSSL_EXPORT X509 *d2i_X509_fp(FILE *fp, X509 **x509);
641 OPENSSL_EXPORT int i2d_X509_fp(FILE *fp,X509 *x509);
674 OPENSSL_EXPORT X509 *d2i_X509_bio(BIO *bp,X509 **x509);
675 OPENSSL_EXPORT int i2d_X509_bio(BIO *bp,X509 *x509);
707 OPENSSL_EXPORT X509 *X509_dup(X509 *x509);
736 OPENSSL_EXPORT X509_REQ * X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
737 OPENSSL_EXPORT X509 * X509_REQ_to_X509(X509_REQ *r, int days,EVP_PKEY *pkey);
779 DECLARE_ASN1_FUNCTIONS(X509)
786 OPENSSL_EXPORT X509 *X509_up_ref(X509 *x);
790 OPENSSL_EXPORT int X509_set_ex_data(X509 *r, int idx, void *arg);
791 OPENSSL_EXPORT void *X509_get_ex_data(X509 *r, int idx);
792 OPENSSL_EXPORT int i2d_X509_AUX(X509 *a,unsigned char **pp);
793 OPENSSL_EXPORT X509 * d2i_X509_AUX(X509 **a,const unsigned char **pp,long length);
796 const X509 *x);
797 OPENSSL_EXPORT int X509_get_signature_nid(const X509 *x);
799 OPENSSL_EXPORT int X509_alias_set1(X509 *x, unsigned char *name, int len);
800 OPENSSL_EXPORT int X509_keyid_set1(X509 *x, unsigned char *id, int len);
801 OPENSSL_EXPORT unsigned char * X509_alias_get0(X509 *x, int *len);
802 OPENSSL_EXPORT unsigned char * X509_keyid_get0(X509 *x, int *len);
803 OPENSSL_EXPORT int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int);
805 OPENSSL_EXPORT int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj);
806 OPENSSL_EXPORT int X509_add1_reject_object(X509 *x, ASN1_OBJECT *obj);
807 OPENSSL_EXPORT void X509_trust_clear(X509 *x);
808 OPENSSL_EXPORT void X509_reject_clear(X509 *x);
817 OPENSSL_EXPORT int X509_CRL_get0_by_cert(X509_CRL *crl, X509_REVOKED **ret, X509 *x);
848 OPENSSL_EXPORT int X509_set_version(X509 *x,long version);
849 OPENSSL_EXPORT int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial);
850 OPENSSL_EXPORT ASN1_INTEGER * X509_get_serialNumber(X509 *x);
851 OPENSSL_EXPORT int X509_set_issuer_name(X509 *x, X509_NAME *name);
852 OPENSSL_EXPORT X509_NAME * X509_get_issuer_name(X509 *a);
853 OPENSSL_EXPORT int X509_set_subject_name(X509 *x, X509_NAME *name);
854 OPENSSL_EXPORT X509_NAME * X509_get_subject_name(X509 *a);
855 OPENSSL_EXPORT int X509_set_notBefore(X509 *x, const ASN1_TIME *tm);
856 OPENSSL_EXPORT int X509_set_notAfter(X509 *x, const ASN1_TIME *tm);
857 OPENSSL_EXPORT int X509_set_pubkey(X509 *x, EVP_PKEY *pkey);
858 OPENSSL_EXPORT EVP_PKEY * X509_get_pubkey(X509 *x);
859 OPENSSL_EXPORT ASN1_BIT_STRING * X509_get0_pubkey_bitstr(const X509 *x);
860 OPENSSL_EXPORT int X509_certificate_type(X509 *x,EVP_PKEY *pubkey /* optional */);
906 OPENSSL_EXPORT int X509_check_private_key(X509 *x509,EVP_PKEY *pkey);
908 X509 *x, STACK_OF(X509) *chain,
912 OPENSSL_EXPORT STACK_OF(X509) *X509_chain_up_ref(STACK_OF(X509) *chain);
914 OPENSSL_EXPORT int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b);
915 OPENSSL_EXPORT unsigned long X509_issuer_and_serial_hash(X509 *a);
917 OPENSSL_EXPORT int X509_issuer_name_cmp(const X509 *a, const X509 *b);
918 OPENSSL_EXPORT unsigned long X509_issuer_name_hash(X509 *a);
920 OPENSSL_EXPORT int X509_subject_name_cmp(const X509 *a, const X509 *b);
921 OPENSSL_EXPORT unsigned long X509_subject_name_hash(X509 *x);
923 OPENSSL_EXPORT unsigned long X509_issuer_name_hash_old(X509 *a);
924 OPENSSL_EXPORT unsigned long X509_subject_name_hash_old(X509 *x);
926 OPENSSL_EXPORT int X509_cmp(const X509 *a, const X509 *b);
934 OPENSSL_EXPORT int X509_print_ex_fp(FILE *bp,X509 *x, unsigned long nmflag, unsigned long cflag);
935 OPENSSL_EXPORT int X509_print_fp(FILE *bp,X509 *x);
943 OPENSSL_EXPORT int X509_print_ex(BIO *bp,X509 *x, unsigned long nmflag, unsigned long cflag);
944 OPENSSL_EXPORT int X509_print(BIO *bp,X509 *x);
945 OPENSSL_EXPORT int X509_ocspid_print(BIO *bp,X509 *x);
998 OPENSSL_EXPORT int X509_get_ext_count(X509 *x);
999 OPENSSL_EXPORT int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
1000 OPENSSL_EXPORT int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos);
1001 OPENSSL_EXPORT int X509_get_ext_by_critical(X509 *x, int crit, int lastpos);
1002 OPENSSL_EXPORT X509_EXTENSION *X509_get_ext(X509 *x, int loc);
1003 OPENSSL_EXPORT X509_EXTENSION *X509_delete_ext(X509 *x, int loc);
1004 OPENSSL_EXPORT int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc);
1005 OPENSSL_EXPORT void * X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx);
1006 OPENSSL_EXPORT int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit,
1098 OPENSSL_EXPORT X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk,X509_NAME *name,
1100 OPENSSL_EXPORT X509 *X509_find_by_subject(STACK_OF(X509) *sk,X509_NAME *name);
1145 OPENSSL_EXPORT int X509_check_trust(X509 *x, int id, int flags);
1149 OPENSSL_EXPORT int X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int),
1159 OPENSSL_EXPORT int PKCS7_get_certificates(STACK_OF(X509) *out_certs, CBS *cbs);
1164 CBB *out, const STACK_OF(X509) *certs);
1178 OPENSSL_EXPORT int PKCS7_get_PEM_certificates(STACK_OF(X509) *out_certs,