Do 10 Key-Value pairs are saved in Key, and does the API encrypt/decrypt them while communicating between the program and the Key?

Yes, the Key files contain licensing properties including the key-value pairs, which are encrypted. The API shares the common secret in order to decrypt and read information from the Key.