public static KeyId ofBytes(byte[] keyIdBytes) {
        Objects.requireNonNull(keyIdBytes);
        return new KeyId(Arrays.copyOf(keyIdBytes, keyIdBytes.length));
    }
Construct a KeyId containing the given sequence of bytes.

@param keyIdBytes array of valid UTF-8 bytes. May be zero-length, but not null.
                  Note: to avoid accidental mutations, the key bytes are deep-copied.
@return a new KeyId instance
security-utils/src/main/java/com/yahoo/security/KeyId.java