As a security measure, all submissions to Nettskjema data in to TSD are encrypted. These encrypted files need to be decrypted before they can be sorted and prepared for use in R (or other programs). To decrypt the data, R needs to have access to the secret key that will verify that the decryption is ok to carry out. This function will import the necessary key for the decryption to take place. If the key-file for the decryption is not automatically detected, contact IT to learn where your key has been stored. Any R-script you will run can then specify the location of the key-file either directly in the call to this function, or as an R-environment variable 'nettskjema.tsd.keyfile=/full/path/to/keyfile'.