x509: Add support to encode SANs of type uniformResourceIdentifier

This commit is contained in:
Tobias Brunner 2023-11-09 12:42:54 +01:00
parent a22147a1b2
commit 500cacf6d8

View File

@ -2069,6 +2069,9 @@ static chunk_t build_generalName(identification_t *id)
case ID_DER_ASN1_DN:
context = ASN1_CONTEXT_C_4;
break;
case ID_DER_ASN1_GN_URI:
context = ASN1_CONTEXT_S_6;
break;
case ID_IPV4_ADDR:
case ID_IPV6_ADDR:
case ID_IPV4_ADDR_SUBNET: