I created a simple program to test the ideas of encrypting .. and I am referring to the C API found in the Certificate, Key, and Trust Services Reference. I am trying to use SecKeyEncrypt, but I do not know how to access the function or even how to use it.. would I call SecKeyEncrypt(param1, param2, param3, ... param6); ? Is SecKeyEncrypt even a function? What exactly is a SecKeyRef? What am I overlooking?