• Home
  • Raw
  • Download

Lines Matching refs:X509

269 DEFINE_STACK_OF(X509)
270 DECLARE_ASN1_SET_OF(X509)
277 int (*check_trust)(struct x509_trust_st *, X509 *, int);
465 X509 *x509;
566 OPENSSL_EXPORT int X509_verify(X509 *a, EVP_PKEY *r);
583 OPENSSL_EXPORT int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
584 OPENSSL_EXPORT int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx);
591 OPENSSL_EXPORT int X509_pubkey_digest(const X509 *data,const EVP_MD *type,
593 OPENSSL_EXPORT int X509_digest(const X509 *data,const EVP_MD *type,
607 OPENSSL_EXPORT X509 *X509_parse_from_buffer(CRYPTO_BUFFER *buf);
610 OPENSSL_EXPORT X509 *d2i_X509_fp(FILE *fp, X509 **x509);
611 OPENSSL_EXPORT int i2d_X509_fp(FILE *fp,X509 *x509);
644 OPENSSL_EXPORT X509 *d2i_X509_bio(BIO *bp,X509 **x509);
645 OPENSSL_EXPORT int i2d_X509_bio(BIO *bp,X509 *x509);
679 OPENSSL_EXPORT X509 *X509_dup(X509 *x509);
713 OPENSSL_EXPORT X509_REQ * X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
714 OPENSSL_EXPORT X509 * X509_REQ_to_X509(X509_REQ *r, int days,EVP_PKEY *pkey);
756 DECLARE_ASN1_FUNCTIONS(X509)
760 OPENSSL_EXPORT int X509_up_ref(X509 *x);
764 OPENSSL_EXPORT int X509_set_ex_data(X509 *r, int idx, void *arg);
765 OPENSSL_EXPORT void *X509_get_ex_data(X509 *r, int idx);
766 OPENSSL_EXPORT int i2d_X509_AUX(X509 *a,unsigned char **pp);
767 OPENSSL_EXPORT X509 * d2i_X509_AUX(X509 **a,const unsigned char **pp,long length);
769 OPENSSL_EXPORT int i2d_re_X509_tbs(X509 *x, unsigned char **pp);
772 const X509_ALGOR **palg, const X509 *x);
773 OPENSSL_EXPORT int X509_get_signature_nid(const X509 *x);
775 OPENSSL_EXPORT int X509_alias_set1(X509 *x, unsigned char *name, int len);
776 OPENSSL_EXPORT int X509_keyid_set1(X509 *x, unsigned char *id, int len);
777 OPENSSL_EXPORT unsigned char * X509_alias_get0(X509 *x, int *len);
778 OPENSSL_EXPORT unsigned char * X509_keyid_get0(X509 *x, int *len);
779 OPENSSL_EXPORT int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int);
781 OPENSSL_EXPORT int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj);
782 OPENSSL_EXPORT int X509_add1_reject_object(X509 *x, ASN1_OBJECT *obj);
783 OPENSSL_EXPORT void X509_trust_clear(X509 *x);
784 OPENSSL_EXPORT void X509_reject_clear(X509 *x);
793 OPENSSL_EXPORT int X509_CRL_get0_by_cert(X509_CRL *crl, X509_REVOKED **ret, X509 *x);
823 OPENSSL_EXPORT int X509_set_version(X509 *x,long version);
824 OPENSSL_EXPORT int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial);
825 OPENSSL_EXPORT ASN1_INTEGER * X509_get_serialNumber(X509 *x);
826 OPENSSL_EXPORT int X509_set_issuer_name(X509 *x, X509_NAME *name);
827 OPENSSL_EXPORT X509_NAME * X509_get_issuer_name(X509 *a);
828 OPENSSL_EXPORT int X509_set_subject_name(X509 *x, X509_NAME *name);
829 OPENSSL_EXPORT X509_NAME * X509_get_subject_name(X509 *a);
830 OPENSSL_EXPORT int X509_set_notBefore(X509 *x, const ASN1_TIME *tm);
831 OPENSSL_EXPORT const ASN1_TIME *X509_get0_notBefore(const X509 *x);
832 OPENSSL_EXPORT int X509_set_notAfter(X509 *x, const ASN1_TIME *tm);
833 OPENSSL_EXPORT const ASN1_TIME *X509_get0_notAfter(const X509 *x);
834 OPENSSL_EXPORT int X509_set_pubkey(X509 *x, EVP_PKEY *pkey);
835 OPENSSL_EXPORT EVP_PKEY * X509_get_pubkey(X509 *x);
836 OPENSSL_EXPORT ASN1_BIT_STRING * X509_get0_pubkey_bitstr(const X509 *x);
837 OPENSSL_EXPORT STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x);
838 OPENSSL_EXPORT const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x);
899 OPENSSL_EXPORT int X509_check_private_key(X509 *x509, const EVP_PKEY *pkey);
901 X509 *x, STACK_OF(X509) *chain,
905 OPENSSL_EXPORT STACK_OF(X509) *X509_chain_up_ref(STACK_OF(X509) *chain);
907 OPENSSL_EXPORT int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b);
908 OPENSSL_EXPORT unsigned long X509_issuer_and_serial_hash(X509 *a);
910 OPENSSL_EXPORT int X509_issuer_name_cmp(const X509 *a, const X509 *b);
911 OPENSSL_EXPORT unsigned long X509_issuer_name_hash(X509 *a);
913 OPENSSL_EXPORT int X509_subject_name_cmp(const X509 *a, const X509 *b);
914 OPENSSL_EXPORT unsigned long X509_subject_name_hash(X509 *x);
916 OPENSSL_EXPORT unsigned long X509_issuer_name_hash_old(X509 *a);
917 OPENSSL_EXPORT unsigned long X509_subject_name_hash_old(X509 *x);
919 OPENSSL_EXPORT int X509_cmp(const X509 *a, const X509 *b);
927 OPENSSL_EXPORT int X509_print_ex_fp(FILE *bp,X509 *x, unsigned long nmflag, unsigned long cflag);
928 OPENSSL_EXPORT int X509_print_fp(FILE *bp,X509 *x);
936 OPENSSL_EXPORT int X509_print_ex(BIO *bp,X509 *x, unsigned long nmflag, unsigned long cflag);
937 OPENSSL_EXPORT int X509_print(BIO *bp,X509 *x);
938 OPENSSL_EXPORT int X509_ocspid_print(BIO *bp,X509 *x);
991 OPENSSL_EXPORT int X509_get_ext_count(X509 *x);
992 OPENSSL_EXPORT int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
993 OPENSSL_EXPORT int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos);
994 OPENSSL_EXPORT int X509_get_ext_by_critical(X509 *x, int crit, int lastpos);
995 OPENSSL_EXPORT X509_EXTENSION *X509_get_ext(X509 *x, int loc);
996 OPENSSL_EXPORT X509_EXTENSION *X509_delete_ext(X509 *x, int loc);
997 OPENSSL_EXPORT int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc);
998 OPENSSL_EXPORT void * X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx);
999 OPENSSL_EXPORT int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit,
1073 OPENSSL_EXPORT X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk,X509_NAME *name,
1075 OPENSSL_EXPORT X509 *X509_find_by_subject(STACK_OF(X509) *sk,X509_NAME *name);
1102 OPENSSL_EXPORT int X509_check_trust(X509 *x, int id, int flags);
1106 OPENSSL_EXPORT int X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int),
1136 BORINGSSL_MAKE_DELETER(X509, X509_free)
1137 BORINGSSL_MAKE_UP_REF(X509, X509_up_ref)