I removed the optimization to skip the outer array in subject and issuer.
"If subjectAltName contains exactly one dNSName, the array and the int are omitted and extensionValue is the dNSName encoded as a CBOR text string." This saves 2 byte
The EUI-64 optimization saves 17 bytes and should definitly be kept.
The optimization for keyusage saves 2 bytes.
The optimization for the special case utf8string common name saves 3 bytes.
I removed the optimization to skip the outer array in subject and issuer.
"If subjectAltName contains exactly one dNSName, the array and the int are omitted and extensionValue is the dNSName encoded as a CBOR text string." This saves 2 byte
The EUI-64 optimization saves 17 bytes and should definitly be kept.
The optimization for keyusage saves 2 bytes.
The optimization for the special case utf8string common name saves 3 bytes.