Check if a key is a valid custom key: a lowercase first letter, then
characters from a-z 0-9 . -, with a hyphen that is neither the first
nor the last character. These are the CTA-5004-B custom-key rules
restricted to names that survive RFC 8941 key serialization.
Check if a key is a valid custom key: a lowercase first letter, then characters from
a-z 0-9 . -, with a hyphen that is neither the first nor the last character. These are the CTA-5004-B custom-key rules restricted to names that survive RFC 8941 key serialization.