Add a possibility to write subject alt names in a certificate

Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek 2023-04-04 06:56:14 -04:00
parent ccdd975286
commit 67fdb3307d
2 changed files with 126 additions and 0 deletions

View file

@ -241,6 +241,9 @@ typedef struct mbedtls_x509write_cert {
}
mbedtls_x509write_cert;
int mbedtls_x509write_crt_set_subject_alternative_name(mbedtls_x509write_cert *ctx,
const mbedtls_x509_san_list *san_list);
/**
* Item in a verification chain: cert and flags for it
*/