Cpp: Add support for all EncryptionFlags