Home
last modified time | relevance | path

Searched refs:ASN1_STRING (Results 1 – 25 of 44) sorted by relevance

12

/external/boringssl/src/include/openssl/
Dasn1.h441 ASN1_STRING * asn1_string;
459 ASN1_STRING * set;
460 ASN1_STRING * sequence;
497 #define M_ASN1_BIT_STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
499 ASN1_STRING_dup((const ASN1_STRING *)a)
501 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
502 #define M_ASN1_BIT_STRING_set(a,b,c) ASN1_STRING_set((ASN1_STRING *)a,b,c)
506 #define M_ASN1_INTEGER_free(a) ASN1_STRING_free((ASN1_STRING *)a)
508 ASN1_STRING_dup((const ASN1_STRING *)a)
510 (const ASN1_STRING *)a,(const ASN1_STRING *)b)
[all …]
Dx509v3.h176 ASN1_STRING *nameAssigner;
177 ASN1_STRING *partyName;
291 ASN1_STRING *organization;
297 ASN1_STRING *exptext;
/external/boringssl/src/crypto/asn1/
Dasn1_lib.c310 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str) in ASN1_STRING_copy()
321 ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *str) in ASN1_STRING_dup()
323 ASN1_STRING *ret; in ASN1_STRING_dup()
336 int ASN1_STRING_set(ASN1_STRING *str, const void *_data, int len) in ASN1_STRING_set()
369 void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len) in ASN1_STRING_set0()
377 ASN1_STRING *ASN1_STRING_new(void) in ASN1_STRING_new()
382 ASN1_STRING *ASN1_STRING_type_new(int type) in ASN1_STRING_type_new()
384 ASN1_STRING *ret; in ASN1_STRING_type_new()
386 ret = (ASN1_STRING *)OPENSSL_malloc(sizeof(ASN1_STRING)); in ASN1_STRING_type_new()
398 void ASN1_STRING_free(ASN1_STRING *a) in ASN1_STRING_free()
[all …]
Dasn_pack.c64 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack()
66 ASN1_STRING *octmp; in ASN1_item_pack()
96 void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it) in ASN1_item_unpack()
Dtasn_typ.c105 IMPLEMENT_ASN1_FUNCTIONS_name(ASN1_STRING, ASN1_PRINTABLE)
108 IMPLEMENT_ASN1_FUNCTIONS_name(ASN1_STRING, DISPLAYTEXT)
111 IMPLEMENT_ASN1_FUNCTIONS_name(ASN1_STRING, DIRECTORYSTRING)
Da_type.c97 ASN1_STRING *sdup; in ASN1_TYPE_set1()
145 result = ASN1_STRING_cmp((ASN1_STRING *)a->value.ptr, in ASN1_TYPE_cmp()
146 (ASN1_STRING *)b->value.ptr); in ASN1_TYPE_cmp()
Da_mbstr.c80 int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len, in ASN1_mbstring_copy()
90 int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, in OPENSSL_DECLARE_ERROR_REASON()
96 ASN1_STRING *dest; in OPENSSL_DECLARE_ERROR_REASON()
Da_strnid.c128 ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out, in ASN1_STRING_set_by_NID()
133 ASN1_STRING *str = NULL; in ASN1_STRING_set_by_NID()
Da_time.c180 if (s && !ASN1_STRING_copy((ASN1_STRING *)s, (ASN1_STRING *)&t)) in ASN1_TIME_set_string()
Df_string.c61 int i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type) in i2a_ASN1_STRING()
Dtasn_enc.c548 ASN1_STRING *strtmp; in asn1_ex_i2c()
568 strtmp = (ASN1_STRING *)*pval; in asn1_ex_i2c()
644 strtmp = (ASN1_STRING *)*pval; in asn1_ex_i2c()
Da_gentm.c198 if (!ASN1_STRING_set((ASN1_STRING *)s, in ASN1_GENERALIZEDTIME_set_string()
Dtasn_fre.c239 ASN1_STRING_free((ASN1_STRING *)*pval); in ASN1_primitive_free()
Da_utctm.c174 if (!ASN1_STRING_set((ASN1_STRING *)s, in ASN1_UTCTIME_set_string()
/external/scapy/scapy/asn1/
Dasn1.py41 elif issubclass(o, ASN1_STRING):
341 class ASN1_STRING(ASN1_Object): class
361 class ASN1_UTF8_STRING(ASN1_STRING):
364 class ASN1_NUMERIC_STRING(ASN1_STRING):
367 class ASN1_PRINTABLE_STRING(ASN1_STRING):
370 class ASN1_T61_STRING(ASN1_STRING):
373 class ASN1_VIDEOTEX_STRING(ASN1_STRING):
376 class ASN1_IA5_STRING(ASN1_STRING):
379 class ASN1_UTC_TIME(ASN1_STRING):
401 return "%s %s" % (self.pretty_time, ASN1_STRING.__repr__(self))
[all …]
/external/boringssl/src/crypto/x509/
Da_strex.c299 ASN1_STRING *str) in do_dump()
357 ASN1_STRING *str) in do_print_ex()
455 ASN1_STRING *val; in do_name_ex()
613 int ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags) in ASN1_STRING_print_ex()
619 int ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flags) in ASN1_STRING_print_ex_fp()
630 int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in) in ASN1_STRING_to_UTF8()
632 ASN1_STRING stmp, *str = &stmp; in ASN1_STRING_to_UTF8()
Dx_name.c95 static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in);
429 static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in) in asn1_string_canon()
Drsa_pss.c128 ASN1_STRING *stmp = NULL; in rsa_md_to_mgf1()
211 ASN1_STRING *os = NULL; in x509_rsa_ctx_to_pss()
Dx509name.c83 ASN1_STRING *data; in X509_NAME_get_text_by_OBJ()
383 ASN1_STRING *X509_NAME_ENTRY_get_data(X509_NAME_ENTRY *ne) in X509_NAME_ENTRY_get_data()
Dx509.c135 int X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent) { in X509_signature_dump()
Dt_x509.c300 const ASN1_STRING *sig) in X509_signature_print()
321 int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v) in ASN1_STRING_print()
Dx_crl.c374 return (ASN1_STRING_cmp((ASN1_STRING *)(*a)->serialNumber,
375 (ASN1_STRING *)(*b)->serialNumber));
/external/boringssl/src/crypto/x509v3/
Dv3_ia5.c113 if (!ASN1_STRING_set((ASN1_STRING *)ia5, (unsigned char *)str, in s2i_ASN1_IA5STRING()
/external/libevent/sample/
Dopenssl_hostname_validation.c66 ASN1_STRING *common_name_asn1 = NULL; in matches_common_name()
/external/scapy/doc/scapy/
Dadvanced_usage.rst64 class ASN1_STRING(ASN1_Object):
67 class ASN1_BIT_STRING(ASN1_STRING):
72 >>> x=ASN1_SEQUENCE([ASN1_INTEGER(7),ASN1_STRING("egg"),ASN1_SEQUENCE([ASN1_BOOLEAN(False)])])
74 …<ASN1_SEQUENCE[[<ASN1_INTEGER[7]>, <ASN1_STRING['egg']>, <ASN1_SEQUENCE[[<ASN1_BOOLEAN[False]>]]>]…
78 <ASN1_STRING['egg']>
96 (<ASN1_STRING['egg']>, '')
130 <ASN1_STRING['egg']>
265 <ASN1_STRING['0\x03\x01\x01\xff']>
268 <ASN1_STRING['\x04\x14Oim\x03~\x9d\x9f\x07\x18C\xbc\xb7\x10N\xd5\xbf\xa9\xc4 (']>
271 <ASN1_STRING['0\x16\x80\x14Oim\x03~\x9d\x9f\x07\x18C\xbc\xb7\x10N\xd5\xbf\xa9\xc4 (']>
[all …]

12