| /freebsd/crypto/openssl/crypto/x509/ |
| H A D | v3_ia5.c | 28 char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5) in i2s_ASN1_IA5STRING() argument 32 if (ia5 == NULL || ia5->length <= 0) in i2s_ASN1_IA5STRING() 34 if ((tmp = OPENSSL_malloc(ia5->length + 1)) == NULL) in i2s_ASN1_IA5STRING() 36 memcpy(tmp, ia5->data, ia5->length); in i2s_ASN1_IA5STRING() 37 tmp[ia5->length] = 0; in i2s_ASN1_IA5STRING() 44 ASN1_IA5STRING *ia5; in s2i_ASN1_IA5STRING() local 49 if ((ia5 = ASN1_IA5STRING_new()) == NULL) { in s2i_ASN1_IA5STRING() 53 if (!ASN1_STRING_set((ASN1_STRING *)ia5, str, strlen(str))) { in s2i_ASN1_IA5STRING() 54 ASN1_IA5STRING_free(ia5); in s2i_ASN1_IA5STRING() 58 ebcdic2ascii(ia5->data, ia5->data, ia5->length); in s2i_ASN1_IA5STRING() [all …]
|
| H A D | v3_san.c | 168 if (!x509v3_add_len_value_uchar("email", gen->d.ia5->data, in STACK_OF() 169 gen->d.ia5->length, &ret)) in STACK_OF() 174 if (!x509v3_add_len_value_uchar("DNS", gen->d.ia5->data, in STACK_OF() 175 gen->d.ia5->length, &ret)) in STACK_OF() 180 if (!x509v3_add_len_value_uchar("URI", gen->d.ia5->data, in STACK_OF() 181 gen->d.ia5->length, &ret)) in STACK_OF() 267 ASN1_STRING_print(out, gen->d.ia5); in GENERAL_NAME_print() 272 ASN1_STRING_print(out, gen->d.ia5); in GENERAL_NAME_print() 277 ASN1_STRING_print(out, gen->d.ia5); in GENERAL_NAME_print() 452 gen->d.ia5 = email; in copy_email() [all …]
|
| H A D | v3_genn.c | 143 result = ASN1_STRING_cmp(a->d.ia5, b->d.ia5); in GENERAL_NAME_cmp() 194 a->d.ia5 = value; in GENERAL_NAME_set0_value() 229 return a->d.ia5; in GENERAL_NAME_get0_value()
|
| H A D | v3_utl.c | 518 if (!append_ia5(&ret, gen->d.ia5)) in STACK_OF()
|
| /freebsd/crypto/openssl/test/ |
| H A D | v3nametest.c | 129 ASN1_IA5STRING *ia5 = NULL; in set_altname() local 146 ia5 = ASN1_IA5STRING_new(); in set_altname() 147 if (ia5 == NULL) in set_altname() 149 if (!ASN1_STRING_set(ia5, name, -1)) in set_altname() 154 GENERAL_NAME_set0_value(gen, type, ia5); in set_altname() 155 ia5 = NULL; in set_altname() 168 ASN1_IA5STRING_free(ia5); in set_altname()
|
| /freebsd/crypto/openssl/crypto/asn1/ |
| H A D | a_print.c | 18 int ia5 = 0; in ASN1_PRINTABLE_type() local 30 ia5 = 1; in ASN1_PRINTABLE_type() 36 if (ia5) in ASN1_PRINTABLE_type()
|
| /freebsd/crypto/openssl/crypto/ocsp/ |
| H A D | ocsp_ext.c | 430 ASN1_IA5STRING *ia5 = NULL; in OCSP_url_svcloc_new() local 447 if ((ia5 = ASN1_IA5STRING_new()) == NULL) in OCSP_url_svcloc_new() 449 if (!ASN1_STRING_set((ASN1_STRING *)ia5, *urls, -1)) in OCSP_url_svcloc_new() 453 ad->location->d.ia5 = ia5; in OCSP_url_svcloc_new() 454 ia5 = NULL; in OCSP_url_svcloc_new() 462 ASN1_IA5STRING_free(ia5); in OCSP_url_svcloc_new()
|
| /freebsd/contrib/wpa/src/crypto/ |
| H A D | tls_wolfssl.c | 616 if ((size_t) wolfSSL_ASN1_STRING_length(gen->d.ia5) == len && in tls_match_alt_subject_component() 617 os_memcmp(value, wolfSSL_ASN1_STRING_data(gen->d.ia5), in tls_match_alt_subject_component() 724 wolfSSL_ASN1_STRING_data(gen->d.ia5), in tls_match_suffix_helper() 725 wolfSSL_ASN1_STRING_length(gen->d.ia5)); in tls_match_suffix_helper() 727 (const char *) wolfSSL_ASN1_STRING_data(gen->d.ia5), in tls_match_suffix_helper() 728 wolfSSL_ASN1_STRING_length(gen->d.ia5), match, in tls_match_suffix_helper() 936 pos = os_malloc(10 + wolfSSL_ASN1_STRING_length(gen->d.ia5) + in wolfssl_tls_cert_event() 957 os_memcpy(pos, wolfSSL_ASN1_STRING_data(gen->d.ia5), in wolfssl_tls_cert_event() 958 wolfSSL_ASN1_STRING_length(gen->d.ia5)); in wolfssl_tls_cert_event() 959 pos += wolfSSL_ASN1_STRING_length(gen->d.ia5); in wolfssl_tls_cert_event()
|
| H A D | tls_openssl.c | 1857 if (os_strlen((char *) gen->d.ia5->data) == len && in tls_match_altsubject_component() 1858 os_memcmp(value, gen->d.ia5->data, len) == 0) in tls_match_altsubject_component() 2423 pos = os_malloc(10 + gen->d.ia5->length + 1); in openssl_tls_cert_event() 2443 os_memcpy(pos, gen->d.ia5->data, gen->d.ia5->length); in openssl_tls_cert_event() 2444 pos += gen->d.ia5->length; in openssl_tls_cert_event()
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | s2i_ASN1_IA5STRING.pod | 21 char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5);
|
| /freebsd/lib/libfetch/ |
| H A D | common.c | 959 ns = (const char *)ASN1_STRING_get0_data(name->d.ia5); in fetch_ssl_verify_altname() 960 nslen = (size_t)ASN1_STRING_length(name->d.ia5); in fetch_ssl_verify_altname()
|
| /freebsd/contrib/sendmail/src/ |
| H A D | tls.c | 1775 if (ASN1_STRING_type(gn->d.ia5) != V_ASN1_IA5STRING) 1783 dnsname = (char *) MTA_ASN1_STRING_data(gn->d.ia5); 1786 len = ASN1_STRING_length(gn->d.ia5);
|
| /freebsd/crypto/openssl/include/openssl/ |
| H A D | x509v3.h.in | 177 ASN1_IA5STRING *ia5; /* rfc822Name, dNSName, member 571 char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5); 602 const ASN1_OCTET_STRING *ia5);
|
| H A D | x509v3.h | 200 ASN1_IA5STRING *ia5; /* rfc822Name, dNSName, member 835 char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5); 866 const ASN1_OCTET_STRING *ia5);
|