On 26 Mar 2017, at 20:14, Thomas Tempelmann <tempelm...@gmail.com> wrote:

> How does DFA do that? Is there some OS function I could use for that purpose, 
> too?

FileVault 2 encryption is done by Core Storage (currently), and Core Storage 
has no proper API [1].  As a third-party developer your only access to Core 
Storage is the `coreStorage` command in `diskutil`.  The `unlockVolume` command 
looks promising but I’ve not tried it myself.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

[1] I suspect, but have no checked, that Disk Utility is using SPI for this.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (Filesystem-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/filesystem-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to