CAF security library