Lines Matching refs:OPENSSL_EXPORT
255 OPENSSL_EXPORT ASN1_STRING *ASN1_STRING_type_new(int type);
260 OPENSSL_EXPORT ASN1_STRING *ASN1_STRING_new(void);
263 OPENSSL_EXPORT void ASN1_STRING_free(ASN1_STRING *str);
267 OPENSSL_EXPORT int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str);
270 OPENSSL_EXPORT ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *str);
274 OPENSSL_EXPORT int ASN1_STRING_type(const ASN1_STRING *str);
279 OPENSSL_EXPORT const unsigned char *ASN1_STRING_get0_data(
287 OPENSSL_EXPORT unsigned char *ASN1_STRING_data(ASN1_STRING *str);
290 OPENSSL_EXPORT int ASN1_STRING_length(const ASN1_STRING *str);
301 OPENSSL_EXPORT int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b);
305 OPENSSL_EXPORT int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len);
310 OPENSSL_EXPORT void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len);
436 OPENSSL_EXPORT type *d2i_##name(type **a, const unsigned char **in, \
438 OPENSSL_EXPORT int i2d_##name(type *a, unsigned char **out); \
442 OPENSSL_EXPORT type *d2i_##name(type **a, const unsigned char **in, \
444 OPENSSL_EXPORT int i2d_##name(const type *a, unsigned char **out); \
452 OPENSSL_EXPORT type *name##_new(void); \
453 OPENSSL_EXPORT void name##_free(type *a);
459 OPENSSL_EXPORT int fname##_print_ctx(BIO *out, stname *x, int indent, \
510 #define DECLARE_ASN1_ITEM(name) extern OPENSSL_EXPORT const ASN1_ITEM name##_it;
699 OPENSSL_EXPORT int ASN1_TYPE_get(const ASN1_TYPE *a);
700 OPENSSL_EXPORT void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value);
701 OPENSSL_EXPORT int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value);
702 OPENSSL_EXPORT int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b);
704 OPENSSL_EXPORT ASN1_OBJECT *ASN1_OBJECT_new(void);
705 OPENSSL_EXPORT void ASN1_OBJECT_free(ASN1_OBJECT *a);
706 OPENSSL_EXPORT int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp);
707 OPENSSL_EXPORT ASN1_OBJECT *c2i_ASN1_OBJECT(ASN1_OBJECT **a,
710 OPENSSL_EXPORT ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a,
719 OPENSSL_EXPORT int i2c_ASN1_BIT_STRING(const ASN1_BIT_STRING *a,
721 OPENSSL_EXPORT ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a,
724 OPENSSL_EXPORT int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d,
726 OPENSSL_EXPORT int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n,
728 OPENSSL_EXPORT int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n);
729 OPENSSL_EXPORT int ASN1_BIT_STRING_check(const ASN1_BIT_STRING *a,
732 OPENSSL_EXPORT int i2d_ASN1_BOOLEAN(int a, unsigned char **pp);
733 OPENSSL_EXPORT int d2i_ASN1_BOOLEAN(int *a, const unsigned char **pp,
737 OPENSSL_EXPORT int i2c_ASN1_INTEGER(const ASN1_INTEGER *a, unsigned char **pp);
738 OPENSSL_EXPORT ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a,
741 OPENSSL_EXPORT ASN1_INTEGER *ASN1_INTEGER_dup(const ASN1_INTEGER *x);
742 OPENSSL_EXPORT int ASN1_INTEGER_cmp(const ASN1_INTEGER *x,
747 OPENSSL_EXPORT int ASN1_UTCTIME_check(const ASN1_UTCTIME *a);
748 OPENSSL_EXPORT ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t);
749 OPENSSL_EXPORT ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t,
751 OPENSSL_EXPORT int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str);
752 OPENSSL_EXPORT int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t);
757 OPENSSL_EXPORT int ASN1_GENERALIZEDTIME_check(const ASN1_GENERALIZEDTIME *a);
758 OPENSSL_EXPORT ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(
760 OPENSSL_EXPORT ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(
762 OPENSSL_EXPORT int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s,
764 OPENSSL_EXPORT int ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from,
768 OPENSSL_EXPORT ASN1_OCTET_STRING *ASN1_OCTET_STRING_dup(
770 OPENSSL_EXPORT int ASN1_OCTET_STRING_cmp(const ASN1_OCTET_STRING *a,
772 OPENSSL_EXPORT int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *str,
793 OPENSSL_EXPORT ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
794 OPENSSL_EXPORT ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, int offset_day,
796 OPENSSL_EXPORT int ASN1_TIME_check(const ASN1_TIME *t);
797 OPENSSL_EXPORT ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(
799 OPENSSL_EXPORT int ASN1_TIME_set_string(ASN1_TIME *s, const char *str);
801 OPENSSL_EXPORT int i2a_ASN1_INTEGER(BIO *bp, const ASN1_INTEGER *a);
802 OPENSSL_EXPORT int i2a_ASN1_ENUMERATED(BIO *bp, const ASN1_ENUMERATED *a);
803 OPENSSL_EXPORT int i2a_ASN1_OBJECT(BIO *bp, const ASN1_OBJECT *a);
804 OPENSSL_EXPORT int i2a_ASN1_STRING(BIO *bp, const ASN1_STRING *a, int type);
805 OPENSSL_EXPORT int i2t_ASN1_OBJECT(char *buf, int buf_len,
808 OPENSSL_EXPORT ASN1_OBJECT *ASN1_OBJECT_create(int nid, unsigned char *data,
812 OPENSSL_EXPORT int ASN1_INTEGER_set(ASN1_INTEGER *a, long v);
813 OPENSSL_EXPORT int ASN1_INTEGER_set_uint64(ASN1_INTEGER *out, uint64_t v);
814 OPENSSL_EXPORT long ASN1_INTEGER_get(const ASN1_INTEGER *a);
815 OPENSSL_EXPORT ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn,
817 OPENSSL_EXPORT BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn);
819 OPENSSL_EXPORT int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v);
820 OPENSSL_EXPORT long ASN1_ENUMERATED_get(const ASN1_ENUMERATED *a);
821 OPENSSL_EXPORT ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(const BIGNUM *bn,
823 OPENSSL_EXPORT BIGNUM *ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai,
828 OPENSSL_EXPORT int ASN1_PRINTABLE_type(const unsigned char *s, int max);
830 OPENSSL_EXPORT unsigned long ASN1_tag2bit(int tag);
833 OPENSSL_EXPORT int ASN1_get_object(const unsigned char **pp, long *plength,
835 OPENSSL_EXPORT void ASN1_put_object(unsigned char **pp, int constructed,
837 OPENSSL_EXPORT int ASN1_put_eoc(unsigned char **pp);
838 OPENSSL_EXPORT int ASN1_object_size(int constructed, int length, int tag);
840 OPENSSL_EXPORT void *ASN1_item_dup(const ASN1_ITEM *it, void *x);
843 OPENSSL_EXPORT void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x);
844 OPENSSL_EXPORT int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, void *x);
845 OPENSSL_EXPORT int ASN1_STRING_print_ex_fp(FILE *fp, const ASN1_STRING *str,
849 OPENSSL_EXPORT int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in);
851 OPENSSL_EXPORT void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x);
852 OPENSSL_EXPORT int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x);
853 OPENSSL_EXPORT int ASN1_UTCTIME_print(BIO *fp, const ASN1_UTCTIME *a);
854 OPENSSL_EXPORT int ASN1_GENERALIZEDTIME_print(BIO *fp,
856 OPENSSL_EXPORT int ASN1_TIME_print(BIO *fp, const ASN1_TIME *a);
857 OPENSSL_EXPORT int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v);
858 OPENSSL_EXPORT int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str,
860 OPENSSL_EXPORT const char *ASN1_tag2str(int tag);
864 OPENSSL_EXPORT void *ASN1_item_unpack(const ASN1_STRING *oct,
867 OPENSSL_EXPORT ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it,
870 OPENSSL_EXPORT void ASN1_STRING_set_default_mask(unsigned long mask);
871 OPENSSL_EXPORT int ASN1_STRING_set_default_mask_asc(const char *p);
872 OPENSSL_EXPORT unsigned long ASN1_STRING_get_default_mask(void);
873 OPENSSL_EXPORT int ASN1_mbstring_copy(ASN1_STRING **out,
876 OPENSSL_EXPORT int ASN1_mbstring_ncopy(ASN1_STRING **out,
881 OPENSSL_EXPORT ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out,
885 OPENSSL_EXPORT ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid);
886 OPENSSL_EXPORT int ASN1_STRING_TABLE_add(int, long, long, unsigned long,
888 OPENSSL_EXPORT void ASN1_STRING_TABLE_cleanup(void);
893 OPENSSL_EXPORT ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it);
894 OPENSSL_EXPORT void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it);
895 OPENSSL_EXPORT ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val,
898 OPENSSL_EXPORT int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out,
901 OPENSSL_EXPORT ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf);
902 OPENSSL_EXPORT ASN1_TYPE *ASN1_generate_v3(const char *str, X509V3_CTX *cnf);