mbedTLS
mbedtls_x509_subject_alternative_name::san
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
mbedtls_x509_subject_alternative_name::san
mbedtls_x509_subject_alternative_name::san field
A union of the supported SAN types
Syntax
Show:
Summary
Declaration
from
x509.h:294
union
{
mbedtls_x509_san_other_name
other_name
;
mbedtls_x509_name
directory_name
;
mbedtls_x509_buf
unstructured_name
;
}
san
;
Examples
References
from
examples
Code
Location
Referrer
san
;
/**< A union of the supported SAN types */
x509.h:299
memcpy
(
&
san
->
san
.
other_name
,
x509.c:1415
mbedtls_x509_parse_subject_alt_name()
memcpy
(
&
san
->
san
.
unstructured_name
,
x509.c:1428
mbedtls_x509_parse_subject_alt_name()
memcpy
(
&
san
->
san
.
unstructured_name
,
x509.c:1441
mbedtls_x509_parse_subject_alt_name()
memcpy
(
&
san
->
san
.
unstructured_name
,
x509.c:1454
mbedtls_x509_parse_subject_alt_name()
memcpy
(
&
san
->
san
.
unstructured_name
,
san_buf
,
sizeof
(
*
san_buf
)
)
;
x509.c:1468
mbedtls_x509_parse_subject_alt_name()
&
san
->
san
.
directory_name
)
)
!=
0
)
{
x509.c:1489
mbedtls_x509_parse_subject_alt_name()
mbedtls_asn1_free_named_data_list_shallow
(
san
->
san
.
directory_name
.
next
)
;
x509.c:1506
mbedtls_x509_free_subject_alt_name()
mbedtls_x509_san_other_name
*
other_name
=
&
san
.
san
.
other_name
;
x509.c:1545
mbedtls_x509_info_subject_alt_name()
if
(
san
.
san
.
unstructured_name
.
len
>=
n
)
{
x509.c:1584
mbedtls_x509_info_subject_alt_name()
memcpy
(
p
,
san
.
san
.
unstructured_name
.
p
,
san
.
san
.
unstructured_name
.
len
)
;
x509.c:1591
mbedtls_x509_info_subject_alt_name()
p
+=
san
.
san
.
unstructured_name
.
len
;
x509.c:1592
mbedtls_x509_info_subject_alt_name()
n
-=
san
.
san
.
unstructured_name
.
len
;
x509.c:1593
mbedtls_x509_info_subject_alt_name()
if
(
san
.
san
.
unstructured_name
.
len
>=
n
)
{
x509.c:1612
mbedtls_x509_info_subject_alt_name()
memcpy
(
p
,
san
.
san
.
unstructured_name
.
p
,
san
.
san
.
unstructured_name
.
len
)
;
x509.c:1619
mbedtls_x509_info_subject_alt_name()
p
+=
san
.
san
.
unstructured_name
.
len
;
x509.c:1620
mbedtls_x509_info_subject_alt_name()
n
-=
san
.
san
.
unstructured_name
.
len
;
x509.c:1621
mbedtls_x509_info_subject_alt_name()
if
(
san
.
san
.
unstructured_name
.
len
>=
n
)
{
x509.c:1632
mbedtls_x509_info_subject_alt_name()
unsigned
char
*
ip
=
san
.
san
.
unstructured_name
.
p
;
x509.c:1639
mbedtls_x509_info_subject_alt_name()
if
(
san
.
san
.
unstructured_name
.
len
==
4
)
{
x509.c:1641
mbedtls_x509_info_subject_alt_name()
}
else
if
(
san
.
san
.
unstructured_name
.
len
==
16
)
{
x509.c:1644
mbedtls_x509_info_subject_alt_name()
ret
=
mbedtls_x509_dn_gets
(
p
,
n
,
&
san
.
san
.
directory_name
)
;
x509.c:1670
mbedtls_x509_info_subject_alt_name()
CHECK_OVERFLOW_ADD
(
buflen
,
cur
->
node
.
san
.
unstructured_name
.
len
)
;
x509write.c:63
mbedtls_x509_write_set_san_common()
const
mbedtls_asn1_named_data
*
chunk
=
&
cur
->
node
.
san
.
directory_name
;
x509write.c:68
mbedtls_x509_write_set_san_common()
(
const
unsigned
char
*
)
cur
->
node
.
san
.
unstructured_name
.
p
;
x509write.c:109
mbedtls_x509_write_set_san_common()
size_t
unstructured_name_len
=
cur
->
node
.
san
.
unstructured_name
.
len
;
x509write.c:110
mbedtls_x509_write_set_san_common()
.
san
.
directory_name
)
)
;
x509write.c:129
mbedtls_x509_write_set_san_common()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_x509_subject_alternative_name::san
is read by 4 functions:
All items filtered out
mbedtls_x509_subject_alternative_name::san
mbedtls_x509_parse_subject_alt_name()
mbedtls_x509_free_subject_alt_name()
mbedtls_x509_info_subject_alt_name()
mbedtls_x509_write_set_san_common()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out