Thanks for your kind words! I am not aware of any such API unfortunately, although FileVault does integrate with the Mac OS X Keychain and Authentication Framework: maybe there is something to investigate there…
Cheers, FJ