Home | History | Annotate | Download | only in asn1

Lines Matching defs:asn1_string

221 /* This indicates that the ASN1_STRING is not a real value but just a place
233 /* This flag is used by ASN1 code to indicate an ASN1_STRING is an MSTRING
527 ASN1_STRING * asn1_string;
545 ASN1_STRING * set;
546 ASN1_STRING * sequence;
581 #define M_ASN1_BIT_STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
583 ASN1_STRING_dup((const ASN1_STRING *)a)
585 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
586 #define M_ASN1_BIT_STRING_set(a,b,c) ASN1_STRING_set((ASN1_STRING *)a,b,c)
590 #define M_ASN1_INTEGER_free(a) ASN1_STRING_free((ASN1_STRING *)a)
592 ASN1_STRING_dup((const ASN1_STRING *)a)
594 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
598 #define M_ASN1_ENUMERATED_free(a) ASN1_STRING_free((ASN1_STRING *)a)
600 ASN1_STRING_dup((const ASN1_STRING *)a)
602 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
606 #define M_ASN1_OCTET_STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
608 ASN1_STRING_dup((const ASN1_STRING *)a)
610 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
611 #define M_ASN1_OCTET_STRING_set(a,b,c) ASN1_STRING_set((ASN1_STRING *)a,b,c)
612 #define M_ASN1_OCTET_STRING_print(a,b) ASN1_STRING_print(a,(ASN1_STRING *)b)
614 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_OCTET_STRING,\
647 #define M_ASN1_PRINTABLE_free(a) ASN1_STRING_free((ASN1_STRING *)a)
648 #define M_i2d_ASN1_PRINTABLE(a,pp) i2d_ASN1_bytes((ASN1_STRING *)a,\
651 d2i_ASN1_type_bytes((ASN1_STRING **)a,pp,l, \
655 #define M_DIRECTORYSTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
656 #define M_i2d_DIRECTORYSTRING(a,pp) i2d_ASN1_bytes((ASN1_STRING *)a,\
659 d2i_ASN1_type_bytes((ASN1_STRING **)a,pp,l, \
663 #define M_DISPLAYTEXT_free(a) ASN1_STRING_free((ASN1_STRING *)a)
664 #define M_i2d_DISPLAYTEXT(a,pp) i2d_ASN1_bytes((ASN1_STRING *)a,\
667 d2i_ASN1_type_bytes((ASN1_STRING **)a,pp,l, \
672 #define M_ASN1_PRINTABLESTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
674 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_PRINTABLESTRING,\
678 ((ASN1_STRING **)a,pp,l,B_ASN1_PRINTABLESTRING)
682 #define M_ASN1_T61STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
684 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_T61STRING,\
688 ((ASN1_STRING **)a,pp,l,B_ASN1_T61STRING)
692 #define M_ASN1_IA5STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
694 (ASN1_IA5STRING *)ASN1_STRING_dup((const ASN1_STRING *)a)
696 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_IA5STRING,\
699 (ASN1_IA5STRING *)d2i_ASN1_type_bytes((ASN1_STRING **)a,pp,l,\
704 #define M_ASN1_UTCTIME_free(a) ASN1_STRING_free((ASN1_STRING *)a)
706 ASN1_STRING_dup((const ASN1_STRING *)a)
710 #define M_ASN1_GENERALIZEDTIME_free(a) ASN1_STRING_free((ASN1_STRING *)a)
712 (const ASN1_STRING *)a)
716 #define M_ASN1_TIME_free(a) ASN1_STRING_free((ASN1_STRING *)a)
718 ASN1_STRING_dup((const ASN1_STRING *)a)
722 #define M_ASN1_GENERALSTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
724 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_GENERALSTRING,\
728 ((ASN1_STRING **)a,pp,l,B_ASN1_GENERALSTRING)
732 #define M_ASN1_UNIVERSALSTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
734 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_UNIVERSALSTRING,\
738 ((ASN1_STRING **)a,pp,l,B_ASN1_UNIVERSALSTRING)
742 #define M_ASN1_BMPSTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
744 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_BMPSTRING,\
748 ((ASN1_STRING **)a,pp,l,B_ASN1_BMPSTRING)
752 #define M_ASN1_VISIBLESTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
754 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_VISIBLESTRING,\
758 ((ASN1_STRING **)a,pp,l,B_ASN1_VISIBLESTRING)
762 #define M_ASN1_UTF8STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
764 i2d_ASN1_bytes((ASN1_STRING *)a,pp,V_ASN1_UTF8STRING,\
768 ((ASN1_STRING **)a,pp,l,B_ASN1_UTF8STRING)
794 ASN1_STRING * ASN1_STRING_new(void);
795 void ASN1_STRING_free(ASN1_STRING *a);
796 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str);
797 ASN1_STRING * ASN1_STRING_dup(const ASN1_STRING *a);
798 ASN1_STRING * ASN1_STRING_type_new(int type );
799 int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b);
802 int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len);
803 void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len);
804 int ASN1_STRING_length(const ASN1_STRING *x);
805 void ASN1_STRING_length_set(ASN1_STRING *x, int n);
806 int ASN1_STRING_type(ASN1_STRING *x);
807 unsigned char * ASN1_STRING_data(ASN1_STRING *x);
872 DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, ASN1_PRINTABLE)
874 DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DIRECTORYSTRING)
875 DECLARE_ASN1_FUNCTIONS_name(ASN1_STRING, DISPLAYTEXT)
908 int a2i_ASN1_STRING(BIO *bp,ASN1_STRING *bs,char *buf,int size);
909 int i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type);
931 int i2d_ASN1_bytes(ASN1_STRING *a, unsigned char **pp, int tag, int xclass);
932 ASN1_STRING *d2i_ASN1_bytes(ASN1_STRING **a, const unsigned char **pp,
936 ASN1_STRING *d2i_ASN1_type_bytes(ASN1_STRING **a,const unsigned char **pp,
997 int ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flags);
1000 int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in);
1028 int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v);
1029 int ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags);
1056 void *ASN1_unpack_string(ASN1_STRING *oct, d2i_of_void *d2i);
1057 void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it);
1058 ASN1_STRING *ASN1_pack_string(void *obj, i2d_of_void *i2d,
1066 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_OCTET_STRING **oct);
1071 int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len,
1073 int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len,
1077 ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out,