Encrypting a document
Encryption is possible on a field level. You can encrypt some or all of the fields in a document. To have a document encrypted you have to perform two steps: prepare the fields you want to encrypt by sending the prepareForEncryptionItemNamed: method for each field you want to be protected. Then send the encrypt: message with the name of one of your encryption keys as a parameter. When you store the document, the selected fields will be encrypted.
Last modified date: 01/29/2015