I have a question on encoding of the DN attribute, serialNumber.

In 3.1.4, Issuer this is covered.

   i.e., serialNumber SHALL only contain the 74-character subset of
   ASCII allowed by printableString


If the serialNumber is an integer, is it still encoded as

In CBOR, all text strings are UTF-8 encoded


or is it recognized as an int and encoded thusly?

Case in point:  For the 24-bit Aircraft Number (max value 16777215 or xFFFFFF), how best to efficiently represent that?

as the integer number or in hex string?

Also since this would be the only subject attribute and there is already subjectAltName, make this the only subject element or add it to subjectAltName.

Obviously, I could experiment around, but you want me to review text-vectors!

thanks
_______________________________________________
COSE mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to