I assume that you need to send an encrypted .cyacd file. We do not have an example project for this. However you can go ahead and modify the bootloader component.Bootloader component source code can be seen in the Bootloader.c files. You can import the bootloader component ,modify it and use the modified component in the project.
Thank you for your reply, yes this is exactly what I would like to do. I'll look into this and let you know :)